SleelaDoc API
HTML documentation for the SLeeLa standard library (/lib)
Home › Packages › compiler

Package compiler

This package contains 67 source unit(s) defining 67 class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.

advanced-vm-target #sleela 2.5 (lib/compiler/tutorials/examples/advanced-vm-target.sleela)

AdvancedVMTargetExample class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
compileTargetfunction compileTarget()No description in source.

BinaryFormatReference #sleela 2.5 (lib/compiler/BinaryFormatReference.sleela)

BinaryFormatReference class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function identify(); function describe(); function isExecutable();No description in source.

BootstrapCompiler #sleela 2.5 (lib/compiler/examples/Very-Senior/BootstrapCompiler.sleela)

BootstrapCompiler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
diagnosticString diagnosticNo description in source.
sourceRevisionString sourceRevisionNo description in source.
toolchainVersionString toolchainVersionNo description in source.
stage0HashString stage0HashNo description in source.
stage1HashString stage1HashNo description in source.
stage0Passedboolean stage0PassedNo description in source.
stage1Passedboolean stage1PassedNo description in source.
outputsComparedboolean outputsComparedNo description in source.
reproducibleboolean reproducibleNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String revision, String version)No description in source.
recordStage0boolean recordStage0(boolean success, String artifactHash)No description in source.
recordStage1boolean recordStage1(boolean success, String artifactHash)No description in source.
compareNormalizedOutputsboolean compareNormalizedOutputs(boolean equal)No description in source.
statusString status()No description in source.
messageString message()No description in source.

CLanguageCompiler #sleela 2.5 (lib/compiler/frontends/c/CLanguageCompiler.sleela)

CLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the C programming language into SLeeLa IR and onward to a VM-ready artifact. This is an example of the developer pattern for the modular compiler framework: subclass SLLanguageCompiler, declare the language identity, and override the pipeline phases the front end provides. C is a compiled, native language family; this front end carries the full phase set so it can lower to SLeeLa IR and VM operations. Native emission remains gated by the VM/OS and security boundaries — compilation here is not execution. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runLexboolean runLex(SLCompileRequest request)The phase hooks below show where a developer plugs in C-specific behavior. Each still honors the base contract (returns whether the phase is provided) and would, in a full build, drive the C-specific lexer/parser/lowering.
runParseboolean runParse(SLCompileRequest request)No description in source.
runIRboolean runIR(SLCompileRequest request)No description in source.

CompilerPipeline #sleela 2.5 (lib/compiler/examples/Senior/CompilerPipeline.sleela)

CompilerPipeline class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
diagnosticString diagnosticNo description in source.
sourceLoadedboolean sourceLoadedNo description in source.
frontendPassedboolean frontendPassedNo description in source.
semanticPassedboolean semanticPassedNo description in source.
irValidatedboolean irValidatedNo description in source.
artifactWrittenboolean artifactWrittenNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
markSourceLoadedboolean markSourceLoaded(boolean ok, String detail)No description in source.
markFrontendboolean markFrontend(boolean ok, String detail)No description in source.
markSemanticAnalysisboolean markSemanticAnalysis(boolean ok, String detail)No description in source.
markIRValidationboolean markIRValidation(boolean ok, String detail)No description in source.
mayEmitArtifactboolean mayEmitArtifact()No description in source.
markArtifactWrittenboolean markArtifactWritten(boolean ok, String detail)No description in source.
statusString status()No description in source.
messageString message()No description in source.

CppLanguageCompiler #sleela 2.5 (lib/compiler/frontends/cpp/CppLanguageCompiler.sleela)

CppLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the C++ programming language into SLeeLa IR and onward to a VM-ready artifact. Another example of the developer pattern: subclass SLLanguageCompiler and declare C++'s identity and full pipeline. C++ accepts several canonical source extensions, so the extension list carries each one; the native registry resolves any of them to this front end. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runResolveboolean runResolve(SLCompileRequest request)No description in source.
runSemanticboolean runSemantic(SLCompileRequest request)No description in source.

DynamiteConnector #sleela 2.5 (lib/compiler/DynamiteConnector.sleela)

DynamiteConnector class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
referenceNameString referenceNameNo description in source.
importPathString importPathNo description in source.
configurationString configurationNo description in source.
propertiesString propertiesNo description in source.
statusString statusNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize()No description in source.
resolvefunction resolve()No description in source.
deferConstructionfunction deferConstruction()No description in source.
loadfunction load()No description in source.

ExpressionCompiler #sleela 2.5 (lib/compiler/examples/Mid/ExpressionCompiler.sleela)

ExpressionCompiler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
diagnosticString diagnosticNo description in source.
sourceNameString sourceNameNo description in source.
lexedboolean lexedNo description in source.
parsedboolean parsedNo description in source.
validatedboolean validatedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
recordLexingResultboolean recordLexingResult(boolean success, String detail)No description in source.
recordParsingResultboolean recordParsingResult(boolean success, String detail)No description in source.
recordSemanticResultboolean recordSemanticResult(boolean success, String detail)No description in source.
statusString status()No description in source.
messageString message()No description in source.

GoLanguageCompiler #sleela 2.5 (lib/compiler/frontends/go/GoLanguageCompiler.sleela)

GoLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the Go programming language into SLeeLa IR and onward to a VM-ready artifact. Go is a compiled, statically typed language with package-level compilation units. This front end rounds out the example set with a second systems-family language that lowers to the native SLVM target. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runResolveboolean runResolve(SLCompileRequest request)No description in source.

hello-vm #sleela 2.5 (lib/compiler/tutorials/examples/hello-vm.sleela)

HelloVMExample class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainfunction main()No description in source.

HelloCompiler #sleela 2.5 (lib/compiler/examples/Novice/HelloCompiler.sleela)

HelloCompiler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
diagnosticString diagnosticNo description in source.
statementValueString statementValueNo description in source.
validboolean validNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
acceptSayStatementboolean acceptSayStatement(String keyword, String quotedValue, boolean closedQuote)No description in source.
emitNormalizedRecordString emitNormalizedRecord()No description in source.
messageString message()No description in source.

JavaLanguageCompiler #sleela 2.5 (lib/compiler/frontends/java/JavaLanguageCompiler.sleela)

JavaLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the Java programming language into SLeeLa IR and onward to an SLJVM artifact. Java is a JVM-family language. This front end declares the SLJVM target as its default so lowering targets the SLeeLa JVM-family artifact rather than the native SLVM. It demonstrates that the modular framework spans managed and native language families through one common contract. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runParseboolean runParse(SLCompileRequest request)No description in source.

JavaScriptLanguageCompiler #sleela 2.5 (lib/compiler/frontends/javascript/JavaScriptLanguageCompiler.sleela)

JavaScriptLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the JavaScript programming language into SLeeLa IR and onward to a VM-ready artifact. JavaScript accepts several module/source extensions (.js, .mjs, .cjs). This front end lists each so the registry resolves any of them. It is another scripting-family example alongside Python. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runParseboolean runParse(SLCompileRequest request)No description in source.

LanguageReference #sleela 2.5 (lib/compiler/LanguageReference.sleela)

LanguageReference class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function describe(); function mapsTo(String format); function isNative();No description in source.

multi-language-registry #sleela 2.5 (lib/compiler/tutorials/examples/multi-language-registry.sleela)

MultiLanguageRegistryExample class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
mainfunction main()No description in source.

PermissibleConnector #sleela 2.5 (lib/compiler/PermissibleConnector.sleela)

PermissibleConnector class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
sightfunction sight()No description in source.
namefunction name()No description in source.
travelfunction travel()No description in source.
processfunction process()No description in source.
memoryfunction memory()No description in source.
systemfunction system()No description in source.
linearGraphfunction linearGraph()No description in source.
preserveBalancefunction preserveBalance()No description in source.
secureFuturefunction secureFuture()No description in source.

ProgramMapping #sleela 2.5 (lib/compiler/ProgramMapping.sleela)

ProgramMapping class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function describe(); function matches(String languageName); function formats();No description in source.

PythonLanguageCompiler #sleela 2.5 (lib/compiler/frontends/python/PythonLanguageCompiler.sleela)

PythonLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the Python programming language into SLeeLa IR and onward to a VM-ready artifact. Python is a dynamically typed scripting language. This front end carries the full pipeline but its semantic phase does lightweight, dynamic-friendly checking rather than static typing — showing that the common contract adapts to a scripting family without changing the pipeline shape. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runLexboolean runLex(SLCompileRequest request)No description in source.
runSemanticboolean runSemantic(SLCompileRequest request)No description in source.

RustLanguageCompiler #sleela 2.5 (lib/compiler/frontends/rust/RustLanguageCompiler.sleela)

RustLanguageCompiler class extends SLLanguageCompiler

A modular front end that compiles the Rust programming language into SLeeLa IR and onward to a VM-ready artifact. Rust is a compiled, statically typed, ownership-checked language. Its semantic phase carries borrow/lifetime analysis in addition to type checking, illustrating how a front end extends the shared semantic phase with language-specific rules while keeping the common pipeline shape. Family: compiler (front end). Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
runSemanticboolean runSemantic(SLCompileRequest request)No description in source.

SafetyReference #sleela 2.5 (lib/compiler/SafetyReference.sleela)

SafetyReference class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function describe(); function requiresVerification(); function permitsExecution();No description in source.

SLAstBuilder #sleela 2.5 (lib/compiler/SLAstBuilder.sleela)

SLAstBuilder class

Defines the SLeeLa standard-library type SLAstBuilder used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLAstNode #sleela 2.5 (lib/compiler/SLAstNode.sleela)

SLAstNode class

Defines the SLeeLa standard-library type SLAstNode used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLBinder #sleela 2.5 (lib/compiler/SLBinder.sleela)

SLBinder class

Defines the SLeeLa standard-library type SLBinder used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLBuildArtifact #sleela 2.5 (lib/compiler/SLBuildArtifact.sleela)

SLBuildArtifact class

Defines the SLeeLa standard-library type SLBuildArtifact used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLBytecodeEmitter #sleela 2.5 (lib/compiler/SLBytecodeEmitter.sleela)

SLBytecodeEmitter class

Defines the SLeeLa standard-library type SLBytecodeEmitter used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLCaseHandler #sleela 2.5 (lib/compiler/SLCaseHandler.sleela)

SLCaseHandler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLCodeGenerator #sleela 2.5 (lib/compiler/SLCodeGenerator.sleela)

SLCodeGenerator class

Defines the SLeeLa standard-library type SLCodeGenerator used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLCompileChoice #sleela 2.5 (lib/compiler/SLCompileChoice.sleela)

SLCompileChoice class

Defines SLCompileChoice, the compiler's decision about which source form to compile, making .sldocument a selectable compile choice. A developer tells the compiler "compile this as a program" or "compile this as an ordered document". SLCompileChoice records that selection, resolves it from a file name when not stated explicitly, and routes to the right front end: - a .sleela program compiles through the ordinary SLeeLa Compiler path; - a .sldocument compiles through the document-aware path (which still uses the SLeeLa Compiler for the step methods and any companion .sleela source). The choice is explicit and fail-closed: an unknown form is not guessed; it is surfaced as a diagnostic. Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sourceFormSLSourceForm sourceFormNo description in source.
inputPathString inputPathNo description in source.
stateint stateNo description in source.
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
choosevoid choose(String path, int form)Choose explicitly by form.
chooseFromPathvoid chooseFromPath(String path)Choose by inferring the form from the input file's extension.
resolvedboolean resolved()No description in source.
diagnosticsString diagnostics()No description in source.
formint form()No description in source.
compilesAsDocumentboolean compilesAsDocument()No description in source.
compilesAsProgramboolean compilesAsProgram()No description in source.
compileint compile()Compile through the selected front end. Returns a VM frame handle (>= 0) on success, or -1 with a diagnostic. The document path is routed to the document-aware native compile; the program path to the ordinary one.

SLCompilePlan #sleela 2.5 (lib/compiler/SLCompilePlan.sleela)

SLCompilePlan class

Defines SLCompilePlan, the fail-closed plan/result the framework produces for a compile request against a language front end. A plan records which phases the chosen front end covers, which phases the requested target requires, the first missing phase (0 when none), the resolved target, and whether the request can reach a VM-ready artifact. The native planner never guesses: an unresolved or reference-only path is surfaced rather than silently satisfied. Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
coveredPhaseMaskint coveredPhaseMaskphases the front end provides
requiredPhaseMaskint requiredPhaseMaskphases the request needs for its target
firstMissingPhaseint firstMissingPhase0 when none missing
resolvedTargetint resolvedTargetSLLanguageCompiler.TARGET_*
vmReadyboolean vmReadytrue when every required phase is covered
statusint statusnative status: OK / ABSENT / INVALID / BLOCKED
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
buildForvoid buildFor(SLLanguageCompiler frontEnd, SLCompileRequest request)Build the plan by asking the native framework to walk required vs covered phases for the request's resolved target.
isVMReadyboolean isVMReady()No description in source.
missingPhaseint missingPhase()No description in source.
targetint target()No description in source.
coveredint covered()No description in source.
requiredint required()No description in source.
diagnosticsString diagnostics()No description in source.

SLCompiler #sleela 2.5 (lib/compiler/SLCompiler.sleela)

SLCompiler class

Defines the SLeeLa standard-library type SLCompiler used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLCompilerBuildRequest #sleela 2.5 (lib/compiler/SLCompilerBuildRequest.sleela)

SLCompilerBuildRequest class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
inputSourceString inputSourceNo description in source.
outputPathString outputPathNo description in source.
targetString targetNo description in source.
nativeCompilerString nativeCompilerNo description in source.
strictboolean strictNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String sourcePath, String destinationPath, String targetName, String compilerPath)No description in source.
validateString validate()No description in source.
allowNonStrictPlanningvoid allowNonStrictPlanning()No description in source.
sourcePathString sourcePath()No description in source.
outputPathString outputPath()No description in source.
targetNameString targetName()No description in source.
compilerPathString compilerPath()No description in source.
strictModeboolean strictMode()No description in source.

SLCompilerBuildResult #sleela 2.5 (lib/compiler/SLCompilerBuildResult.sleela)

SLCompilerBuildResult class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
succeededboolean succeededNo description in source.
outputFileString outputFileNo description in source.
targetString targetNo description in source.
statusTextString statusTextNo description in source.
diagnosticTextString diagnosticTextNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
failvoid fail(String message)No description in source.
completevoid complete(String path, String targetName)No description in source.
okboolean ok()No description in source.
statusString status()No description in source.
diagnosticsString diagnostics()No description in source.

SLCompilerDeveloperCLI #sleela 2.5 (lib/compiler/SLCompilerDeveloperCLI.sleela)

SLCompilerDeveloperCLI class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
workbenchSLCompilerWorkbench workbenchNo description in source.
lastCommandString lastCommandNo description in source.
lastMessageString lastMessageNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
prepareboolean prepare(String sourcePath, String outputPath, String target, String compilerPath)No description in source.
runBuildSLCompilerBuildResult runBuild()No description in source.
messageString message()No description in source.

SLCompilerDiagnostic #sleela 2.5 (lib/compiler/SLCompilerDiagnostic.sleela)

SLCompilerDiagnostic class

Defines the SLeeLa standard-library type SLCompilerDiagnostic used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLCompileRequest #sleela 2.5 (lib/compiler/SLCompileRequest.sleela)

SLCompileRequest class

Defines SLCompileRequest, a single request to compile one input with a chosen language front end toward a chosen target. A request is pure intent: it names the language, the input path, the desired target, and whether the compile must fail closed when a required phase is absent. It does not open, read, parse, link, load, or execute the input. Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
languageNameString languageNamewhich registered front end to use
inputPathString inputPaththe source path (not opened here)
requestedTargetint requestedTargetone of SLLanguageCompiler.TARGET_*; 0 => front end default
strictboolean stricttrue => any absent required phase fails the request

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String language, String path, int target)No description in source.
beStrictvoid beStrict()No description in source.
languageString language()No description in source.
inputString input()No description in source.
targetint target()No description in source.
isStrictboolean isStrict()No description in source.

SLCompilerNativeBackend #sleela 2.5 (lib/compiler/SLCompilerNativeBackend.sleela)

SLCompilerNativeBackend class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
emitterSLNativeSourceEmitter emitterNo description in source.
toolchainSLCompilerToolchain toolchainNo description in source.
targetString targetNo description in source.
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLCompilerToolchain selectedToolchain)No description in source.
selectTargetboolean selectTarget(String targetName, String specVersion)No description in source.
canBuildNativeboolean canBuildNative()No description in source.
diagnosticsString diagnostics()No description in source.

SLCompilerPipeline #sleela 2.5 (lib/compiler/SLCompilerPipeline.sleela)

SLCompilerPipeline class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
stageslet stagesNo description in source.

SLCompilerRegistry #sleela 2.5 (lib/compiler/SLCompilerRegistry.sleela)

SLCompilerRegistry class

Defines SLCompilerRegistry, the catalog where a developer registers many language front ends and looks them up by name or by source file extension. The registry is what makes the framework modular: each language is an independent SLLanguageCompiler subclass, and the registry holds them side by side with no per-language allow-list baked into the compiler. A developer can register as many implementations as they like; lookup resolves a compile request to exactly one front end, or reports that none claims it. Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
resetvoid reset()Clear the registry back to empty.
addboolean add(SLLanguageCompiler frontEnd)Register (or replace by name) a language front end. Returns true on success.
countint count()How many front ends are registered.
hasboolean has(String languageName)Is a language registered?
resolveByExtensionString resolveByExtension(String fileName)Resolve a compile request to a front-end language name by the input's extension. Returns the matched language name, or the empty string when no registered front end claims the extension (unresolved is surfaced, not guessed).

SLCompilerToolchain #sleela 2.5 (lib/compiler/SLCompilerToolchain.sleela)

SLCompilerToolchain class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
cCompilerString cCompilerNo description in source.
cppCompilerString cppCompilerNo description in source.
cStandardString cStandardNo description in source.
cppStandardString cppStandardNo description in source.
platformString platformNo description in source.
allowNativeBuildboolean allowNativeBuildNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String cPath, String cppPath, String osName)No description in source.
authorizeNativeBuildvoid authorizeNativeBuild()No description in source.
readyForCboolean readyForC()No description in source.
readyForCPPboolean readyForCPP()No description in source.
nativeBuildAllowedboolean nativeBuildAllowed()No description in source.
targetPlatformString targetPlatform()No description in source.
cModeString cMode()No description in source.
cppModeString cppMode()No description in source.

SLCompilerWorkbench #sleela 2.5 (lib/compiler/SLCompilerWorkbench.sleela)

SLCompilerWorkbench class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
registrySLCompilerRegistry registryNo description in source.
pipelineSLCompilerPipeline pipelineNo description in source.
requestSLCompilerBuildRequest requestNo description in source.
resultSLCompilerBuildResult resultNo description in source.
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
configureBuildboolean configureBuild(String sourcePath, String outputPath, String target, String compilerPath)No description in source.
buildSLCompilerBuildResult build()No description in source.
statusString status()No description in source.
diagnosticsString diagnostics()No description in source.

SLConstructorSeries #sleela 2.5 (lib/compiler/SLConstructorSeries.sleela)

SLConstructorSeries class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SleelaCompiler #sleela 2.5 (lib/compiler/SleelaCompiler.sleela)

SleelaCompiler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function load(source); function lex(); function parse(); function resolveSymbols();No description in source.
analyzefunction analyze(); function buildIR(); function lowerVM(); function generate(); function verify();No description in source.
compileBasicCompletefunction compileBasicComplete(); function compileAdvancedTotal(); function emitSLVM(); function emitSLJVM();No description in source.
reportfunction report(); function validate();No description in source.

SleelaCompilerAdvanced #sleela 2.5 (lib/compiler/SleelaCompilerAdvanced.sleela)

SleelaCompilerAdvanced class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function requireTotalPipeline(); function reviewSource(); function reviewFrontend();No description in source.
reviewSymbolsfunction reviewSymbols(); function reviewSemantics(); function reviewIR(); function reviewLowering();No description in source.
reviewVMTargetfunction reviewVMTarget(); function reviewCapabilities(); function reviewSecurity(); function reviewProvenance();No description in source.
reviewCertificatesfunction reviewCertificates(); function reviewCodegen(); function validate(); function report();No description in source.

SleelaCompilerBasic #sleela 2.5 (lib/compiler/SleelaCompilerBasic.sleela)

SleelaCompilerBasic class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function requireCompletePipeline(); function reviewSource(); function reviewFrontend();No description in source.
reviewSemanticsfunction reviewSemantics(); function reviewIR(); function reviewLowering(); function reviewCodegen();No description in source.
validatefunction validate(); function report();No description in source.

SleelaCompilerCodegen #sleela 2.5 (lib/compiler/SleelaCompilerCodegen.sleela)

SleelaCompilerCodegen class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function emitSLVM(); function emitSLJVM(); function emitC(); function emitCPP();No description in source.
emitManifestfunction emitManifest(); function emitSymbols(); function emitDiagnostics(); function validate();No description in source.

SleelaCompilerDiagnostics #sleela 2.5 (lib/compiler/SleelaCompilerDiagnostics.sleela)

SleelaCompilerDiagnostics class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
addErrorfunction addError(code, message); function addWarning(code, message); function addNote(code, message);No description in source.
addDependencyfunction addDependency(module, requirement); function hasErrors(); function emitText(); function emitC();No description in source.
emitCPPfunction emitCPP(); function validate();No description in source.

SleelaCompilerIR #sleela 2.5 (lib/compiler/SleelaCompilerIR.sleela)

SleelaCompilerIR class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function createModule(name); function createValue(type); function createOperation(op);No description in source.
createBlockfunction createBlock(); function createFunction(name); function connectBlocks(); function validate();No description in source.
emitTextfunction emitText(); function emitC(); function emitCPP();No description in source.

SleelaCompilerLexer #sleela 2.5 (lib/compiler/SleelaCompilerLexer.sleela)

SleelaCompilerLexer class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function scan(source); function tokenize(); function emitToken(kind, value);No description in source.
locationfunction location(); function validateTokenStream(); function reset();No description in source.

SleelaCompilerLowering #sleela 2.5 (lib/compiler/SleelaCompilerLowering.sleela)

SleelaCompilerLowering class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(target); function lowerOperation(op); function lowerBlock(block); function lowerFunction(fn);No description in source.
lowerModulefunction lowerModule(module); function resolveCapability(op); function resolveMemory(op);No description in source.
resolveIOfunction resolveIO(op); function resolveResolver(op); function resolveConcurrency(op); function validate();No description in source.

SleelaCompilerParser #sleela 2.5 (lib/compiler/SleelaCompilerParser.sleela)

SleelaCompilerParser class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function parse(); function parseClass(); function parseFunction();No description in source.
parseFieldfunction parseField(); function parseList(); function parseExpression(); function parseStatement();No description in source.
synchronizefunction synchronize(); function validateTree(); function declarationCount();No description in source.

SleelaCompilerSemantics #sleela 2.5 (lib/compiler/SleelaCompilerSemantics.sleela)

SleelaCompilerSemantics class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function analyzeTypes(); function analyzeDeclarations(); function analyzeCapabilities();No description in source.
analyzeDependenciesfunction analyzeDependencies(); function analyzeSecurity(); function analyzeMemory(); function analyzeIO();No description in source.
validatefunction validate(); function isVMReady();No description in source.

SleelaCompilerSource #sleela 2.5 (lib/compiler/SleelaCompilerSource.sleela)

SleelaCompilerSource class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
loadfunction load(path); function preserveIdentity(); function hash(); function discoverDeclarations();No description in source.
discoverModulesfunction discoverModules(); function discoverRequirements(); function validate();No description in source.

SleelaCompilerSymbols #sleela 2.5 (lib/compiler/SleelaCompilerSymbols.sleela)

SleelaCompilerSymbols class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function define(name, kind); function resolve(name); function enterScope();No description in source.
leaveScopefunction leaveScope(); function resolveImports(); function resolveDeclarations(); function detectDuplicates();No description in source.
validatefunction validate();No description in source.

SleelaCompilerVMTarget #sleela 2.5 (lib/compiler/SleelaCompilerVMTarget.sleela)

SleelaCompilerVMTarget class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initializefunction initialize(); function selectSLVM(); function selectSLJVM(); function validateArchitecture();No description in source.
validateSecurityfunction validateSecurity(); function validateMemory(); function validateCapabilities();No description in source.
validateFeaturesfunction validateFeatures(); function isReady(); function emitManifest();No description in source.

SLLanguageCompiler #sleela 2.5 (lib/compiler/SLLanguageCompiler.sleela)

SLLanguageCompiler class

Defines SLLanguageCompiler, the language-neutral base contract a developer extends to build a compiler for any publicly known programming language (C, C++, Java, Python, JavaScript, Rust, Go, ...). This is the heart of the modular compiler framework. A new language front end is created by subclassing SLLanguageCompiler and overriding the pipeline phases it provides. Every front end lowers its own language toward the common SLeeLa IR and, from there, a VM-ready artifact — so the authoritative path stays: <language> source -> front end -> SLeeLa IR -> VM lowering -> SLVM/SLJVM The framework does not create a parallel language and does not grant itself VM, capability, security, resolver, memory, or certificate authority. A produced artifact is only ever executed later, across an explicit SLeeLa VM/OS and security boundary. Compilation is not execution. Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
PHASE_SOURCEstatic final int PHASE_SOURCE = 1--- Canonical pipeline phases, in order. Mirrors sleela_langc.h. --- load/normalize source units
PHASE_LEXstatic final int PHASE_LEX = 2tokenize
PHASE_PARSEstatic final int PHASE_PARSE = 3build the language syntax tree
PHASE_RESOLVEstatic final int PHASE_RESOLVE = 4names, scopes, imports, symbols
PHASE_SEMANTICstatic final int PHASE_SEMANTIC = 5types, capabilities, dependencies
PHASE_IRstatic final int PHASE_IR = 6lower to target-neutral SLeeLa IR
PHASE_LOWERstatic final int PHASE_LOWER = 7lower IR to VM-ready operations
PHASE_CODEGENstatic final int PHASE_CODEGEN = 8emit artifact
TARGET_SLVMstatic final int TARGET_SLVM = 1--- Lowering targets. Mirrors sleela_langc.h. ---
TARGET_SLJVMstatic final int TARGET_SLJVM = 2No description in source.
TARGET_SLIRstatic final int TARGET_SLIR = 3No description in source.
TARGET_NATIVEstatic final int TARGET_NATIVE = 4No description in source.
languageNameString languageNameIdentity a concrete front end declares. e.g. "C", "C++", "Java", "Python"
languageFamilyString languageFamilye.g. "C-family", "JVM", "scripting"
languageVersionString languageVersionthe accepted language version
sourceExtensionsString sourceExtensionscomma list, e.g. ".c" or ".cc,.cpp,.cxx"
defaultTargetint defaultTargetone of TARGET_*
referenceOnlyboolean referenceOnlytrue => identify/plan only, never emit
phaseMaskint phaseMaskWhich phases this front end provides, as a bitmask of (1 << (phase-1)).
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
declarevoid declare(String name, String family, String version, String exts, int target)A subclass calls this from its own configure() to declare identity.
providevoid provide(int phase)Mark a provided phase. A front end calls this once per phase it implements.
providesboolean provides(int phase)No description in source.
runSourceboolean runSource(SLCompileRequest request)--- Pipeline phase hooks. The base implementations are no-ops that report "absent"; a concrete front end overrides the phases it actually provides. Each returns true when the phase completed, false when refused/incomplete.
runLexboolean runLex(SLCompileRequest request)No description in source.
runParseboolean runParse(SLCompileRequest request)No description in source.
runResolveboolean runResolve(SLCompileRequest request)No description in source.
runSemanticboolean runSemantic(SLCompileRequest request)No description in source.
runIRboolean runIR(SLCompileRequest request)No description in source.
runLowerboolean runLower(SLCompileRequest request)No description in source.
runCodegenboolean runCodegen(SLCompileRequest request)No description in source.
registerint register()Register this front end with the native, language-neutral registry so it can be found by name or by source extension alongside every other language.
planCompileSLCompilePlan planCompile(SLCompileRequest request)Produce a compile plan for `request` against this front end. The native framework walks the required phases for the requested target and reports the first missing one (fail-closed; nothing is guessed or silently added).
nameString name()No description in source.
targetint target()No description in source.
isReferenceOnlyboolean isReferenceOnly()No description in source.
diagnosticsString diagnostics()No description in source.

SLLexer #sleela 2.5 (lib/compiler/SLLexer.sleela)

SLLexer class

Defines the SLeeLa standard-library type SLLexer used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLLowerer #sleela 2.5 (lib/compiler/SLLowerer.sleela)

SLLowerer class

Defines the SLeeLa standard-library type SLLowerer used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLNameResolver #sleela 2.5 (lib/compiler/SLNameResolver.sleela)

SLNameResolver class

Defines the SLeeLa standard-library type SLNameResolver used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLNativeCompiler #sleela 2.5 (lib/compiler/SLNativeCompiler.sleela)

SLNativeCompiler class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
namelet nameNo description in source.
versionlet versionNo description in source.
languageSpeclet languageSpecNo description in source.
supportedFormslet supportedFormsNo description in source.
supportsBytecodelet supportsBytecodeNo description in source.
supportsNativeCodelet supportsNativeCodeNo description in source.
experimentallet experimentalNo description in source.

SLNativeSourceEmitter #sleela 2.5 (lib/compiler/SLNativeSourceEmitter.sleela)

SLNativeSourceEmitter class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
targetString targetNo description in source.
languageVersionString languageVersionNo description in source.
strictboolean strictNo description in source.
diagnosticString diagnosticNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String targetName, String specVersion)No description in source.
validateTargetboolean validateTarget()No description in source.
emitVerifiedIRboolean emitVerifiedIR(String irPath, String outputPath)The native bridge consumes verified compiler IR, not unchecked source text.
diagnosticsString diagnostics()No description in source.

SLObjectCreationResolver #sleela 2.5 (lib/compiler/SLObjectCreationResolver.sleela)

SLObjectCreationResolver class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLParser #sleela 2.5 (lib/compiler/SLParser.sleela)

SLParser class

Defines the SLeeLa standard-library type SLParser used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLSourceForm #sleela 2.5 (lib/compiler/SLSourceForm.sleela)

SLSourceForm class

Defines SLSourceForm, the set of SLeeLa source forms the compiler can be asked to compile, so that .sldocument is a first-class compile choice alongside ordinary .sleela. The SLeeLa Compiler accepts more than one source form. This type names each form, its canonical extension, and whether it is ordered top-down. The compiler's selection model (language -> family -> version -> producer -> source form -> IR/object -> target) consults this to pick the right front end. Forms: SLEELA — the general program/source unit (.sleela), class/method shaped. SLDOCUMENT — the ordered, top-down document (.sldocument); annotated method steps run in order, each usually returning one binary value. SLSCRIPT — the dynamic scripting form (.sleela-script). Family: compiler. Native VM/OS work crosses an explicit bridge.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
SLEELAstatic final int SLEELA = 1No description in source.
SLDOCUMENTstatic final int SLDOCUMENT = 2No description in source.
SLSCRIPTstatic final int SLSCRIPT = 3No description in source.
formint formNo description in source.
extensionString extensioncanonical extension, including the dot
orderedboolean orderedtrue when the form runs strictly top-down

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int whichForm)No description in source.
fromExtensionint fromExtension(String fileName)Infer the source form from a file name's extension. Returns 0 (unknown) when the extension is not a recognised SLeeLa source form.
valueint value()No description in source.
extString ext()No description in source.
isOrderedboolean isOrdered()No description in source.
isDocumentboolean isDocument()No description in source.
isProgramboolean isProgram()No description in source.
endsWithboolean endsWith(String s, String suffix)Small helper: does `s` end with `suffix`? (The .sldocument check runs before the .sleela check so the longer extension is matched first.)

SLSourceLocation #sleela 2.5 (lib/compiler/SLSourceLocation.sleela)

SLSourceLocation class

Defines the SLeeLa standard-library type SLSourceLocation used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLToken #sleela 2.5 (lib/compiler/SLToken.sleela)

SLToken class

Defines the SLeeLa standard-library type SLToken used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLTokenStream #sleela 2.5 (lib/compiler/SLTokenStream.sleela)

SLTokenStream class

Defines the SLeeLa standard-library type SLTokenStream used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

SLTypeChecker #sleela 2.5 (lib/compiler/SLTypeChecker.sleela)

SLTypeChecker class

Defines the SLeeLa standard-library type SLTypeChecker used within the compiler library family.

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.