Documentation Hub
Use your Python knowledge to write code on the JVM. KopiLang bridges the gap between Python's lightweight, expressive syntax and Java's rigorous enterprise type system. If you understand loops, variables, and logic in Python, KopiLang lets you write clean code without fighting Java's intense boilerplate setup. The compiler manages the strict Java class layout automatically behind the scenes.
Compiler CLI Reference
The KopiLang compiler features single-file and multi-file processing pipelines depending on your development needs. Execute these commands directly within your terminal:
Command Interface Flags
1. Direct Compilation (Single File Only)
Transpiles a single input script and compiles it natively into an executable Java .class
bytecode asset.
java KopiLang <file.kpi>
2. Source Code Inspection (Single File Only)
Stops processing prior to bytecode generation and outputs only the translation result into an individual
.java source file. This is ideal for analyzing how KopiLang maps clean logic to explicit Java code.
java KopiLang -java <file.kpi>
3. Batch Processing (At Least 2 Files Required)
Concurrently mass-compiles multiple independent source scripts into individual standalone
.java components using a comma-separated parameter sequence.
java KopiLang -mass file1.kpi, file2.kpi, path/to/file3.kpi
Learning Track
Follow the track below to learn the syntax and implicit structural mechanisms of the language:
-
Writing Core Logic
Transition from Python scripts to a line-delimited grammar. Learn variable declarations, loops, and statement layouts without semicolons.
-
Program Structure & Architecture
Move beyond basic scripts. Master streamlined shorthand keywords for organizing components via namespaces, class inheritance, and interface implementations.
-
Implicit Global Imports
Explore the fundamental Java packages pre-loaded directly into your environment scope, providing immediate access to data structures and file utilities.