Module org.kink_lang.kink
Class SlowFunCompiler
java.lang.Object
org.kink_lang.kink.internal.compile.javaclassir.SlowFunCompiler
Compiler of slow funs.
-
Constructor Summary
ConstructorDescriptionSlowFunCompiler
(Vm vm, String programName, String programText) Constructs a compiler. -
Method Summary
Modifier and TypeMethodDescriptioncompile
(SlowFunItree fun) Compiles a slow fun into JavaClassIr.
-
Constructor Details
-
SlowFunCompiler
Constructs a compiler.- Parameters:
vm
- the vm.programName
- the program name.programText
- the program text.
-
-
Method Details
-
compile
Compiles a slow fun into JavaClassIr.- Parameters:
fun
- the fun to compile.- Returns:
- the compiled JavaClassIr.
-