Class LiveBootstrap
java.lang.Object
org.ek9lang.compiler.LiveBootstrap
- All Implemented Interfaces:
Supplier<SharedThreadContext<CompilableProgram>>
public final class LiveBootstrap
extends Object
implements Supplier<SharedThreadContext<CompilableProgram>>
THE live bootstrap: introspects the EK9 built-in types out of
ek9-lang and compiles them into a fresh
CompilableProgram (about 1.5 s on the reference Mac). Used by BootstrapArchiveWriter when the build
writes the bootstrap archive, and by InitialCompilableProgramSupplier only when no archive ships with these
classes. Hold one.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LiveBootstrap
public LiveBootstrap()
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<SharedThreadContext<CompilableProgram>>
-