Uses of Class
org.ek9lang.compiler.CompilableProgram
Packages that use CompilableProgram
Package
Description
B - For the EK9 compiler itself.
Shared compiler access interface for MCP tools, Oracle extractors, AI sessions, and the IDE.
Common parts of processing that can be reused across various phases.
C - For the Suppliers of the 'compilation phases' as mentioned in the
org.ek9lang.compiler package.Intermediate Representation (IR) - The common foundation for code generation.
E - Initial Symbol definition by traversing the 'ANTLR' - 'AST'.
N - Code Generation.
O - Code Optimisation.
P - Packaging.
F - Resolution of Explicitly Defined Type Symbols - at this point phase3 processing should have defined
most of the explicitly defined symbols, so they should be resolvable.
G - Full Symbol Resolution can now take place.
H - Generic/Parameterised types can have their methods checked when used in specific contexts.
I - PRE Intermediate Representation generation checks.
J - Plugin Resolution.
K - Intermediate Representation Generation.
M - Intermediate Representation Analysis and Optimization.
THE automatic source repairs - one engine for every door (
ek9 -ff, ek9_format, the MCP editors,
ek9_write_file, ek9_edit_file, ek9_compile).
This is the main source of EK9 Symbols used within the compiler.
-
Uses of CompilableProgram in org.ek9lang.compiler
Classes in org.ek9lang.compiler that implement interfaces with type arguments of type CompilableProgramModifier and TypeClassDescriptionclassDe-Serializes a byte array back to compilable program.classLoads the language basics into a Compilable Program.final classUses various components to load the Ek9 builtin types into a CompilableProgram.final classTHE live bootstrap: introspects the EK9 built-in types out ofek9-langand compiles them into a freshCompilableProgram(about 1.5 s on the reference Mac).classSerializes a compilable program to a byte array, so it can be saved/reused as required.Fields in org.ek9lang.compiler with type parameters of type CompilableProgramModifier and TypeFieldDescriptionprotected final SharedThreadContext<CompilableProgram> CompilerPhase.compilableProgramAccessMethods in org.ek9lang.compiler that return types with arguments of type CompilableProgramModifier and TypeMethodDescriptionDeSerializer.apply(byte[] bytes) Ek9LanguageBootStrap.get()Provide the access to a compilable program, this is preconfigured with all the ek9 built in symbols, in the appropriate modules.InitialCompilableProgramSupplier.get()LiveBootstrap.get()Methods in org.ek9lang.compiler with parameters of type CompilableProgramModifier and TypeMethodDescriptionprotected final voidCompilerPhase.announceAllModules(CompilableProgram program) THE completion event for every parsed module of the program, in program order.Method parameters in org.ek9lang.compiler with type arguments of type CompilableProgramModifier and TypeMethodDescriptionbyte[]Serializer.apply(SharedThreadContext<CompilableProgram> program) Constructor parameters in org.ek9lang.compiler with type arguments of type CompilableProgramModifierConstructorDescriptionprotectedCompilerPhase(CompilationPhase phase, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) ParsedModule(CompilableSource source, SharedThreadContext<CompilableProgram> compilableProgram) We may hold Nodes in here - but not sure yet. -
Uses of CompilableProgram in org.ek9lang.compiler.access
Methods in org.ek9lang.compiler.access that return types with arguments of type CompilableProgramModifier and TypeMethodDescriptionCompilerAccess.getLastCompiledProgram()Get the compiled program from the most recent compilation. -
Uses of CompilableProgram in org.ek9lang.compiler.common
Classes in org.ek9lang.compiler.common that implement interfaces with type arguments of type CompilableProgramModifier and TypeClassDescriptionfinal classReviews all the modules and looks for all the 'Programs' that have been defined anywhere.Method parameters in org.ek9lang.compiler.common with type arguments of type CompilableProgramModifier and TypeMethodDescriptionAllProgramsSupplier.apply(SharedThreadContext<CompilableProgram> compilableProgramSharedThreadContext) -
Uses of CompilableProgram in org.ek9lang.compiler.config
Fields in org.ek9lang.compiler.config with type parameters of type CompilableProgramModifier and TypeFieldDescriptionprotected final SharedThreadContext<CompilableProgram> PhaseSupplier.compilableProgramAccessMethods in org.ek9lang.compiler.config that return types with arguments of type CompilableProgramConstructor parameters in org.ek9lang.compiler.config with type arguments of type CompilableProgramModifierConstructorDescriptionBackEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter) Create a new supplier of back-end compiler phases.BackEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier) Create a new supplier with a custom directive listener supplier.BackEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink - seeConstructOutputSink.FrontEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, boolean notBootStrapping) Create a new supplier of front end only compiler phases.FrontEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, boolean notBootStrapping, DirectiveListenerSupplier directiveListenerSupplier) Create a new supplier with a custom directive listener supplier.FullPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter) Create a new supplier of a full set of compiler phases.FullPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier) Create a new supplier with a custom directive listener supplier.FullPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink.MiddleEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter) Create a new supplier of a middle-end set of compiler phases.MiddleEndSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier) Create a new supplier with a custom directive listener supplier.protectedPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter) Create a new supplier of a full set of compiler phases.protectedPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier) Create a new supplier of a full set of compiler phases with a custom directive listener supplier.protectedPhaseSupplier(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilationPhaseListener listener, CompilerReporter reporter, DirectiveListenerSupplier directiveListenerSupplier, ConstructOutputSink outputSink) As above, but with an explicit output sink. -
Uses of CompilableProgram in org.ek9lang.compiler.ir
Classes in org.ek9lang.compiler.ir that implement interfaces with type arguments of type CompilableProgramModifier and TypeClassDescriptionfinal classTHE single-source-of-truth for registering per-module coverage AND profiling metadata into the runtime singletonsparent-side— i.e.Methods in org.ek9lang.compiler.ir with parameters of type CompilableProgramModifier and TypeMethodDescriptionvoidInstrumentationMetadataRegistrar.accept(CompilableProgram program) Register coverage + profiling metadata for every production (non-dev, non-lib) module's IR. -
Uses of CompilableProgram in org.ek9lang.compiler.phase1
Constructors in org.ek9lang.compiler.phase1 with parameters of type CompilableProgramModifierConstructorDescription(package private)ReferencesPhase1Listener(CompilableProgram compilableProgram, ParsedModule parsedModule, ReferencesPhase1Listener.Pass pass) Next phase after symbol definition, now check for explicit references.Constructor parameters in org.ek9lang.compiler.phase1 with type arguments of type CompilableProgramModifierConstructorDescriptionModuleDuplicateSymbolChecks(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new duplicate checker for modules contained in the compilable program.ReferenceChecks(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new reference checker for modules contained in the compilable program.SymbolDefinition(boolean notBootStrapping, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a symbol definition instance, stating whether this is a normal compilation or the language bootstrap.SymbolDefinition(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new phase 1 symbol definition instance for normal (non-bootstrap) compilation. -
Uses of CompilableProgram in org.ek9lang.compiler.phase10
Constructor parameters in org.ek9lang.compiler.phase10 with type arguments of type CompilableProgramModifierConstructorDescriptionCodeGenerationAggregates(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationApplications(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationConstants(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, ConstructOutputSink outputSink, Consumer<CompilationEvent> listener, CompilerReporter reporter) CodeGenerationPreparation(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.phase11
Constructor parameters in org.ek9lang.compiler.phase11 with type arguments of type CompilableProgramModifierConstructorDescriptionCodeOptimisation(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.phase12
Constructor parameters in org.ek9lang.compiler.phase12 with type arguments of type CompilableProgramModifierConstructorDescriptionPackaging(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, Consumer<CompilationEvent> listener, CompilerReporter reporter) PackagingPostProcessing(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) PluginLinkage(SharedThreadContext<CompilableProgram> compilableProgramAccess, FileHandling fileHandling, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.phase2
Constructor parameters in org.ek9lang.compiler.phase2 with type arguments of type CompilableProgramModifierConstructorDescriptionNonInferredTypeDefinition(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new phase 1 second pass template type symbol resolution definition instance.TypeHierarchyChecks(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create a new instance for checking of type hierarchies. -
Uses of CompilableProgram in org.ek9lang.compiler.phase3
Constructor parameters in org.ek9lang.compiler.phase3 with type arguments of type CompilableProgramModifierConstructorDescriptionSymbolResolution(boolean multiThread, SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to finally resolve all symbols, even inferred ones. -
Uses of CompilableProgram in org.ek9lang.compiler.phase4
Constructor parameters in org.ek9lang.compiler.phase4 with type arguments of type CompilableProgramModifierConstructorDescriptionPostSymbolResolutionChecks(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to check everything is logical and cohesive. -
Uses of CompilableProgram in org.ek9lang.compiler.phase5
Classes in org.ek9lang.compiler.phase5 that implement interfaces with type arguments of type CompilableProgramModifier and TypeClassDescription(package private) final classEvery forwarder the compiler made for a delegated trait in the program (with trait of Keeper by impl): the methods no source walk reaches, so the RETAINS derivation is handed them beside the body-less dynamic functions and gives each the rules of the member it calls (support/retention/MarkDelegatedRules; the derivation audit's M5, 2026-11-15).(package private) final classWidens a GENERIC construct's input-variety denominator to span the types it is actually parameterised with (design D11/W5b).Methods in org.ek9lang.compiler.phase5 with parameters of type CompilableProgramModifier and TypeMethodDescriptionvoidGenericInputVarietyWidener.accept(CompilableProgram program) DelegationForwarders.apply(CompilableProgram program) Constructor parameters in org.ek9lang.compiler.phase5 with type arguments of type CompilableProgramModifierConstructorDescriptionConcreteSubtypeFinder(SharedThreadContext<CompilableProgram> compilableProgramAccess) (package private)DiAnalysisReporter(SharedThreadContext<CompilableProgram> compilableProgramAccess, CallGraph callGraph, int errorLevel, String messagePackPath) PreIntermediateRepresentationChecks(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.phase5.construction
Constructors in org.ek9lang.compiler.phase5.construction with parameters of type CompilableProgramModifierConstructorDescriptionParameterisations(CompilableProgram program) Sweep the program's module scopes. -
Uses of CompilableProgram in org.ek9lang.compiler.phase6
Constructor parameters in org.ek9lang.compiler.phase6 with type arguments of type CompilableProgramModifierConstructorDescriptionPluginResolution(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create new instance to resolve plugins for extern packages. -
Uses of CompilableProgram in org.ek9lang.compiler.phase7
Method parameters in org.ek9lang.compiler.phase7 with type arguments of type CompilableProgramModifier and TypeMethodDescription(package private) voidDispatchTablePass.generate(Map<MethodSymbol, OperationInstr> operationsMap, AggregateSymbol aggregateSymbol, SharedThreadContext<CompilableProgram> compilableProgramAccess) OnDemandIRGenerator.generate(CompilableSource source, SharedThreadContext<CompilableProgram> program) Generate IR for a single source file using the given compiled program state.OnDemandIRGenerator.generate(CompilableSource source, SharedThreadContext<CompilableProgram> program, List<AggregateSymbol> allPrograms) Generate IR for a single source file with pre-collected program list.Constructor parameters in org.ek9lang.compiler.phase7 with type arguments of type CompilableProgramModifierConstructorDescription(package private)DispatchTableGenerator(SharedThreadContext<CompilableProgram> compilableProgramAccess) (package private)IRDfnGenerator(SharedThreadContext<CompilableProgram> compilableProgramAccess, CompilableSource source, IRModule irModule, CompilerFlags compilerFlags) IRGenerator(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.phase7.generation
Methods in org.ek9lang.compiler.phase7.generation that return types with arguments of type CompilableProgramModifier and TypeMethodDescriptionIRContext.getCompilableProgramAccess()Get compilable program access for cross-module operations (e.g., dispatch table generation).Constructor parameters in org.ek9lang.compiler.phase7.generation with type arguments of type CompilableProgramModifierConstructorDescriptionIRContext(ParsedModule parsedModule, IRModule irModule, CompilerFlags compilerFlags, SharedThreadContext<CompilableProgram> compilableProgramAccess) Create new IR generation context with compilable program access for cross-module operations. -
Uses of CompilableProgram in org.ek9lang.compiler.phase9
Classes in org.ek9lang.compiler.phase9 that implement interfaces with type arguments of type CompilableProgramModifier and TypeClassDescriptionfinal classTHE stamping of the per-value escape record (E1.1, 2026-11-12; EK9_IR_ESCAPE_LIFETIME_AND_SHARING_FACTS.md §2, the escape half):OperationEscapesover every operation of every construct, in module order, each value'sEscapeMetaDataDetailsset on the instruction that defines it.(package private) final classTHECalleeOfCallof a whole program: over every aggregate and function the program knows by fully qualified name - core ones included - and every construct in its IR (a parameterisation such as_List_<digest>is found there, not by a search for its name), then a fully qualified search.final classTHEConfinedSitesof a whole program (N-V V1; mirror ofProgramPublishedValues): the emission filter's type facts by fully qualified name and the program's fuse.final classTHEPublishedValuesof a whole program (S2b): the registered-type fact by name - every aggregate the program knows, core ones included (aList of Stringa registered component holds is registered; one nothing published reaches is not), and every construct in its IR, read throughIsRegisteredType- failing closed for a name it does not know; and THE program's callee resolution (ProgramCalleeOfCall).Methods in org.ek9lang.compiler.phase9 with parameters of type CompilableProgramModifier and TypeMethodDescriptionvoidEscapeFacts.accept(CompilableProgram program, Collection<IRConstruct> constructs) ProgramCalleeOfCall.apply(CompilableProgram program, Collection<IRConstruct> constructs) ProgramConfinedSites.apply(CompilableProgram program, Collection<IRConstruct> constructs) ProgramPublishedValues.apply(CompilableProgram program, Collection<IRConstruct> constructs) Constructor parameters in org.ek9lang.compiler.phase9 with type arguments of type CompilableProgramModifierConstructorDescriptionIRAnalysis(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) IROptimisation(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) -
Uses of CompilableProgram in org.ek9lang.compiler.repair
Methods in org.ek9lang.compiler.repair with parameters of type CompilableProgramModifier and TypeMethodDescriptionStringConcatRewriter.rewrite(CompilableProgram program, Workspace workspace, String filePath, String sourceText, int startLine, int startCol, int endLine, int endCol) Rewrite the string-concat expression covered by the selection range. -
Uses of CompilableProgram in org.ek9lang.compiler.symbolic
Constructor parameters in org.ek9lang.compiler.symbolic with type arguments of type CompilableProgramModifierConstructorDescriptionSymbolicAnalysis(SharedThreadContext<CompilableProgram> compilableProgramAccess, Consumer<CompilationEvent> listener, CompilerReporter reporter) Create the symbolic-analysis phase. -
Uses of CompilableProgram in org.ek9lang.compiler.symbols
Methods in org.ek9lang.compiler.symbols with parameters of type CompilableProgramModifier and TypeMethodDescriptionvoidModuleScope.useDirectProgramAccess(CompilableProgram program) Hold the program for direct read-only access.Method parameters in org.ek9lang.compiler.symbols with type arguments of type CompilableProgramModifier and TypeMethodDescriptionModuleScope.clone(SharedThreadContext<CompilableProgram> newContext) Create a clone of this ModuleScope.Constructor parameters in org.ek9lang.compiler.symbols with type arguments of type CompilableProgramModifierConstructorDescriptionModuleScope(String scopeName, SharedThreadContext<CompilableProgram> program) Create a new ModuleScope with a specific name and reference to the compilable program it is part of.