Module org.kink_lang.kink
Class TopLevelCompiler
java.lang.Object
org.kink_lang.kink.internal.compile.javaclassir.TopLevelCompiler
Compiles top level funs.
-
Constructor Summary
ConstructorDescriptionTopLevelCompiler
(Vm vm, String programName, String programText) Constructs a compiler. -
Method Summary
-
Constructor Details
-
TopLevelCompiler
Constructs a compiler.- Parameters:
vm
- the vm.programName
- the name of the program.programText
- the text of the program.
-
-
Method Details
-
compile
Compiles a top level fun.- Parameters:
topLevel
- the itree of the top level of the program.- Returns:
- the compile jcir.
-