Package org.ek9lang.compiler
Class Ek9LanguageBootStrap
java.lang.Object
org.ek9lang.compiler.Ek9LanguageBootStrap
- All Implemented Interfaces:
Supplier<SharedThreadContext<CompilableProgram>>
public class Ek9LanguageBootStrap
extends Object
implements Supplier<SharedThreadContext<CompilableProgram>>
Loads the language basics into a Compilable Program.
Then this can be used by the compiler to actually compile and manage developers
source and parsed modules.
-
Constructor Summary
ConstructorDescriptionEk9LanguageBootStrap
(Supplier<List<CompilableSource>> sourceSupplier, CompilationPhaseListener listener, CompilerReporter reporter) Create a language bootstrap with a set of ek9 language files. -
Method Summary
Modifier and TypeMethodDescriptionget()
Provide the access to a compilable program, this is preconfigured with all the ek9 built in symbols, in the appropriate modules.
-
Constructor Details
-
Ek9LanguageBootStrap
public Ek9LanguageBootStrap(Supplier<List<CompilableSource>> sourceSupplier, CompilationPhaseListener listener, CompilerReporter reporter) Create a language bootstrap with a set of ek9 language files.
-
-
Method Details
-
get
Provide the access to a compilable program, this is preconfigured with all the ek9 built in symbols, in the appropriate modules.- Specified by:
get
in interfaceSupplier<SharedThreadContext<CompilableProgram>>
-