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

Package vm

This package contains 125 source unit(s) defining 336 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.

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

BasicVMTutorialExample 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
sourceSleelaVMSource sourceNo description in source.
outputSleelaVMOutput outputNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurefunction configure()No description in source.
describefunction describe()No description in source.

SecondaryVMRuntimeExample class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
vmSLVM vmNo description in source.
resultint resultNo description in source.

Methods — the actions this unit can perform.

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

creator-full-stack #sleela 2.5 (lib/vm/creator/examples/creator-full-stack.sleela)

CreatorFullStackExample 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
cResultint cResultNo description in source.
javaResultint javaResultNo description in source.

Methods — the actions this unit can perform.

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

GarbageCollector #sleela 2.5 (lib/vm/GarbageCollector.sleela)

GarbageCollector 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
algorithmString algorithmNo description in source.
phaseint phaseNo description in source.
youngThresholdint youngThresholdNo description in source.
heapThresholdint heapThresholdNo description in source.
targetStepWorkint targetStepWorkNo description in source.
liveObjectsint liveObjectsNo description in source.
bytesint bytesNo description in source.
collectionsint collectionsNo description in source.
youngCollectionsint youngCollectionsNo description in source.
promotedint promotedNo description in source.
reclaimedint reclaimedNo description in source.

GCBarrier #sleela 2.5 (lib/vm/GCBarrier.sleela)

GCBarrier 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
kindString kindNo description in source.
phaseString phaseNo description in source.
ownerint ownerNo description in source.
previousint previousNo description in source.
nextint nextNo description in source.

GCObject #sleela 2.5 (lib/vm/GCObject.sleela)

GCObject 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
identityString identityNo description in source.
generationint generationNo description in source.
ageint ageNo description in source.
qualityint qualityNo description in source.
markedint markedNo description in source.
rememberedint rememberedNo description in source.
bytesint bytesNo description in source.

GCPermutation #sleela 2.5 (lib/vm/GCPermutation.sleela)

GCPermutation 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
generationPolicyString generationPolicyNo description in source.
markingPolicyString markingPolicyNo description in source.
barrierPolicyString barrierPolicyNo description in source.
rootPolicyString rootPolicyNo description in source.
resourcePolicyString resourcePolicyNo description in source.
relocationPolicyString relocationPolicyNo description in source.

GCQuality #sleela 2.5 (lib/vm/GCQuality.sleela)

GCQuality 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
nameString nameNo description in source.
pauseBudgetint pauseBudgetNo description in source.
throughputWeightint throughputWeightNo description in source.
latencyWeightint latencyWeightNo description in source.
memoryWeightint memoryWeightNo description in source.
incrementalint incrementalNo description in source.
generationalint generationalNo description in source.
stableHandlesint stableHandlesNo description in source.

GCRoot #sleela 2.5 (lib/vm/GCRoot.sleela)

GCRoot 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
ownerString ownerNo description in source.
scopeString scopeNo description in source.
handleint handleNo description in source.
activeint activeNo description in source.

InstructionSet #sleela 2.5 (lib/vm/InstructionSet.sleela)

SLISANop 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.

SLISAConst class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAPop class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISADup class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISALoadG class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAStoreG class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISALoadL class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAStoreL class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAdd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASub class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMul class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISADiv class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMod class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANeg class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAEq class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANe class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISALt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISALe class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAGt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAGe class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAnd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOr class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANot class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJmp class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJmpF class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISACall class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISARet class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAPrint class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASpawn class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJoinAll class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISALock class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAUnlock class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASend class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISARecv class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAListen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAccept class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAConnect class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASockRead class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASockWrite class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASockClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAPipe class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAPipePeer class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAFifoMk class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAFileOpen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAFileRead class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAFileWrite class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAFileClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAHalt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeUtcMs class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeUtcNs class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeMonoNs class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimePrecisionMs class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeLocation class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeHttpDate class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeJson class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeNtp class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATimeSetLocation class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANewStruct class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAGetField class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASetField class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAStructPack class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAStructUnpack class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASynOpen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASynDispatch class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASynStat class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASynReport class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASynClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunStart class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunConnect class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunEnable class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunSend class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunThatch class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunConsume class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunLatch class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunReception class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAMunClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestNew class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestWeight class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestMinver class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestBudget class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestCand class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestRecord class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestScore class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestBest class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestStat class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestChoice class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestReport class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestArch class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestArchState class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABestClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioNew class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioAdd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioControls class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioValidate class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioRender class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAAudioPlatform class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANewArray class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAArrGet class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAArrSet class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAArrLen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAArrPush class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsPlatform class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsCapability class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsGetEnv class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsSetEnv class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsCwd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsChdir class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsHostName class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsUserName class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsTempDir class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsPid class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsExists class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsIsDir class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsFileSize class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsMkdir class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsRemove class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsRename class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsRun class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsSpawn class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsWait class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsKill class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOsPClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAGcHint class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISARanMem class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcCreate class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcDestroy class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcCols class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcRows class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcCount class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcSetParams class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcExcite class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcStep class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcAdvance class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcTimestep class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcIntensity class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcHasRend class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcOpenWin class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcShouldClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcPresent class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcRun class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcSetPolicy class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcPolicy class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcBackend class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcGpuAvail class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcMeasHz class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIcMigrate class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAVmSelect class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAModiumScan class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAUiCall class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASSend class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISACheckCast class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAInstanceOf class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISADup2 class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAOslsCall class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigMul class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISASleep class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigAdd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigDivMod class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigSub class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigDiv class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISABigISqrt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANativeCall class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANativeOpen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISANativeClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringLength class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringCharAt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringCodePointAt class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringCodePointCount class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringOffsetByCodePoints class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringSubstring class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringConcat class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringHashCode class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringCompareTo class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringFromUtf8 class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATryPush class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISATryPop class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAThrow class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIPcOpen class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIPcCall class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAIPcClose class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISARef class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringToUtf8 class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAJavaStringFromCodeUnit class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitAnd class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitOr class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitXor class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitShiftLeft class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitShiftRight class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitUnsignedShiftRight class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISBitNot class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISCharToString class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISAddChar class

No public fields or methods detected (the unit may be a facade or a pure contract).

SLISNewArrayND class

No public fields or methods detected (the unit may be a facade or a pure contract).

mid-vm-config #sleela 2.5 (lib/vm/examples/02-mid/mid-vm-config.sleela)

MemoryOptions 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
configurevoid configure(int h, int s, boolean m)No description in source.
validboolean valid()No description in source.
summaryString summary()No description in source.

CpuOptions class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int c, int mhz)No description in source.
validboolean valid()No description in source.
summaryString summary()No description in source.

ExecutionOptions class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
modeString mode"interpret" / "jit"
threadsboolean threadsNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String m, boolean t)No description in source.
validboolean valid()No description in source.
summaryString summary()No description in source.

FeatureBits class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
bitsint bitsNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
enableGcvoid enableGc()bit 0
enableProcessvoid enableProcess()bit 1
enableNativevoid enableNative()bit 2
gcboolean gc()No description in source.
valueint value()No description in source.

BuildPlan class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
renderString render(MemoryOptions mem, CpuOptions cpu, ExecutionOptions exe, int features)Takes the validated option objects (as parameters -- method calls resolve on parameters) and renders a plan.

MidVMConfig class

Methods — the actions this unit can perform.

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

native-ram-vm #sleela 2.5 (lib/vm/creator/examples/native-ram-vm.sleela)

NativeRamVMExample 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
resultint resultNo description in source.

Methods — the actions this unit can perform.

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

novice-vm #sleela 2.5 (lib/vm/examples/01-novice/novice-vm.sleela)

Vm 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
nameString nameNo description in source.
stateint state0 stopped, 1 running
modulesint modulesNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n)No description in source.
startvoid start()No description in source.
stopvoid stop()No description in source.
activeboolean active()No description in source.
loadModulevoid loadModule()"register" a module
moduleCountint moduleCount()No description in source.

NoviceVM class

Methods — the actions this unit can perform.

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

senior-vm-managers #sleela 2.5 (lib/vm/examples/03-senior/senior-vm-managers.sleela)

ManagedHeap 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
configurevoid configure(int limit)No description in source.
allocint alloc(int kb)Returns 1 on success, 0 if the allocation would exceed the limit.
freevoid free(int kb)No description in source.
liveint live()No description in source.
summaryString summary()No description in source.

MemoryManager class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootvoid boot(int limitKb)No description in source.
upboolean up()No description in source.
managedHeapManagedHeap managedHeap()No description in source.

SecurityManager class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootvoid boot(String t, String p)No description in source.
upboolean up()No description in source.
admitboolean admit(boolean trusted)A load is admitted when the policy is permissive, or enforce + trusted.
summaryString summary()No description in source.

LinkingManager class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bootvoid boot()No description in source.
upboolean up()No description in source.
resolvevoid resolve(int symbols, int missing)No description in source.
linkedboolean linked()No description in source.
summaryString summary()No description in source.

Collector class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
cyclesint cyclesNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
collectvoid collect(ManagedHeap heap, int kb)Reclaim `kb` of dead objects from the heap, counting the cycle.
ranint ran()No description in source.

SeniorVMManagers class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

SleelaSLJVM #sleela 2.5 (lib/vm/SleelaSLJVM.sleela)

SleelaSLJVM 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(); function run(); function stop(); function inspect(); function broker();No description in source.

SleelaSLVM #sleela 2.5 (lib/vm/SleelaSLVM.sleela)

SleelaSLVM 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(); function run(); function stop(); function inspect();No description in source.

SleelaVMArchitecture #sleela 2.5 (lib/vm/SleelaVMArchitecture.sleela)

SleelaVMArchitecture 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
detectfunction detect(); function validate(); function physicalLimits(); function compatibleWith(module);No description in source.

SleelaVMBuildOptions #sleela 2.5 (lib/vm/SleelaVMBuildOptions.sleela)

SleelaVMBuildOptions 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 configureCompiler(); function configureLinker(); function configureArtifacts(); function configureReproducibility(); function verify();No description in source.

SleelaVMBuildPlan #sleela 2.5 (lib/vm/SleelaVMBuildPlan.sleela)

SleelaVMBuildPlan 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
configurefunction configure(); function applyOptions(); function addModule(module); function addCapability(capability);No description in source.
emitCfunction emitC(); function emitCPP(); function link(); function package(); function verify();No description in source.

SleelaVMChallengeManager #sleela 2.5 (lib/vm/SleelaVMChallengeManager.sleela)

SleelaVMChallengeManager 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 defineCondition(condition); function installLocalChallenge(challenge); function installRemoteChallenge(target, challenge);No description in source.
observeResultfunction observeResult(result); function fireConditionObserved(event); function registerListener(listener); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMChallengeManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMChallengeManagerAdvanced.sleela)

SleelaVMChallengeManagerAdvanced 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 installLocalChallenge(challenge); function installRemoteChallenge(target, challenge); function observeResult(result); function fireConditionObserved(event);No description in source.
registerListenerfunction registerListener(listener); function audit(event); function attest(); function rollbackChallenge(challenge); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMChallengeManagerBasic #sleela 2.5 (lib/vm/SleelaVMChallengeManagerBasic.sleela)

SleelaVMChallengeManagerBasic 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 installLocalChallenge(challenge); function observeResult(result); function fireConditionObserved(event); function registerListener(listener);No description in source.
validatefunction validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMChallengeManagerModerate #sleela 2.5 (lib/vm/SleelaVMChallengeManagerModerate.sleela)

SleelaVMChallengeManagerModerate 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 installLocalChallenge(challenge); function installRemoteChallenge(target, challenge); function observeResult(result); function fireConditionObserved(event);No description in source.
registerListenerfunction registerListener(listener); function audit(event); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMCompiler #sleela 2.5 (lib/vm/SleelaVMCompiler.sleela)

SleelaVMCompiler 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
compilerSleelaCompiler compilerNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
loadfunction load(source); function resolveCompiler(); function analyze(); function resolveArchitecture(); function resolvePhysicalLimits();No description in source.
resolveOptionsfunction resolveOptions(); function resolveExecution(); function resolveMemory(); function resolveCPU();No description in source.
resolveConcurrencyfunction resolveConcurrency(); function resolveIO(); function resolveSecurity(); function resolveRuntime(); function resolveLinking();No description in source.
resolveJVMfunction resolveJVM(); function resolveBuild(); function resolveMemoryManagement(); function resolveSecurityManagement(); function resolveCompilerManager(); function resolveChallenge(); function resolveReports();No description in source.
resolveCapabilitiesfunction resolveCapabilities(); function createModules(); function generateC(); function generateCPP();No description in source.
generateSLVMfunction generateSLVM(); function generateSLJVM(); function verify();No description in source.

SleelaVMCompilerManager #sleela 2.5 (lib/vm/SleelaVMCompilerManager.sleela)

SleelaVMCompilerManager 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 loadDeclaration(declaration); function loadSSTSource(source); function loadNordshriftSource(source); function discoverDynamite(source); function resolveDynamite(); function admitDynamiteLoad();No description in source.
resolveSSTLibraryfunction resolveSSTLibrary(); function resolveNordshriftLibrary(); function prepareNordshriftCompile();No description in source.
countObjectsfunction countObjects(); function categorizeObjects(); function reviewRequired(); function reviewDependencies(); function reviewMissing(); function reviewExcess(); function emitCompileReport(); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMCompilerManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMCompilerManagerAdvanced.sleela)

SleelaVMCompilerManagerAdvanced 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 requireTotalVM(); function reviewObjectCount(); function reviewCategories(); function reviewRequiredParts(); function reviewDependencies(); function reviewCapabilities(); function reviewCertificates(); function reviewAttestation(); function reviewProvenance(); function reportFine(); function reportMissing(); function reportExcess(); function reportDependencyChain(); function validate();No description in source.

SleelaVMCompilerManagerBasic #sleela 2.5 (lib/vm/SleelaVMCompilerManagerBasic.sleela)

SleelaVMCompilerManagerBasic 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 requireCompleteVM(); function reviewObjectCount(); function reviewCategories(); function reviewRequiredParts(); function reviewDependencies(); function reportFine(); function reportMissing(); function reportExcess(); function validate();No description in source.

SleelaVMCompilerManagerReport #sleela 2.5 (lib/vm/SleelaVMCompilerManagerReport.sleela)

SleelaVMCompilerManagerReport 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 addFine(object); function addMissing(object); function addExcess(object); function addDependency(object, requirement); function emitText(); function emitC(); function emitCPP();No description in source.

SleelaVMConcurrencyOptions #sleela 2.5 (lib/vm/SleelaVMConcurrencyOptions.sleela)

SleelaVMConcurrencyOptions 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 configureThreads(); function configureScheduler(); function configureAsync(); function fit(threadLimit);No description in source.

SleelaVMCore #sleela 2.5 (lib/vm/creator/SleelaVMCore.sleela)

SleelaVMCore 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
formalNameString formalName = "Core"; String path = "/impl"; Integer generation = 0No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
standardizefunction standardize(SleelaVMSource source);No description in source.
validateArchitecturefunction validateArchitecture(SleelaVMArchitecture architecture);No description in source.
validateModulesfunction validateModules(List modules);No description in source.
validateCapabilitiesfunction validateCapabilities(List capabilities);No description in source.
bindNativeCfunction bindNativeC(); function bindNativeCPP();No description in source.
compileSourcefunction compileSource(SleelaVMSource source); function emitVMArtifact(SleelaVMBuildPlan plan);No description in source.
reportReadinessfunction reportReadiness(); function isAuthoritative();No description in source.

SleelaVMCpuOptions #sleela 2.5 (lib/vm/SleelaVMCpuOptions.sleela)

SleelaVMCpuOptions 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
detectfunction detect(); function validate(); function selectInstructionSet(); function selectCallingConvention(); function fit(features);No description in source.

SleelaVMCreator #sleela 2.5 (lib/vm/creator/SleelaVMCreator.sleela)

SleelaVMCreator class

Defines SleelaVMCreator, the entry point of the VM Creator Edition.

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
catalogSleelaVMGenerationCatalog catalogNo description in source.
generationint generationselected SLVM generation (0 = /impl Core .. 11 Sovereign)
formalNameString formalNamecatalog name for the generation
vmSLVM vmthe live Secondary VM this creator built
heapWordsint heapWordsNo description in source.
memoryWordsint memoryWordsNo description in source.
dmaOptionint dmaOption1 => grant direct DMA to the built VM/CPU/program
gpuOptionint gpuOption1 => grant native GPU access
nativeRamOptionint nativeRamOption1 => build the VM to run on real host RAM
vmreturn vmNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
sizeVMvoid sizeVM(int heap, int memory)Size the VM the creator will build (optional; sensible defaults otherwise).
selectGenerationboolean selectGeneration(int version)Select a generation by version; validated against the catalog.
createSLVM create()Build and boot a LIVE Secondary Sleela VM for the selected generation. This is the step the Creator README called "VM artifact" — here it is an actual runnable SLVM instance, not just a packaged build plan.

SleelaVMDynamicMemoryGuard #sleela 2.5 (lib/vm/SleelaVMDynamicMemoryGuard.sleela)

SleelaVMDynamicMemoryGuard 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
modeVMDynamicMemoryGuardMode modeNo description in source.
initialLimitInteger initialLimitNo description in source.
hardLimitInteger hardLimitNo description in source.
softLimitInteger softLimitNo description in source.
maximumLimitInteger maximumLimitNo description in source.
growthStepInteger growthStepNo description in source.
growthDelayInteger growthDelayNo description in source.
gcPressurePercentInteger gcPressurePercentNo description in source.
developerConfiguredBoolean developerConfiguredNo description in source.
allowGrowthBoolean allowGrowthNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate();No description in source.
requestfunction request(requiredBytes);No description in source.
calculateNextLimitfunction calculateNextLimit(requiredBytes);No description in source.
canGrowfunction canGrow(requiredBytes);No description in source.
deferGrowthfunction deferGrowth(requiredBytes);No description in source.
observeUsagefunction observeUsage(currentBytes, peakBytes);No description in source.
resetfunction reset();No description in source.

SleelaVMDynamiteLoader #sleela 2.5 (lib/vm/SleelaVMDynamiteLoader.sleela)

SleelaVMDynamiteLoader 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.
sourcePathString sourcePathNo description in source.
configurationString configurationNo description in source.
propertiesSourceString propertiesSourceNo 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.
constructfunction construct()No description in source.
loadfunction load()No description in source.
executefunction execute()No description in source.
unloadfunction unload()No description in source.

SleelaVMExecutionOptions #sleela 2.5 (lib/vm/SleelaVMExecutionOptions.sleela)

SleelaVMExecutionOptions 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 estimateInstructionCost(); function configureTraps(); function configureExceptions(); function configureExecution();No description in source.

SleelaVMFeatureBits #sleela 2.5 (lib/vm/SleelaVMFeatureBits.sleela)

SleelaVMFeatureBits 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
FILESInteger FILES = 1; Integer NETWORK = 2; Integer DNS = 4; Integer IPC = 8No description in source.
THREADSInteger THREADS = 16; Integer ASYNC = 32; Integer GUI = 64; Integer AUDIO = 128No description in source.
VIDEOInteger VIDEO = 256; Integer DEVICES = 512; Integer CRYPTO = 1024; Integer TLS = 2048No description in source.
JITInteger JIT = 4096; Integer AOT = 8192; Integer SIMD = 16384; Integer ATOMICS = 32768No description in source.
GCInteger GC = 65536; Integer CHECKPOINT = 131072; Integer MIGRATION = 262144; Integer ATTESTATION = 524288No description in source.
OBSERVABILITYInteger OBSERVABILITY = 1048576; Integer DEBUG = 2097152; Integer PROFILING = 4194304; Integer DETERMINISTIC = 8388608No description in source.
RESOLVERInteger RESOLVER = 16777216; Integer BROKER = 33554432; Integer CERTIFICATES = 67108864; Integer SANDBOX = 134217728No description in source.
LINK_OBSERVATIONInteger LINK_OBSERVATION = 268435456; Integer LINK_TRANSACTIONS = 536870912; Integer LINK_MEMORY = 1073741824; Integer LINK_ATTESTATION = 2147483648No description in source.
CHALLENGE_EVENTSInteger CHALLENGE_EVENTS = 4294967296; Integer CHALLENGE_REMOTE = 8589934592; Integer REPORTS_INPUT = 17179869184; Integer REPORTS_OUTPUT = 34359738368; Integer REPORTS_MESSAGES = 68719476736; Integer REPORTS_IQ = 137438953472No description in source.
PROCESSInteger PROCESS = 274877906944; Integer OS_SYSCALLS = 549755813888Operating-system system-call capability (syntax 1.5). PROCESS covers process execution (osRun/osSpawn/osWait/osKill); OS_SYSCALLS covers the full host System API surface (environment, identity, cwd, filesystem metadata) exposed via the os* built-ins and OP_OS_* opcodes. Backed by impl/core/sleela_os.c on Windows/Linux/macOS; a spawned process is a VM-local bounded handle.
DMAInteger DMA = 1099511627776; Integer GPU = 2199023255552Direct hardware acceleration (syntax 1.6). DMA grants a direct memory-access engine (bulk transfers without the CPU copying word by word); GPU grants native GPU access (offload parallel/compute kernels to a host GPU over the bridge, or a modelled SIMT engine when none is present). Both are opt-in and flow from the VM through a hosted CPU to the running program.
NATIVE_RAMInteger NATIVE_RAM = 4398046511104Native-RAM residency (syntax 1.6). When set, the Secondary VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store — for running outside simulation for procedural layment. Backed by the native host allocator (sleela_native_ram_*). Opt-in via the VM Creator.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
containsfunction contains(mask, bit); function add(mask, bit); function remove(mask, bit); function validate(mask);No description in source.

SleelaVMGenerationCatalog #sleela 2.5 (lib/vm/creator/SleelaVMGenerationCatalog.sleela)

SleelaVMGenerationCatalog class

the authoritative version -> formal-name / path mapping for the twelve SLVM generations the Creator can build (/impl Core, then /1 .. /11). SleelaVMCreator consults it to name and validate a selected generation. Family: vm.creator. Consulted by SleelaVMCreator.

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
COREstatic final int CORE = 0No description in source.
SOVEREIGNstatic final int SOVEREIGN = 11highest defined generation

Methods — the actions this unit can perform.

MethodSignatureWhat it does
nameForVersionString nameForVersion(int version)No description in source.
pathForVersionString pathForVersion(int version)No description in source.
validateVersionboolean validateVersion(int version)No description in source.
isCoreVersionboolean isCoreVersion(int version)No description in source.
highestVersionint highestVersion()No description in source.
generationCountint generationCount()No description in source.

SleelaVMIOOptions #sleela 2.5 (lib/vm/SleelaVMIOOptions.sleela)

SleelaVMIOOptions 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 configureFiles(); function configureNetwork(); function configureIPC(); function configureDevices(); function fit(limits);No description in source.

SleelaVMLinkingManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMLinkingManagerAdvanced.sleela)

SleelaVMLinkingManagerAdvanced 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 connect(version); function disconnect(); function observeMemory(); function observeCertificates();No description in source.
observeTransactionsfunction observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities();No description in source.
observeProvenancefunction observeProvenance(); function observeCheckpoint(); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMLinkingManagerBasic #sleela 2.5 (lib/vm/SleelaVMLinkingManagerBasic.sleela)

SleelaVMLinkingManagerBasic 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 connect(version); function disconnect(); function observeMemory();No description in source.
observeCertificatesfunction observeCertificates(); function observeTransactions(); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMLinkingManagerGovernment #sleela 2.5 (lib/vm/SleelaVMLinkingManagerGovernment.sleela)

SleelaVMLinkingManagerGovernment 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 connect(version); function disconnect(); function observeMemory(); function observeCertificates();No description in source.
observeTransactionsfunction observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities();No description in source.
observeProvenancefunction observeProvenance(); function observeCheckpoint(); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMLinkingManagerMilitary #sleela 2.5 (lib/vm/SleelaVMLinkingManagerMilitary.sleela)

SleelaVMLinkingManagerMilitary 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 connect(version); function disconnect(); function observeMemory(); function observeCertificates();No description in source.
observeTransactionsfunction observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities();No description in source.
observeProvenancefunction observeProvenance(); function observeCheckpoint(); function observeTamperEvidence(); function validate(); function plan(); function emitC();No description in source.
emitCPPfunction emitCPP();No description in source.

SleelaVMLinkingManagerModerate #sleela 2.5 (lib/vm/SleelaVMLinkingManagerModerate.sleela)

SleelaVMLinkingManagerModerate 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 connect(version); function disconnect(); function observeMemory(); function observeCertificates();No description in source.
observeTransactionsfunction observeTransactions(); function observeResolver(); function observeAudit(); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMMemoryManagementAdvanced #sleela 2.5 (lib/vm/SleelaVMMemoryManagementAdvanced.sleela)

SleelaVMMemoryManagementAdvanced 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 allocate(size); function release(pointer); function collect();No description in source.
sealfunction seal(region); function scrub(region); function checkpoint(); function restore();No description in source.
migratefunction migrate(); function verifyIntegrity(); function validate(); function plan();No description in source.
emitCfunction emitC(); function emitCPP();No description in source.

SleelaVMMemoryManagementManaged #sleela 2.5 (lib/vm/SleelaVMMemoryManagementManaged.sleela)

SleelaVMMemoryManagementManaged 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 allocate(size); function release(pointer); function collect();No description in source.
quarantinefunction quarantine(pointer,size); function scrub(pointer,size); function validate();No description in source.
planfunction plan(); function emitC(); function emitCPP();No description in source.

SleelaVMMemoryManagementSimple #sleela 2.5 (lib/vm/SleelaVMMemoryManagementSimple.sleela)

SleelaVMMemoryManagementSimple 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 allocate(size); function release(pointer); function zeroize(pointer,size);No description in source.
validatefunction validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMMemoryOptions #sleela 2.5 (lib/vm/SleelaVMMemoryOptions.sleela)

SleelaVMMemoryOptions 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
dynamicMemoryGuardSleelaVMDynamicMemoryGuard dynamicMemoryGuardNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function configureDynamicMemoryGuard(); function calculateHeap(); function calculateStack(); function calculatePages(); function configureGC(); function fit(limit);No description in source.

SleelaVMModule #sleela 2.5 (lib/vm/SleelaVMModule.sleela)

SleelaVMModule 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 estimateResources(); function resolveDependencies(); function emitC(); function emitCPP();No description in source.

SleelaVMObjectCountDeclaration #sleela 2.5 (lib/vm/SleelaVMObjectCountDeclaration.sleela)

SleelaVMObjectCountDeclaration 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 categoryExpected(category); function totalExpected(); function validate();No description in source.

SleelaVMOptionCodes #sleela 2.5 (lib/vm/SleelaVMOptionCodes.sleela)

SleelaVMOptionCodes 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
TARGET_SLVMInteger TARGET_SLVM = 1; Integer TARGET_SLJVM = 2No description in source.
ARCH_X86_64Integer ARCH_X86_64 = 10; Integer ARCH_ARM64 = 11; Integer ARCH_RISCV64 = 12; Integer ARCH_WASM32 = 13No description in source.
OS_LINUXInteger OS_LINUX = 20; Integer OS_WINDOWS = 21; Integer OS_MACOS = 22No description in source.
ABI_CInteger ABI_C = 30; Integer ABI_CXX = 31; Integer ABI_JVM = 32No description in source.
EXEC_INTERPRETEDInteger EXEC_INTERPRETED = 40; Integer EXEC_JIT = 41; Integer EXEC_AOT = 42; Integer EXEC_HYBRID = 43No description in source.
GC_NONEInteger GC_NONE = 50; Integer GC_MARK_SWEEP = 51; Integer GC_GENERATIONAL = 52; Integer GC_COMPACTING = 53No description in source.
THREAD_SINGLEInteger THREAD_SINGLE = 60; Integer THREAD_NATIVE = 61; Integer THREAD_POOL = 62; Integer THREAD_FIBER = 63No description in source.
IO_SYNCInteger IO_SYNC = 70; Integer IO_ASYNC = 71; Integer IO_HYBRID = 72No description in source.
SECURITY_NONEInteger SECURITY_NONE = 80; Integer SECURITY_CAPABILITY = 81; Integer SECURITY_SANDBOX = 82; Integer SECURITY_HARDENED = 83No description in source.
LINK_STATICInteger LINK_STATIC = 90; Integer LINK_SHARED = 91; Integer LINK_HYBRID = 92No description in source.
LINK_BASICInteger LINK_BASIC = 93; Integer LINK_MODERATE = 94; Integer LINK_ADVANCED = 95; Integer LINK_GOVERNMENT = 96; Integer LINK_MILITARY = 97No description in source.
CHALLENGE_BASICInteger CHALLENGE_BASIC = 110; Integer CHALLENGE_MODERATE = 111; Integer CHALLENGE_ADVANCED = 112; Integer REPORTS_STANDARD = 120; Integer CM_BASIC_COMPLETE = 130; Integer CM_ADVANCED_TOTAL = 131No description in source.
PACKAGE_RAWInteger PACKAGE_RAW = 100; Integer PACKAGE_ARCHIVE = 101; Integer PACKAGE_SIGNED = 102No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validfunction valid(code); function category(code); function compatible(left, right);No description in source.

SleelaVMOptions #sleela 2.5 (lib/vm/SleelaVMOptions.sleela)

SleelaVMOptions 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
defaultsfunction defaults(); function validate(); function enableFeature(bit); function disableFeature(bit); function hasFeature(bit);No description in source.
selectTargetfunction selectTarget(); function selectArchitecture(); function selectOperatingSystem(); function selectABI();No description in source.
selectSecurityfunction selectSecurity(); function selectRuntime(); function selectIO(); function selectPackaging();No description in source.

SleelaVMOutput #sleela 2.5 (lib/vm/SleelaVMOutput.sleela)

SleelaVMOutput 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 validateDynamicMemoryGuard(); function calculateHash(); function certify(); function package();No description in source.

SleelaVMPermissibleLoader #sleela 2.5 (lib/vm/SleelaVMPermissibleLoader.sleela)

SleelaVMPermissibleLoader 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.

SleelaVMPhysicalLimits #sleela 2.5 (lib/vm/SleelaVMPhysicalLimits.sleela)

SleelaVMPhysicalLimits 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
detectfunction detect(); function constrain(plan); function validate(plan);No description in source.

SleelaVMReportsManager #sleela 2.5 (lib/vm/SleelaVMReportsManager.sleela)

SleelaVMReportsManager 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 observeInput(system); function observeOutput(system); function observeMessages(system); function observeSystem(system);No description in source.
routeIQfunction routeIQ(object); function routeNamedBinaryObject(object); function sendMessaging(object, destination); function authorize(observer); function audit(report);No description in source.
validatefunction validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMResourcePlan #sleela 2.5 (lib/vm/SleelaVMResourcePlan.sleela)

SleelaVMResourcePlan 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
calculatefunction calculate(); function validate(); function fitPhysicalLimits(); function emitHeader();No description in source.

SleelaVMRuntimeOptions #sleela 2.5 (lib/vm/SleelaVMRuntimeOptions.sleela)

SleelaVMRuntimeOptions 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 configure(); function negotiate(); function checkpoint(); function recover(); function migrate();No description in source.

SleelaVMSecurityManagementAdvanced #sleela 2.5 (lib/vm/SleelaVMSecurityManagementAdvanced.sleela)

SleelaVMSecurityManagementAdvanced 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 authorize(operation); function deny(operation); function audit(event);No description in source.
attestfunction attest(); function delegate(capability); function revoke(capability); function verifyProvenance();No description in source.
verifyCertificatefunction verifyCertificate(certificate); function checkReplay(token); function recover();No description in source.
validatefunction validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMSecurityManagementManaged #sleela 2.5 (lib/vm/SleelaVMSecurityManagementManaged.sleela)

SleelaVMSecurityManagementManaged 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 authorize(operation); function deny(operation); function audit(event);No description in source.
verifyIdentityfunction verifyIdentity(identity); function verifyCertificate(certificate); function checkReplay(token);No description in source.
validatefunction validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMSecurityManagementSimple #sleela 2.5 (lib/vm/SleelaVMSecurityManagementSimple.sleela)

SleelaVMSecurityManagementSimple 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 authorize(operation); function deny(operation);No description in source.
auditfunction audit(event); function validate(); function plan(); function emitC(); function emitCPP();No description in source.

SleelaVMSecurityOptions #sleela 2.5 (lib/vm/SleelaVMSecurityOptions.sleela)

SleelaVMSecurityOptions 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 configureCapabilities(); function configureSandbox(); function configureCrypto(); function configureCertificates(); function configureAudit();No description in source.

SleelaVMSource #sleela 2.5 (lib/vm/SleelaVMSource.sleela)

SleelaVMSource 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
dynamicMemoryGuardSleelaVMDynamicMemoryGuard dynamicMemoryGuardNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validatefunction validate(); function analyzePhysicalLimits(); function selectTarget(); function planModules();No description in source.
resolveOptionsfunction resolveOptions(); function resolveFitments(); function configureDynamicMemoryGuard();No description in source.
emitCfunction emitC(); function emitCPP(); function buildSLVM(); function buildSLJVM();No description in source.

SleelaVMStartup #sleela 2.5 (lib/vm/SleelaVMStartup.sleela)

SleelaVMStartup 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
startup_moduleStartupModuleSelection startup_moduleNo description in source.
harnessSystemHarnessConnection harnessNo description in source.
execution_modeVMExecutionMode execution_modeNo description in source.
readinessVMReadinessState readinessNo description in source.
bootstrap_capabilitiesVMBootstrapCapabilities bootstrap_capabilitiesNo description in source.
pending_callsVMCallQueue pending_callsNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
startmethod start()No description in source.
executeBootstrapCallsUntilReadymethod executeBootstrapCallsUntilReady()No description in source.
coreVMReadymethod coreVMReady()No description in source.
shutdownmethod shutdown()No description in source.

SleelaVMSystemCallBridge #sleela 2.5 (lib/vm/SleelaVMSystemCallBridge.sleela)

SleelaVMSystemCallBridge class

Defines SleelaVMSystemCallBridge — the VM-family face of the operating-system System Call API. Where SLVMNativeBinding is the lifecycle anchor for "the VM reaches native code," this class is the concrete bridge that exposes the host System API to a running VM through the os* built-ins (OP_OS_* opcodes), serviced by impl/core/sleela_os.c on Windows, Linux, and macOS. Every SLeeLa VM — the base SLVM and generations SLVM/1..11 — shares one ISA, so if the base VM can issue these system calls, every generation can too; this class is how a VM advertises and performs them. Capability: pairs with SleelaVMFeatureBits.PROCESS and .OS_SYSCALLS. A VM that sets those bits is declaring it supports this bridge. A spawned process is a VM-local bounded handle (the sockets/files discipline), never a raw PID. Family: vm. Native VM/OS work crosses the explicit os* SLVM 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
nameString nameNo description in source.
stateint stateNo description in source.
callsint callsNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String n)No description in source.
startvoid start()No description in source.
stopvoid stop()No description in source.
activeboolean active()No description in source.
platformString platform()---- Host identity ------------------------------------------------------
hostNameString hostName()No description in source.
userNameString userName()No description in source.
processIdint processId()No description in source.
supportsboolean supports(int capability)No description in source.
getEnvString getEnv(String key)---- Environment --------------------------------------------------------
setEnvboolean setEnv(String key, String value)No description in source.
currentDirString currentDir()---- Working directory --------------------------------------------------
changeDirboolean changeDir(String path)No description in source.
tempDirString tempDir()No description in source.
existsboolean exists(String path)---- Filesystem metadata ------------------------------------------------
isDirboolean isDir(String path)No description in source.
fileSizeint fileSize(String path)No description in source.
makeDirboolean makeDir(String path)No description in source.
removeboolean remove(String path)No description in source.
renameboolean rename(String from, String to)No description in source.
runint run(String command)---- Process execution (bounded VM-local handles) ----------------------- Synchronous run; returns the command's exit code.
spawnint spawn(String command)Background start; returns a VM-local process handle (-1 on failure).
waitForint waitFor(int processHandle)Wait for a spawned process; returns its exit code and frees the handle.
killboolean kill(int processHandle)Terminate a spawned process.
closeProcessvoid closeProcess(int processHandle)Release a spawned process without waiting.
osSupportVMGroupsSLList osSupportVMGroups()No description in source.
osSupportVMOpcodesSLList osSupportVMOpcodes()Canonical current OS service opcodes; codes are append-only in the VM ISA.
coreOSOpcodeBridgeImplementedboolean coreOSOpcodeBridgeImplemented()No description in source.
oslsCAbiAdapterRegisteredboolean oslsCAbiAdapterRegistered()No description in source.
oslsSystemInfoJSONString oslsSystemInfoJSON()No description in source.
oslsProcessInfoJSONString oslsProcessInfoJSON(int pid)No description in source.
oslsEnumerateProcessesJSONString oslsEnumerateProcessesJSON()No description in source.
oslsGetEnvironmentValueJSONString oslsGetEnvironmentValueJSON(String name)No description in source.
oslsEnumerateEnvironmentJSONString oslsEnumerateEnvironmentJSON()No description in source.
oslsGetFileInfoJSONString oslsGetFileInfoJSON(String path)No description in source.
oslsListDirectoryJSONString oslsListDirectoryJSON(String path)No description in source.
oslsGetCPUInfoJSONString oslsGetCPUInfoJSON()No description in source.
oslsGetTimezoneInfoJSONString oslsGetTimezoneInfoJSON()No description in source.
oslsGetNetworkInterfacesJSONString oslsGetNetworkInterfacesJSON()No description in source.
oslsCronValidateJSONString oslsCronValidateJSON(String expression)No description in source.
oslsCronNextAfterJSONString oslsCronNextAfterJSON(String expression, int epochSeconds)No description in source.
callCountint callCount()No description in source.

SLNativeMemory #sleela 2.5 (lib/vm/SLNativeMemory.sleela)

SLNativeMemory class

Defines SLNativeMemory — a flat block of REAL host RAM for the Secondary Sleela VM to run on when the native-RAM option is chosen. Unlike SLRAM (which routes every cell through the simulation/VM bridge and keeps access accounting), SLNativeMemory is a single contiguous host allocation accessed directly: it crosses the native bridge once at allocate() to obtain a real pointer-backed region, then reads/writes land straight in host memory with no per-access simulation layer. Purpose: "procedural layment outside of simulation" — when a build prefers to lay out procedures and data in actual RAM for maximum throughput and native residency rather than inside the simulated store. Same word interface as SLRAM so SLVMMemory can use either backing transparently. Family: vm. Native host allocation via bridge; alternative backing to SLRAM.

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
wordCountint wordCountNo description in source.
widthint widthbits per word
handleint handlenative host-allocation handle (0 until allocated)
residentint resident1 once backed by real host RAM

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int words, int bits)No description in source.
allocateint allocate()Allocate a contiguous block of REAL host RAM (not the simulated store). Crosses the bridge once; thereafter accesses are direct.
inRangeboolean inRange(int addr)No description in source.
isResidentboolean isResident()No description in source.
readWordint readWord(int addr)Direct host-memory access — no per-access accounting or simulation step.
writeWordint writeWord(int addr, int value)No description in source.
blockMovevoid blockMove(int dst, int src, int words)Direct block move within host RAM (used for procedural layout / DMA-style bulk placement without the simulated copy loop).
freevoid free()No description in source.
capacityWordsint capacityWords()No description in source.
capacityBytesint capacityBytes()No description in source.

SLPackage #sleela 2.5 (lib/vm/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for vm — the connection that exposes the VM family (including the Modium file-resolution classes under src/sleela, e.g. SLVmModium) to the compiler, Loader, and Nordshrift. Every library package carries this facade; vm previously had none.

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
packageNameString packageNameNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
availableboolean available()No description in source.

SLPackage #sleela 3.0 (lib/vm/vmsharp/SLPackage.sleela)

VMSharpPackage class

VMSharp(TM) package entry point and source-level component index. VMSharp is a VM manifest that can start as a self-installer bootloader for a minimal desktop or a user-designated OS download/install, on x86/x64 AMD or Intel processors. The classes are declarative models; no firmware is flashed, no disk is written, and the declared per-use/install levy is disclosed, not auto-collected. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.

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
packageNameString packageName = "vmsharp"No description in source.
manifestClassString manifestClass = "VMSharp"No description in source.
bootloaderClassString bootloaderClass = "VMSharpBootloader"No description in source.
installPlanClassString installPlanClass = "VMSharpInstallPlan"No description in source.
levyClassString levyClass = "VMSharpLevy"No description in source.
includedAppClassString includedAppClass = "VMSharpIncludedApp"No description in source.
networkStackClassString networkStackClass = "VMSharpNetworkStack"No description in source.
repoAcquisitionClassString repoAcquisitionClass = "VMSharpRepoAcquisition"No description in source.
osCreatorRunClassString osCreatorRunClass = "VMSharpOSCreatorRun"No description in source.
installWizardClassString installWizardClass = "VMSharpInstallWizard"No description in source.
installOptionClassString installOptionClass = "VMSharpInstallOption"No description in source.
usbMediaClassString usbMediaClass = "VMSharpUsbMedia"No description in source.
usbMakefilesString usbMakefiles = "usb/Makefile (dispatch), usb/Makefile.linux, usb/Makefile.windows, usb/Makefile.macos"No description in source.
diskLayoutClassString diskLayoutClass = "VMSharpDiskLayout"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
getPackageNameString getPackageName()No description in source.
getManifestClassString getManifestClass()No description in source.
getBootloaderClassString getBootloaderClass()No description in source.
getInstallPlanClassString getInstallPlanClass()No description in source.
getLevyClassString getLevyClass()No description in source.
getIncludedAppClassString getIncludedAppClass()No description in source.
getNetworkStackClassString getNetworkStackClass()No description in source.
getRepoAcquisitionClassString getRepoAcquisitionClass()No description in source.
getOSCreatorRunClassString getOSCreatorRunClass()No description in source.
getInstallWizardClassString getInstallWizardClass()No description in source.
getInstallOptionClassString getInstallOptionClass()No description in source.
getUsbMediaClassString getUsbMediaClass()No description in source.
getUsbMakefilesString getUsbMakefiles()No description in source.
getDiskLayoutClassString getDiskLayoutClass()No description in source.

SLVM #sleela 2.5 (lib/vm/SLVM.sleela)

SLVM class

Defines SLVM — the secondary Sleela VM: the runnable interpreter a

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
nameString nameNo description in source.
stateint state0 off, 1 booted, 2 running, 3 halted
heapSLVMHeap heapNo description in source.
memorySLVMMemory memoryNo description in source.
moduleLoaderSLVMModuleLoader moduleLoaderNo description in source.
moduleSLVMModule modulethe currently installed module
substrateSLSleelaVM substrate== module.engine(); the native-opcode engine we drive
mainSLVMThread mainNo description in source.
bindingCountint bindingCountBounded native-binding table (SLeeLa surface has no arrays).
stepsint stepsopcodes executed through this VM
lastExitint lastExitlast serviced VM-exit opcode (-1 if none)
guestCpuSLCPURuntime guestCpu--- guest-CPU hosting (Creator -> SLVM -> CPU -> program stack) --- When SLVM hosts a Sleela CPU model as its executor, the CPU is pinned here and SLVM lends it the substrate so the CPU's lowered program runs nested on the Secondary VM rather than on a private engine.
guestResultint guestResultlast observable output of a guest workload
dmaOptionint dmaOption--- optional capabilities propagated to a hosted guest CPU --- When set before hostCpu(), the guest CPU is granted direct DMA and/or native GPU access, so a program running under this VM can use them at any point.
gpuOptionint gpuOptionNo description in source.
nativeRamOptionint nativeRamOption--- native-RAM option --- When set before boot(), the VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store, for running outside simulation for procedural layment. Off (simulated) by default.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String vmName)No description in source.
useNativeRamvoid useNativeRam()Native-RAM option: when set before boot(), the VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store — for running outside simulation for procedural layment. Off by default.
useSimulatedRamvoid useSimulatedRam()No description in source.
nativeRamboolean nativeRam()No description in source.
bootvoid boot(int heapWords, int memoryWords)Boot: build the heap, linear memory, loader and main thread. The linear memory honors the native-RAM option.
bootNativevoid bootNative(int heapWords, int memoryWords)Convenience: boot directly onto native host RAM.
loaderSLVMModuleLoader loader()No description in source.
bindNativevoid bindNative(SLVMNativeBinding binding)Register a native binding (e.g. print). Up to 4 in this bounded surface.
bindingForSLVMNativeBinding bindingFor(int opcode)No description in source.
installvoid install(SLVMModule m)Install a loaded module and prime its entry method as the first frame.
runint run(int budget)Run up to budget opcodes, servicing VM-exits (native bindings) inline.
serviceExitvoid serviceExit()Route a parked VM-exit: a bound native service runs and returns a value; an unbound service is acknowledged so the guest can proceed.
hostCpuvoid hostCpu(SLCPURuntime cpu)--- guest-CPU hosting: run a Sleela CPU model as SLVM's executor --- Pin a Sleela CPU model (any SLCPURuntime / SL<ARCH>CPU) as the guest this VM executes, and lend it a hosted substrate so the CPU runs nested on the Secondary VM. The substrate is sized generously; the CPU's workload grant bounds actual use.
enableDMAvoid enableDMA()--- optional capabilities: enable BEFORE hostCpu() so the guest inherits them --- Direct DMA: the hosted CPU gets a direct memory-access engine, so a program under this VM can move bulk data without the CPU copying it word by word.
disableDMAvoid disableDMA()No description in source.
dmaEnabledboolean dmaEnabled()No description in source.
enableGPUvoid enableGPU()Native GPU access: the hosted CPU gets a GPU device to offload compute to.
disableGPUvoid disableGPU()No description in source.
gpuEnabledboolean gpuEnabled()No description in source.
dmaEngineSLDMAController dmaEngine()Direct access to the guest's engines (null until hosted/enabled).
gpuDeviceSLGPUDevice gpuDevice()No description in source.
hostedCpuSLCPURuntime hostedCpu()No description in source.
runGuestWorkloadint runGuestWorkload(SLWorkload work, int budget)Run the full stack in one call: the hosted guest CPU compiles a C/C++/Java/ Sleela workload, maps it onto SLVM's substrate, and SLVM drives that opcode stream (servicing I/O VM-exits through its native bindings). Returns the observable output. This is the Creator -> SLVM -> CPU -> program executor path realized end to end.
lastGuestResultint lastGuestResult()No description in source.
newInstanceSLVMObject newInstance(int classId)--- object allocation surface for Sleela-sourced VM code ---
collectint collect()--- GC surface: clear marks, mark reachable from the main thread's "this". ---
startvoid start()No description in source.
stopvoid stop()No description in source.
registervoid register()No description in source.
vmNameString vmName()No description in source.
runStateint runState()No description in source.
stepsRunint stepsRun()No description in source.
lastServiceint lastService()No description in source.
theHeapSLVMHeap theHeap()No description in source.
linearMemorySLVMMemory linearMemory()No description in source.
mainThreadSLVMThread mainThread()No description in source.
engineSLSleelaVM engine()No description in source.
activeboolean active()No description in source.
haltedboolean halted()No description in source.

SLVMAdministrator #sleela 2.5 (lib/vm/creator/SLVMAdministrator.sleela)

SLVMAdministrator 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
formalNameString formalName = "Administrator"; Integer generation = 7; String vmPath = "/7"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureAdministrationfunction configureAdministration(); function configureRecovery(); function configureAudit(); function configureHardenedManagement();No description in source.
validateRecoveryfunction validateRecovery(); function validateAudit(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmAudit #sleela 2.5 (lib/vm/src/sleela/SLVmAudit.sleela)

SLVmAudit class

Defines SLVmAudit — the OOD equivalent of the native audit trail (virtual-machine/vm-version/009/vm_audit.{h,c}, v009). It records structured events (CONFIG/DENIAL/PRESSURE/SATURATE/PLATFORM/ERROR/INFO) with a monotonic sequence number and a running FNV-1a chain hash so the trail is ordered and tamper-evident, mirroring each event to SLVmReport. The native side is a 256-entry ring; the Sleela surface keeps the counters, the running chain hash, and the last event (the ring body is native). Mirrors: enum VmAuditKind, vm_audit_record/result/total/count/chain/report. Family: vm. Composes SLVmReport, SLVmResult.

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
INFOstatic final int INFO = 0No description in source.
CONFIGstatic final int CONFIG = 1No description in source.
DENIALstatic final int DENIAL = 2No description in source.
PRESSUREstatic final int PRESSURE = 3No description in source.
SATURATEstatic final int SATURATE = 4No description in source.
PLATFORMstatic final int PLATFORM = 5No description in source.
ERRORstatic final int ERROR = 6No description in source.
totalint totalever recorded
chainLowint chainLowlow 31 bits of the running chain hash (surface int)
lastSeqint lastSeqNo description in source.
lastKindint lastKindNo description in source.
lastSubsystemString lastSubsystemNo description in source.
lastMessageString lastMessageNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
severityForint severityFor(int kind)No description in source.
foldint fold(int h, int v)simple positive-int FNV-1a fold step (surface has no unsigned/xor; use multiply+add+mod to keep a stable, order-sensitive running value).
logint log(int kind, String subsystem, String message, SLVmReport rep)record an event (mirror vm_audit_record): seq++, fold the chain, mirror to report.
logResultint logResult(SLVmResult r, SLVmReport rep)fold a typed result into the trail (mirror vm_audit_result).
totalEventsint totalEvents()No description in source.
chainint chain()No description in source.
kindNameString kindName(int k)No description in source.

SLVMAuthority #sleela 2.5 (lib/vm/creator/SLVMAuthority.sleela)

SLVMAuthority 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
formalNameString formalName = "Authority"; Integer generation = 9; String vmPath = "/9"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureFilesystemAdaptationfunction configureFilesystemAdaptation(); function configureOSAdapters(); function configureFilesystemCapabilities();No description in source.
validateNativeAuthorityfunction validateNativeAuthority(); function validateFilesystemNegotiation(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmCapability #sleela 2.5 (lib/vm/src/sleela/SLVmCapability.sleela)

SLVmCapability class

Defines SLVmCapability — the OOD equivalent of the native capability-enforcement choke point (virtual-machine/vm-version/007/ vm_capability.{h,c}, v007). It turns the SLVmConfig capability mask into real decisions: a bridge asks `check` before acting; a disabled capability yields a typed DENIED result (reported, counted) and refuses the op. This closes the gap v001 noted (the mask was recorded but not enforced). Mirrors: vm_cap_allowed/check/denials/reset, vm_cap_name. Family: vm. Composes SLVmConfig, SLVmResult, SLVmReport, SLVmTelemetry.

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
configSLVmConfig configNo description in source.
denialsint denialsNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bindvoid bind(SLVmConfig cfg)No description in source.
resetvoid reset()No description in source.
denialCountint denialCount()No description in source.
allowedboolean allowed(int cap)No description in source.
checkboolean check(int cap, String subsystem, String operation,Guard a bridge op. Returns true to proceed; on denial fills `out` with a DENIED result, reports+counts it, returns false.
capNameString capName(int cap)No description in source.

SLVMClass #sleela 2.5 (lib/vm/SLVMClass.sleela)

SLVMClass class

Defines SLVMClass — the runtime type descriptor in the secondary Sleela VM. It carries a class id (as stored in every object header by SLVMHeap), a name, an optional superclass id for single inheritance, the instance field count that sizes allocations, and up-to-N declared fields and methods wired as individual slots (the SLeeLa surface has no arrays, so — as SLCPU does with cores — members are held as f0..f7 / m0..m7 and selected by index). Resolving a method or field by name is how call/field opcodes bind. New() sizes an object from fieldTotal; the loader (SLVMModuleLoader) populates the descriptor from a module. Family: vm. Composes SLVMField, SLVMMethod; composed by SLVMModule.

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
classIdint classIdNo description in source.
nameString nameNo description in source.
superIdint superId-1 when there is no superclass
fieldTotalint fieldTotalinstance field slots (incl. inherited) => object size
fieldCountint fieldCountNo description in source.
methodCountint methodCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int id, String className, int superclassId, int totalFields)No description in source.
addFieldvoid addField(SLVMField field)No description in source.
fieldSLVMField field(int index)No description in source.
fieldSlotint fieldSlot(String fieldName)Map a field name to its heap slot; -1 if not declared here.
addMethodvoid addMethod(SLVMMethod method)No description in source.
methodAtSLVMMethod methodAt(int index)No description in source.
resolveMethodSLVMMethod resolveMethod(String methodName)Virtual-ish lookup by name within this class (superclass walk is driven by SLVMModule, which owns the id->class table).
resolveExposedMethodSLVMMethod resolveExposedMethod(String methodName)--- access-gated resolution (extensible-network enforcement) ----------- Resolve ONLY a network-exposed (public) method. This is what a remote hop / another file in the network may reach: a private or protected method is NOT returned here, so the network cannot bind a non-exposed symbol.
resolveMethodForCallerSLVMMethod resolveMethodForCaller(String methodName, int callerRole)Resolve on behalf of a caller whose own access role is `callerRole` (SLAccessSemantics.ROLE_*). Rules the VM enforces: - exposed (public) methods: reachable by anyone (including the network); - local (private) methods: reachable only by a local/in-system caller (callerRole local or guarded), never the net; - guarded (protected) methods: reachable by a local or guarded caller (the guard controls run before proceeding). A plain resolveMethod() with no role still works (role 0 = ungated).
idint id()No description in source.
classNameString className()No description in source.
superclassint superclass()No description in source.
instanceSizeint instanceSize()No description in source.
fieldsint fields()No description in source.
methodsint methods()No description in source.

SLVMComponentFetcher #sleela 2.5 (lib/vm/SLVMComponentFetcher.sleela)

SLVMComponentFetcher class

Defines SLVMComponentFetcher — the VM series' hook into the resilient support-downloader module (lib/operating-system/SLSupportDownloader). The VM sometimes needs to obtain an OS/runtime component at run time (a kernel source, a package index, a backend runtime); if the primary URL 404s, the VM must fall through to prioritized support/mirror URLs rather than fail. This fetcher wires an SLVM to an SLSupportDownloader: the VM asks it to resolve the first reachable support URL for a component kind, or to run the 404-tolerant fallback fetch, so VM-driven component acquisition is resilient the same way the OS document's build-time acquisition is. This is the VM-side hook that complements the OS-document hook (SLDownloadSet composes the same SLSupportDownloader). Either path obtains components with the authoritative -> official -> college/edu -> archive fallback order. Family: vm. Composes SLVM + SLSupportDownloader; fetch/probe cross the osRun bridge (requires #sleela 1.5).

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
vmSLVM vmthe VM this fetcher serves
supportSLSupportDownloader supportthe shared resilient downloader
configuredint configuredNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLVM targetVm)Wire the fetcher to a VM, creating a fresh support downloader.
configureSharedvoid configureShared(SLVM targetVm, SLSupportDownloader shared)Wire to a VM AND an existing (OS-document-shared) support downloader, so the VM and the OS model use one and the same fallback policy.
supportDownloaderSLSupportDownloader supportDownloader()No description in source.
readyboolean ready()No description in source.
resolveString resolve(String kind)Resolve the first reachable support URL for a component kind (probes the mirrors in priority order), or "" if none respond. The VM calls this before acquiring a component so it binds to a live source.
fetchint fetch(String kind, String dest)Run the 404-tolerant fallback fetch for a component kind to a destination. Returns 0 on success (some tier succeeded), non-zero when every support URL (including the archive) failed. Uses osRun to execute the generated loop.
runFetchint runFetch(String kind, String url, String dest)Execute one fetch of url -> dest with the right tool for the kind.
resolvedPlanString resolvedPlan(String kind)A VM-facing summary: which support URL each needed kind would resolve to.

SLVmConfig #sleela 2.5 (lib/vm/src/sleela/SLVmConfig.sleela)

SLVmConfig class

Defines SLVmConfig — the OOD equivalent of the native user-level VM configuration surface (virtual-machine/vm-version/001/vm_config.{h,c}, VM v001). It is the single place a user tunes a selected VM before start: the memory limit (256 MiB..2 GiB, 0 = manager off), the thread cap (1..128), the report verbosity, and the capability mask. The native side binds these fields to the sleela_memmgr limit and the bridge capability gate; on the Sleela side this class is the loadable record a user edits in setup or a conference and that the native VM reads when it boots the chosen VM. Mirrors: struct VmConfig { memory_limit_bytes; thread_cap; verbosity; capabilities; memory_manager_on }, enums VmVerbosity and VmCapability. Family: vm. A data+policy record; composed by SLVmVersion* manifests and applied through SLVmRuntime. Native application crosses the SLVMNativeBinding VM-exit seam (never a direct C call).

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
VERBOSITY_QUIETstatic final int VERBOSITY_QUIET = 0Verbosity ordinals (mirror VmVerbosity).
VERBOSITY_NORMALstatic final int VERBOSITY_NORMAL = 1No description in source.
VERBOSITY_VERBOSEstatic final int VERBOSITY_VERBOSE = 2No description in source.
VERBOSITY_DEBUGstatic final int VERBOSITY_DEBUG = 3No description in source.
CAP_MEMORYstatic final int CAP_MEMORY = 1Capability bits (mirror VmCapability; OR together).
CAP_FILE_IOstatic final int CAP_FILE_IO = 2No description in source.
CAP_NETWORKstatic final int CAP_NETWORK = 4No description in source.
CAP_THREADSstatic final int CAP_THREADS = 8No description in source.
CAP_DYNLIBstatic final int CAP_DYNLIB = 16No description in source.
CAP_TERMINALstatic final int CAP_TERMINAL = 32No description in source.
CAP_PATHSstatic final int CAP_PATHS = 64No description in source.
CAP_PROCESSstatic final int CAP_PROCESS = 128No description in source.
CAP_IPCstatic final int CAP_IPC = 256No description in source.
CAP_TIMEstatic final int CAP_TIME = 512No description in source.
CAP_ALLstatic final int CAP_ALL = 10230x3FF
MIN_MEMORY_MIBstatic final int MIN_MEMORY_MIB = 256Bounds (mirror the native #defines).
MAX_MEMORY_MIBstatic final int MAX_MEMORY_MIB = 2048No description in source.
MAX_THREADSstatic final int MAX_THREADS = 128No description in source.
memoryLimitMiBint memoryLimitMiB---- the configuration (mirror struct VmConfig) ---- 256..2048; 0 = manager off
threadCapint threadCap1..128
verbosityint verbosityVERBOSITY_*
capabilitiesint capabilitiesCAP_* bitset
memoryManagerOnint memoryManagerOn1/0

Methods — the actions this unit can perform.

MethodSignatureWhat it does
defaultsvoid defaults()Sensible default: 2 GiB, 128 threads, NORMAL, all caps, manager on.
setMemoryMiBvoid setMemoryMiB(int mib)Clamping setters (mirror vm_config_set_*).
setThreadsvoid setThreads(int n)No description in source.
setVerbosityvoid setVerbosity(int v)No description in source.
enablevoid enable(int cap)No description in source.
disablevoid disable(int cap)No description in source.
hasboolean has(int cap)No description in source.
verbosityNameString verbosityName()No description in source.

SLVMDirector #sleela 2.5 (lib/vm/creator/SLVMDirector.sleela)

SLVMDirector 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
formalNameString formalName = "Director"; Integer generation = 6; String vmPath = "/6"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureCoordinationfunction configureCoordination(); function configureCrossSubsystemExecution(); function configurePolicyRouting();No description in source.
validateCoordinationfunction validateCoordination(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVMExecutive #sleela 2.5 (lib/vm/creator/SLVMExecutive.sleela)

SLVMExecutive 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
formalNameString formalName = "Executive"; Integer generation = 8; String vmPath = "/8"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureAdmissionfunction configureAdmission(); function configureSupervisedExecution(); function configureExecutionPolicy();No description in source.
validateAdmissionfunction validateAdmission(); function validateExecutionPolicy(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVMField #sleela 2.5 (lib/vm/SLVMField.sleela)

SLVMField class

Defines SLVMField — the metadata for one declared field of a class in the secondary Sleela VM: its name, its slot index within an object's field block (see SLVMHeap layout), its declared type tag, and whether it is static (class-level) or instance-level. SLVMClass holds an ordered list of these; the loader fills them in while resolving a module so field access opcodes can map a name to a stable slot. Family: vm. Composed by SLVMClass.

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
nameString nameNo description in source.
slotint slotindex into the owning object's field block
typeTagint typeTagone of SLVMValue.TAG_*
isStaticboolean isStaticNo description in source.
accessRoleint accessRoleSLAccessSemantics.ROLE_* (0 none/1 exposed/2 local/3 guarded)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String fieldName, int fieldSlot, int declaredType, boolean staticField)No description in source.
configureAccessvoid configureAccess(String fieldName, int fieldSlot, int declaredType,Full form: also record the field's access role. The old configure() delegates here with role 0, so existing callers are unchanged.
setAccessRolevoid setAccessRole(int role)No description in source.
fieldNameString fieldName()No description in source.
slotIndexint slotIndex()No description in source.
declaredTypeint declaredType()No description in source.
staticFieldboolean staticField()No description in source.
instanceFieldboolean instanceField()No description in source.
roleint role()No description in source.
exposedHopboolean exposedHop()No description in source.
localOnlyboolean localOnly()No description in source.
guardedboolean guarded()No description in source.

SLVMFoundation #sleela 2.5 (lib/vm/creator/SLVMFoundation.sleela)

SLVMFoundation 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
formalNameString formalName = "Foundation"; Integer generation = 1; String vmPath = "/1"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
minimumCompleteSourcefunction minimumCompleteSource(); function selectFoundationModules(); function validateFoundation();No description in source.
configurefunction configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVMFrame #sleela 2.5 (lib/vm/SLVMFrame.sleela)

SLVMFrame class

Defines SLVMFrame — one activation record on a thread's call stack in the secondary Sleela VM. A frame owns a local-variable array and an operand stack (both SLVMValue carriers laid out over SLRAM), remembers the method it is running and the return instruction index to resume the caller, and tracks the current instruction pointer within the method's code window. Frames are what make the secondary VM a real interpreter rather than a flat opcode tape: CALL pushes a frame, RET pops it and restores the caller's ip. Family: vm. Composes SLRAM, SLVMValue, SLVMMethod; composed by SLVMThread.

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
methodSLVMMethod methodNo description in source.
returnIpint returnIpcaller ip to resume on RET
callerClassIdint callerClassIdcaller's "this" class, for RET context
ipint ipcurrent instruction index (within method window)
localsSLRAM localslocal slots: 2 words each (tag,payload)
localCountint localCountNo description in source.
operandsSLRAM operandsoperand stack: 2 words each (tag,payload)
spint spoperand count (not word index)
capacityint capacitymax operands

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(SLVMMethod m, int retIp, int callerClass, int operandCap)No description in source.
setLocalvoid setLocal(int index, SLVMValue v)--- locals ---
getLocalvoid getLocal(int index, SLVMValue out)No description in source.
pushvoid push(SLVMValue v)--- operand stack ---
popvoid pop(SLVMValue out)No description in source.
peekvoid peek(SLVMValue out)No description in source.
instructionPointerint instructionPointer()--- ip control ---
setIpvoid setIp(int newIp)No description in source.
advancevoid advance()No description in source.
runningMethodSLVMMethod runningMethod()No description in source.
returnAddressint returnAddress()No description in source.
callerClassint callerClass()No description in source.
operandDepthint operandDepth()No description in source.
localSlotsint localSlots()No description in source.
emptyboolean empty()No description in source.

SLVmGc #sleela 2.5 (lib/vm/src/sleela/SLVmGc.sleela)

SLVmGc class

Defines SLVmGc — the OOD equivalent of the native GC-quality layer (virtual-machine/vm-version/005/vm_gc.{h,c}, v005). From deltas of the collector's stats (allocations vs. reclamation vs. collections) it derives a condition (HEALTHY/BUSY/PRESSURE/THRASH), gives young-collection pacing advice, and edge-triggers a typed result through SLVmResult on worsening (plus a recovery notice). It complements GarbageCollector.sleela (the stat record) by adding the quality judgement over it. Mirrors: enum VmGcCondition, struct VmGcSnapshot, vm_gc_observe/condition/ should_collect_young/report. Family: vm. Composes SLVmResult, SLVmReport; reads the collector stats a GarbageCollector record carries.

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
HEALTHYstatic final int HEALTHY = 0No description in source.
BUSYstatic final int BUSY = 1No description in source.
PRESSUREstatic final int PRESSURE = 2No description in source.
THRASHstatic final int THRASH = 3No description in source.
minReclaimPctint minReclaimPctreclaim/alloc below this = pressure (default 25)
thrashPerKint thrashPerKcollections per 1000 allocs for thrash (default 50)
havePrevint havePrevNo description in source.
condint condNo description in source.
reportedint reportededge-trigger latch
collectYoungint collectYoungNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
setThresholdsvoid setThresholds(int minReclaim, int thrash)No description in source.
classifyint classify(int dAlloc, int dReclaim, int dColl)No description in source.
observeint observe(int allocated, int reclaimed, int collections, SLVmResult res, SLVmReport rep)observe fresh cumulative stats; returns the condition.
shouldCollectYoungboolean shouldCollectYoung()No description in source.
conditionNameString conditionName(int c)No description in source.

SLVMHeap #sleela 2.5 (lib/vm/SLVMHeap.sleela)

SLVMHeap class

Defines SLVMHeap — the object store of the secondary Sleela VM. It hands out stable integer handles and lays every object out over SLRAM as a small header (classId, fieldCount, mark) followed by its field slots. A value never embeds another object; it embeds a handle, so the GC can relocate or reclaim without the SLeeLa surface needing pointers. Allocation is a bump pointer over an SLRAM arena (unbounded tape => the VM can express arbitrarily large object graphs). mark()/sweepReset() give the native tri-colour collector (GC.md) a surface to drive; here they maintain the mark bit so a Sleela-sourced VM can reason about liveness without crossing to C. Family: vm. Composes SLRAM; composed by SLVM.

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
H_CLASSstatic final int H_CLASS = 0Per-object header layout (words), then fieldCount field slots follow. classId of this object
H_FIELDSstatic final int H_FIELDS = 1number of field slots
H_MARKstatic final int H_MARK = 2GC mark bit (0 = white, 1 = reachable)
HEADERstatic final int HEADER = 3header size in words
SLOTstatic final int SLOT = 2Each field slot is a packed SLVMValue: 2 words (tag, payload).
arenaSLRAM arenaNo description in source.
capacityWordsint capacityWordsNo description in source.
nextint nextbump pointer (word index of next free cell)
liveObjectsint liveObjectsNo description in source.
allocatedint allocatedtotal objects ever allocated

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int words)No description in source.
allocateint allocate(int classId, int fieldCount)Allocate an object of classId with fieldCount fields; returns its handle (the word index of its header). All fields start as NULL.
classOfint classOf(int handle)No description in source.
fieldCountint fieldCount(int handle)No description in source.
getFieldvoid getField(int handle, int index, SLVMValue out)Read field i of an object into the provided SLVMValue carrier.
setFieldvoid setField(int handle, int index, SLVMValue v)Write a value into field i of an object.
markvoid mark(int handle)--- GC surface (drives / mirrors the native collector) ---
markedboolean marked(int handle)No description in source.
clearMarksvoid clearMarks()No description in source.
bytesUsedint bytesUsed()No description in source.
wordsUsedint wordsUsed()No description in source.
capacityint capacity()No description in source.
objectCountint objectCount()No description in source.
totalAllocatedint totalAllocated()No description in source.
fullboolean full(int fieldCount)No description in source.

SLVMManager #sleela 2.5 (lib/vm/creator/SLVMManager.sleela)

SLVMManager 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
formalNameString formalName = "Manager"; Integer generation = 5; String vmPath = "/5"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureResourceManagementfunction configureResourceManagement(); function configureProcessManagement(); function configureModuleManagement();No description in source.
validateResourcePlanfunction validateResourcePlan(SleelaVMResourcePlan resources); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVMMemory #sleela 2.5 (lib/vm/SLVMMemory.sleela)

SLVMMemory class

Defines SLVMMemory — the flat linear address space of the secondary Sleela VM, distinct from the object heap (SLVMHeap). It backs raw loads/stores, string/array blobs, and the module code image over SLRAM, with word- and byte-granular access and simple bounds checking. The heap carves its arena from this space; native bindings may map device windows into it. Keeping a byte-addressable linear memory separate from the typed heap lets the secondary VM model both managed objects and the raw memory a guest OS/CPU model expects — the same split the native layer draws between SLRAM and the managed runtime. Family: vm. Composes SLRAM; composed by SLVM.

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
MODE_SIMULATEDstatic final int MODE_SIMULATED = 0Backing mode. SLRAM (bridge-backed, accounted)
MODE_NATIVEstatic final int MODE_NATIVE = 1SLNativeMemory (real host RAM, direct)
modeint modeNo description in source.
storeSLRAM storeused in MODE_SIMULATED
nativeSLNativeMemory nativeused in MODE_NATIVE
capacityWordsint capacityWordsNo description in source.
readsint readsNo description in source.
writesint writesNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int words)Default (simulated) backing over SLRAM.
configureNativevoid configureNative(int words)Native-RAM backing: the linear address space lives in REAL host memory, for running outside the simulated store (procedural layment). Same interface.
nativeBackedboolean nativeBacked()No description in source.
inRangeboolean inRange(int addr)No description in source.
readWordint readWord(int addr)No description in source.
writeWordvoid writeWord(int addr, int value)No description in source.
readByteint readByte(int byteAddr)Byte view packed four-per-word, little-endian within the word.
writeBytevoid writeByte(int byteAddr, int value)No description in source.
copyvoid copy(int dst, int src, int words)Copy a block of words (memmove-style, forward).
capacityint capacity()No description in source.
readCountint readCount()No description in source.
writeCountint writeCount()No description in source.

SLVmMemory #sleela 2.5 (lib/vm/src/sleela/SLVmMemory.sleela)

SLVmMemory class

Defines SLVmMemory — the OOD equivalent of the native memory hardening layer (virtual-machine/vm-version/002/vm_memory.{h,c}, v002). It adds WARNING and CRITICAL pressure watermarks over the memory manager's live/limit accounting and classifies a condition (NORMAL/PRESSURE/CRITICAL/ LIMIT), edge-triggering a report through SLVmReport only when a watermark is crossed (not per allocation) and a recovery notice when it returns to normal. The native side samples sleela_memmgr; this class holds the watermarks + the fed live/limit sample and the edge-trigger latch. Mirrors: enum VmMemCondition, vm_memory_set_watermarks/poll/condition/ usage_fraction/report. Family: vm. Composes SLVmReport.

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
NORMALstatic final int NORMAL = 0No description in source.
PRESSUREstatic final int PRESSURE = 1No description in source.
CRITICALstatic final int CRITICAL = 2No description in source.
LIMITstatic final int LIMIT = 3No description in source.
warnPctint warnPctwatermarks as percent of the hard limit (defaults 80 / 95).
critPctint critPctNo description in source.
liveMiBint liveMiBthe latest sampled numbers (fed from the native memmgr stats).
limitMiBint limitMiBNo description in source.
refusedint refusedNo description in source.
lastint lastlast classified condition
peakReportedint peakReportedhighest condition already announced (edge-trigger)

Methods — the actions this unit can perform.

MethodSignatureWhat it does
defaultsvoid defaults()No description in source.
setWatermarksvoid setWatermarks(int warning, int critical)No description in source.
samplevoid sample(int live, int limit, int refusedCount)Feed a fresh memmgr sample (live/limit MiB + cumulative refused).
usagePctint usagePct()No description in source.
classifyint classify()No description in source.
pollint poll(SLVmReport r)Poll + edge-triggered report through SLVmReport. Returns the condition.
conditionNameString conditionName(int c)No description in source.

SLVMMethod #sleela 2.5 (lib/vm/SLVMMethod.sleela)

SLVMMethod class

Defines SLVMMethod — one executable method in the secondary Sleela VM. A method is a window into its module's canonical-opcode code store (SLVMModule holds the SLSleelaVM substrate): an entry instruction index, a length, an argument count, and a local-slot count. Calling a method pushes an SLVMFrame sized to maxLocals and points the substrate's ip at entry. The method does not own code bytes itself — code lives once in the module's SLSleelaVM so every layer executes the same 156 canonical opcodes the native engine (lib/cpu/SLSleelaVM) interprets. A method also carries an access role (exposed-hop / local-system / integrity-guarded) under the extensible-network interpretation, so the VM can gate resolution by role and realize the per-role backdrop. Family: vm. Composed by SLVMClass; drives SLVMFrame + SLVMModule.

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
nameString nameNo description in source.
descriptorString descriptore.g. "(II)I" style signature summary
entryint entryfirst opcode index in the module code store
lengthint lengthnumber of opcodes
argCountint argCountoperands popped from caller / consumed as params
maxLocalsint maxLocalslocal slots the frame must reserve
isStaticboolean isStaticNo description in source.
isNativeboolean isNativebody is an SLVMNativeBinding instead of opcodes
accessRoleint accessRoleAccess role under the extensible-network interpretation (mirrors SLAccessSemantics.ROLE_*): 0 none, 1 exposed-hop (public), 2 local-system (private), 3 integrity-guarded (protected). This is the first VM-level access metadata on a method; resolveMethod gates on it (see SLVMClass).
memTierint memTierMemory tier this method runs against (SLMemoryTierRouter.TIER_*): 0 inherit (use the program/document default), 1 usual (DDR2), 2 accurate (DDR5). Set from the usualmem/accuratemem modifiers; the dispatcher uses it to pick the physical memory module the method binds to.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String methodName, String sig, int entryIndex, int codeLength,No description in source.
configureAccessvoid configureAccess(String methodName, String sig, int entryIndex, int codeLength,Full form: also record the method's access role. The old configure() delegates here with role 0 (none), so existing callers are unchanged.
setAccessRolevoid setAccessRole(int role)No description in source.
setMemTiervoid setMemTier(int tier)No description in source.
methodNameString methodName()No description in source.
signatureString signature()No description in source.
entryPointint entryPoint()No description in source.
lastIndexint lastIndex()No description in source.
arityint arity()No description in source.
localsint locals()No description in source.
staticMethodboolean staticMethod()No description in source.
nativeMethodboolean nativeMethod()No description in source.
roleint role()Role predicates for the resolve-time access gate.
exposedHopboolean exposedHop()public : REST-exposed
localOnlyboolean localOnly()private : local/admin/safety
guardedboolean guarded()protected: integrity-checked
tierint tier()Memory-tier accessors (SLMemoryTierRouter.TIER_*).
usualTierboolean usualTier()No description in source.
accurateTierboolean accurateTier()No description in source.
containsboolean contains(int ip)Does the given instruction index fall inside this method's code window?

SLVmModium #sleela 2.5 (lib/vm/src/sleela/SLVmModium.sleela)

SLVmModium class

Defines SLVmModium — the file-resolution scanner a VM runs for itself. It verifies that a version's files exist, sit where they should (each recorded relative to itself, its parent, and the whole folder structure that led to it), and are intact by SHA-256 (the ~95% hash scan) against that version's MODIUM.json. For exact reconstitution of a file that fails the hash, the version's rebuild.sql — a portable MySQL database carrying each file's content — is the recovery source; restore is explicit-only and never silently overwrites. The host performs the scan; this class is the Sleela-side record + seam, routed through the OP_MODIUM_SCAN service opcode (149). Mirrors the native `sleela modium` subcommand and the generate-modium.py record (path/name/parent/ancestry/depth/sha256/size). Idempotent by design: the manifest is sorted and stable, so a clean tree always scans the same. Family: vm. Composes SLVmResult, SLVmReport; selected per version via SLVmVersion/SLVmRegistry. Native work crosses the SLVMNativeBinding VM-exit.

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
MODE_SHAstatic final int MODE_SHA = 0scan modes ~95% case: existence + location + SHA-256
MODE_EXACTstatic final int MODE_EXACT = 1additionally byte-exact
FILE_OKstatic final int FILE_OK = 0per-file outcome ordinals (mirror the subcommand's classification)
FILE_MISSINGstatic final int FILE_MISSING = 1not where it should be
FILE_CORRUPTstatic final int FILE_CORRUPT = 2present but SHA/bytes mismatch
FILE_UNREADABLEstatic final int FILE_UNREADABLE= 3No description in source.
vmNumberint vmNumber1..10
manifestPathString manifestPath"virtual-machine/vm-version/NNN/MODIUM.json"
rebuildPathString rebuildPath"virtual-machine/vm-version/NNN/rebuild.sql"
modeint modeNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int number, int scanMode)No description in source.
resetvoid reset()No description in source.
scanint scan(SLVmResult res, SLVmReport rep)Request the host scan via the service opcode. Returns a status (0 ok, -1 out of range); detailed per-file results are reported by the host.
tallyvoid tally(int outcome)Tally one file outcome (the host calls this per file).
resolvedboolean resolved()No description in source.
reconstituteHintString reconstituteHint()Reconstitution advice: exact recovery comes from rebuild.sql (MySQL), or a restore from the version's committed git content. Never automatic.
reportvoid report(SLVmReport rep)No description in source.
pad3String pad3(int n)No description in source.

SLVMModule #sleela 2.5 (lib/vm/SLVMModule.sleela)

SLVMModule class

Defines SLVMModule — a loaded unit of code and types in the secondary Sleela VM: the id->SLVMClass table for the types it declares, an entry class/method to begin execution, and the shared SLSleelaVM substrate that actually holds and runs the 156 canonical opcodes those methods compile to. A module is the granularity the loader (SLVMModuleLoader) resolves and the linker (SleelaVMLinkingManager*) binds. The module owns the substrate so every method in it executes against one code store — the same opcode stream the native engine (lib/cpu/SLSleelaVM) interprets, which is what keeps the two VM layers behaviourally identical. Family: vm. Composes SLVMClass, SLSleelaVM; composed by SLVM.

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
nameString nameNo description in source.
stateint state0 unloaded, 1 loaded, 2 linked
substrateSLSleelaVM substratethe canonical-opcode engine shared by all methods
classCountint classCountNo description in source.
entryClassIdint entryClassIdNo description in source.
entryMethodString entryMethodNo description in source.
accessSLAccessManifest accessStated access semantics this module was compiled with (null until adopted from the program image). When present, the VM realizes the System backdrop and enforces role-gated resolution from it instead of guessing.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String moduleName, int codeCap, int stackCap, int globalCap)No description in source.
adoptAccessvoid adoptAccess(SLAccessManifest manifest)Adopt the access manifest the compiled image carries, so the module honors the stated public/private/protected semantics (exposed hop / local system / integrity-guarded) rather than inferring them.
accessManifestSLAccessManifest accessManifest()No description in source.
hasAccessboolean hasAccess()No description in source.
accessCompetentboolean accessCompetent()No description in source.
emitint emit(int opcode, int arg)Append one canonical opcode to the shared code store; returns its index so methods can be configured with (entry,length) windows.
codeLengthint codeLength()No description in source.
addClassvoid addClass(SLVMClass k)No description in source.
classIndexSLVMClass classIndex(int index)No description in source.
classByIdSLVMClass classById(int id)Look a class up by the id stored in object headers.
classByNameSLVMClass classByName(String className)No description in source.
resolveMethodSLVMMethod resolveMethod(int classId, String methodName)Resolve a method with a superclass walk using the module's class table.
resolveExposedMethodSLVMMethod resolveExposedMethod(int classId, String methodName)Resolve a method the way the network sees it: only an exposed (public) hop binds. This is the module-level enforcement point for "a network of files may assume a public function is reachable" — private/protected do not bind.
resolveMethodForCallerSLVMMethod resolveMethodForCaller(int classId, String methodName, int callerRole)Resolve on behalf of a caller with a known role (local/in-system callers can reach private/protected; a network/exposed caller cannot).
setEntryvoid setEntry(int classId, String methodName)No description in source.
loadvoid load()No description in source.
linkvoid link()No description in source.
moduleNameString moduleName()No description in source.
engineSLSleelaVM engine()No description in source.
classesint classes()No description in source.
entryClassint entryClass()No description in source.
entryNameString entryName()No description in source.
loadedboolean loaded()No description in source.
linkedboolean linked()No description in source.
activeboolean active()No description in source.

SLVMModuleLoader #sleela 2.5 (lib/vm/SLVMModuleLoader.sleela)

SLVMModuleLoader class

Defines SLVMModuleLoader — the loader-facing lifecycle that turns a named package into a resolved SLVMModule in the secondary Sleela VM. It discovers a package root, builds the module's class/method/field metadata, registers each resolved symbol, and tracks link state so the linking manager (SleelaVMLinkingManager*) can bind entry points. Native discovery remains filesystem-driven below the bridge; this object models the package lifecycle above it. The loader can also adopt the program's access manifest (finishModuleWithAccess) so the loaded module honors the stated public/private/protected system roles and the VM realizes the per-role backdrop. Family: vm. Produces/consumes SLVMModule, SLVMClass, SLAccessManifest; composed by SLVM.

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
currentSLVMModule currentNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String libraryRoot)No description in source.
selectvoid select(String name)No description in source.
discovervoid discover(String name)No description in source.
beginModuleSLVMModule beginModule(String name, int codeCap, int stackCap, int globalCap)Begin a module: allocate its substrate-backed body so classes can be added.
defineClassvoid defineClass(SLVMClass k)Register a resolved class into the current module and count its symbols.
finishModuleSLVMModule finishModule(int entryClassId, String entryMethod)Finalise loading: mark the module loaded and set its entry point.
finishModuleWithAccessSLVMModule finishModuleWithAccess(int entryClassId, String entryMethod,Finalise loading AND adopt the program's access manifest, so the loaded module honors the stated public/private/protected system roles (exposed hop / local / integrity-guarded) and the VM can realize the backdrop. Returns the loaded module; the old finishModule() remains for access-free images.
accessRealizedboolean accessRealized()Did the current module load a competent access backdrop the VM may realize?
registerPackagevoid registerPackage()No description in source.
loadvoid load()No description in source.
unloadvoid unload()No description in source.
activeboolean active()No description in source.
selectedboolean selected()No description in source.
packageCountint packageCount()No description in source.
symbolCountint symbolCount()No description in source.
packageAvailableboolean packageAvailable(String p)No description in source.
moduleSLVMModule module()No description in source.
libraryString library()No description in source.
packageString package()No description in source.

SLVMNativeBinding #sleela 2.5 (lib/vm/SLVMNativeBinding.sleela)

SLVMNativeBinding class

Defines SLVMNativeBinding — the controlled seam where a method of the secondary Sleela VM crosses to the native engine. A binding names a native service (by symbol and by a canonical OS/service opcode from the 156-opcode ISA) and records its arity. When the VM dispatches a native method it invokes the binding, which parks a VM-exit the host services — exactly the mechanism lib/cpu/SLSleelaVM uses in hosted mode. This keeps "native work crosses an explicit bridge" (the vm-family rule) concrete: nothing in the secondary VM calls C directly; it goes through a named, arity-checked binding that the hypervisor/OS can audit. Family: vm. Composed by SLVM; mirrors lib/cpu VM-exit routing.

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
symbolString symbole.g. "sleela_vm_print_int"
serviceOpcodeint serviceOpcodecanonical OP_* this binding fronts (-1 if pure native)
arityint arityoperands consumed
boundint bound1 once resolved against the native table
lastResultint lastResultNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String nativeSymbol, int opcode, int args)No description in source.
resolvevoid resolve()No description in source.
nativeSymbolString nativeSymbol()No description in source.
opcodeint opcode()No description in source.
argCountint argCount()No description in source.
resolvedboolean resolved()No description in source.
invokeint invoke(SLSleelaVM substrate, int payload)Front the native call by parking a VM-exit on the substrate. The host reads exitReasonOpcode()/exitReasonPayload(), performs the real work, and resumes with pushResult(). payload is the primary argument (e.g. char to print).
recordResultvoid recordResult(int value)No description in source.
resultint result()No description in source.

SLVMObject #sleela 2.5 (lib/vm/SLVMObject.sleela)

SLVMObject class

Defines SLVMObject — a typed handle to a heap-allocated instance in the secondary Sleela VM. The object's state lives in SLVMHeap (header + field slots); SLVMObject is the convenient surface a Sleela-sourced VM uses to read and write that state by field index without touching raw SLRAM. It binds a heap handle to the heap that owns it, so getField/setField route through the GC-aware store and the object participates in marking. Family: vm. Composes SLVMHeap, SLVMValue.

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
heapSLVMHeap heapNo description in source.
handleint handle-1 == null object

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bindvoid bind(SLVMHeap h, int objectHandle)No description in source.
createvoid create(SLVMHeap h, int classId, int fieldCount)Allocate a fresh instance of classId with fieldCount fields on the heap.
isNullboolean isNull()No description in source.
referenceint reference()No description in source.
classIdint classId()No description in source.
fieldCountint fieldCount()No description in source.
getFieldvoid getField(int index, SLVMValue out)No description in source.
setFieldvoid setField(int index, SLVMValue v)No description in source.
getIntint getInt(int index)Convenience scalar accessors for the common integer-field case.
setIntvoid setInt(int index, int value)No description in source.
markvoid mark()No description in source.

SLVMOperator #sleela 2.5 (lib/vm/creator/SLVMOperator.sleela)

SLVMOperator 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
formalNameString formalName = "Operator"; Integer generation = 2; String vmPath = "/2"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureOperationsfunction configureOperations(); function configureRuntime(); function validateOperations();No description in source.
buildfunction build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmPlatform #sleela 2.5 (lib/vm/src/sleela/SLVmPlatform.sleela)

SLVmPlatform class

Defines SLVmPlatform — the OOD equivalent of the native platform-parity readout (virtual-machine/vm-version/008/vm_platform.{h,c}, v008). It names the host (Win32/POSIX/Apple) and, per capability, reports parity: supported by the OS AND permitted by config. A capability a user permits but the OS does not support raises a typed UNAVAILABLE result once. The native side reads sleela_platform; this class holds the detected platform + the per-capability OS-support bits fed to it. Mirrors: enum VmPlatform, vm_platform_supports/parity/audit/report. Family: vm. Composes SLVmConfig, SLVmCapability, SLVmResult, SLVmReport.

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
UNKNOWNstatic final int UNKNOWN = 0No description in source.
LINUXstatic final int LINUX = 1No description in source.
WINDOWSstatic final int WINDOWS = 2No description in source.
MACOSstatic final int MACOS = 3No description in source.
platformint platformNo description in source.
osVersionString osVersionNo description in source.
archString archNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(int detected, String version, String architecture)No description in source.
setSupportvoid setSupport(int cap, boolean supported)Caller may mark a capability unsupported on this OS (e.g. ipc/dynlib variance).
supportsboolean supports(int cap)No description in source.
parityboolean parity(int cap, SLVmCapability caps, SLVmResult res, SLVmReport rep)1 if (OS supports) AND (config permits); warns once if permitted-but-not-supported.
platformNameString platformName()No description in source.

SLVmPremiumVersion #sleela 3.0 (lib/vm/src/sleela/SLVmPremiumVersion.sleela)

SLVmPremiumVersion class

Defines SLVmPremiumVersion -- the base manifest a selectable

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
idString id---- identity (faithful to impl/frontend/driver.cpp kPremium) ---- e.g. "slvm-1"
codenameString codenameThe generation codename -- faithful to each VM's SLVM_CODENAME in its src/slvmNN_vm.c. The eleven form an ascending authority ladder that IS the progression: Foundation, Operator, Specialist, Supervisor, Manager, Director, Administrator, Executive, Authority, Principal, Sovereign.
labelString labele.g. "dedicated VM: broker, capabilities, security, OS boundary"
numberint number1..11
dirString dire.g. "sleela-virtual-machine/001"
validatorString validatorthe admission feature validator this generation compiles+calls at boot (USER-GUIDE: 1 security supervisor ... 11 TAC3 filesystem module)
profileSLVmConfig profilethe default configuration a user starts from
hasVerifiedStorageint hasVerifiedStorage010

Methods — the actions this unit can perform.

MethodSignatureWhat it does
basevoid base(int n, String identifier, String code, String lbl, String directory, String val)Subclasses call base() then set their specifics.
composeThroughvoid composeThrough(int n)Enable every capability up to generation `n` (the cumulative carry-forward).
capabilityCountint capabilityCount()No description in source.
nativeBinaryString nativeBinary()The native binary the master build produces for this generation. The generations build to vm-build/slvm-NN (zero-padded dir, un-padded binary).
buildSLVmRuntime build()Build a configured runtime for this generation (what selection resolves to).
getCodenameString getCodename()getCodename(): the generation's authority-ladder name (real, from source).
describevoid describe()No description in source.

SLVMPrincipal #sleela 2.5 (lib/vm/creator/SLVMPrincipal.sleela)

SLVMPrincipal class

the source-level construction contract for the Principal SLVM generation. Like the other generation classes it is a build-side contract (configure/build/verify), descriptive only; selecting it never implicitly grants OS, filesystem, network, storage, security, or administrative capability. SleelaVMCreator does the actual instantiation/boot. Family: vm.creator.

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
formalNameString formalName = "Principal"; Integer generation = 10; String vmPath = "/10"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurePrincipalGovernancefunction configurePrincipalGovernance(); function selectPrincipalModules(); function validatePrincipal();No description in source.
configurefunction configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmProfile #sleela 2.5 (lib/vm/src/sleela/SLVmProfile.sleela)

SLVmProfile class

Defines SLVmProfile — the OOD equivalent of the native dispatch profiler (virtual-machine/vm-version/006/vm_profile.{h,c}, v006). It keeps per-opcode-family execution counts and accumulated nanoseconds (arith, control, loadstore, call, struct, bridge, print), a hot-family query, and a ranked report, feeding the SLVmTelemetry STEPS/BRIDGE counters so totals stay consistent. The native side reads a monotonic clock; on the Sleela surface (no arrays) the seven families are numbered fields and timing is supplied as a delta. Mirrors: enum VmOpFamily, vm_profile_tick/count/nanos/hot/report. Family: vm. Composes SLVmTelemetry.

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
OP_ARITHstatic final int OP_ARITH = 0No description in source.
OP_CONTROLstatic final int OP_CONTROL = 1No description in source.
OP_LOADSTOREstatic final int OP_LOADSTORE = 2No description in source.
OP_CALLstatic final int OP_CALL = 3No description in source.
OP_STRUCTstatic final int OP_STRUCT = 4No description in source.
OP_BRIDGEstatic final int OP_BRIDGE = 5No description in source.
OP_PRINTstatic final int OP_PRINT = 6No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
attributevoid attribute(int family, int nanos, SLVmTelemetry tel)attribute one dispatch of a family (nanos may be 0 for a count-only tick), and bump telemetry STEPS (and BRIDGE for native-bridge families).
nanosOfint nanosOf(int family)No description in source.
hotint hot()the family with the most accumulated time (the hot path).
familyNameString familyName(int f)No description in source.

SLVmReport #sleela 2.5 (lib/vm/src/sleela/SLVmReport.sleela)

SLVmReport class

Defines SLVmReport — the OOD equivalent of the native uniform diagnostic surface (virtual-machine/vm-version/001/vm_report.{h,c}, v001). It fixes one legible line format for every VM subsystem, "[idea-vm] <SEV> (<subsystem>[/<code>]): <message>", gated by the active verbosity, so a user sees consistent diagnostics instead of raw status ints. On the native side output goes to a stream; on the Sleela side this class formats and gates the line (print is the surface sink). Mirrors: enum VmSeverity, vm_report/vm_error/vm_warn/vm_notice/vm_debug. Family: vm. Composed by SLVmResult, SLVmMemory, SLVmTelemetry, SLVmAudit, SLVmRuntime; it reads an SLVmConfig for the verbosity gate.

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
SEV_DEBUGstatic final int SEV_DEBUG = 0No description in source.
SEV_NOTICEstatic final int SEV_NOTICE = 1No description in source.
SEV_WARNstatic final int SEV_WARN = 2No description in source.
SEV_ERRORstatic final int SEV_ERROR = 3No description in source.
verbosityint verbositymirrors the active SLVmConfig verbosity

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bindvoid bind(SLVmConfig cfg)No description in source.
severityNameString severityName(int s)No description in source.
minShownint minShown()Lowest severity shown at the current verbosity (mirror min_shown()).
emitint emit(int sev, String subsystem, String code, String message)Emit one diagnostic if the severity is permitted. Returns 1 if printed.
errorint error(String subsystem, String code, String message)No description in source.
warnint warn(String subsystem, String code, String message)No description in source.
noticeint notice(String subsystem, String message)No description in source.
debugint debug(String subsystem, String message)No description in source.

SLVmResult #sleela 2.5 (lib/vm/src/sleela/SLVmResult.sleela)

SLVmResult class

Defines SLVmResult — the OOD equivalent of the native typed result (virtual-machine/vm-version/003/vm_result.{h,c}, v003). One result the whole VM shares: a stable category code + the subsystem + a message, replacing per-family raw status ints. It reports itself through SLVmReport at the severity its code implies, and maps the legacy sleela_* ABI status convention (0 ok / negative error) onto the stable categories so existing bridges adopt it without changing their return values. Mirrors: enum VmResultCode, struct VmResult { code; subsystem; message }, vm_ok/vm_fail/vm_is_ok/vm_result_report/vm_result_from_status. Family: vm. Composes SLVmReport; folded into SLVmAudit.

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
E_OKstatic final int E_OK = 0No description in source.
E_INVALIDstatic final int E_INVALID = 1No description in source.
E_LIMITstatic final int E_LIMIT = 2No description in source.
E_NOT_FOUNDstatic final int E_NOT_FOUND = 3No description in source.
E_UNAVAILABLEstatic final int E_UNAVAILABLE = 4No description in source.
E_MALFORMEDstatic final int E_MALFORMED = 5No description in source.
E_EXHAUSTEDstatic final int E_EXHAUSTED = 6No description in source.
E_DENIEDstatic final int E_DENIED = 7No description in source.
E_INTERNALstatic final int E_INTERNAL = 8No description in source.
codeint codeNo description in source.
subsystemString subsystemNo description in source.
messageString messageNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
okvoid ok()No description in source.
failvoid fail(int c, String sub, String msg)No description in source.
isOkboolean isOk()No description in source.
codeNameString codeName()No description in source.
reportint report(SLVmReport r)Report through SLVmReport at the severity the code implies.
fromStatusint fromStatus(int status)Map a legacy sleela_* ABI status onto a stable category (mirror vm_result_from_status): 0 ok, negatives per the common convention.

SLVmRuntime #sleela 2.5 (lib/vm/src/sleela/SLVmRuntime.sleela)

SLVmRuntime class

Defines SLVmRuntime — the OOD equivalent of the native consolidated facade (virtual-machine/vm-version/010/vm_runtime.{h,c}, v010). It composes the whole hardened VM — config, report, status, memory, result, telemetry, gc, profile, capability, platform, audit — and wires them in dependency order behind a four-call surface: init / poll / permit / report / shutdown. This is the Sleela object a VM selection resolves to: the native VM holds this record in memory after loading the chosen version's .sleela and uses it to configure and observe the loaded C/C++ VM. Mirrors: VM_RUNTIME_VERSION, vm_runtime_init/register_table/poll/permit/ note/report/shutdown. Family: vm. Composes SLVmConfig, SLVmReport, SLVmStatus, SLVmMemory, SLVmResult, SLVmTelemetry, SLVmGc, SLVmProfile, SLVmCapability, SLVmPlatform, SLVmAudit. Native effects route via SLVMNativeBinding.

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
versionStringString versionStringe.g. "idea-vm v010 (consolidated)"
configSLVmConfig configNo description in source.
reportSLVmReport reportNo description in source.
statusSLVmStatus statusNo description in source.
memorySLVmMemory memoryNo description in source.
resultSLVmResult resulta reusable scratch result
telemetrySLVmTelemetry telemetryNo description in source.
gcSLVmGc gcNo description in source.
profileSLVmProfile profileNo description in source.
capabilitySLVmCapability capabilityNo description in source.
platformSLVmPlatform platformNo description in source.
auditSLVmAudit auditNo description in source.
upint up0 down, 1 running

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init(SLVmConfig cfg, String version)init in dependency order (mirror vm_runtime_init).
registerTablevoid registerTable(int table, int capacity)register a bounded-table capacity for saturation watching.
pollvoid poll(int gcAllocated, int gcReclaimed, int gcCollections, boolean haveGc)periodic health sample: memory pressure (+ gc if fresh stats supplied).
permitboolean permit(int cap, String subsystem, String operation)guard a native operation by capability; records a denial to the trail.
reportStatusvoid reportStatus()the status banner + totals (mirror the consolidated report).
shutdownvoid shutdown()No description in source.

SLVmSource #sleela 2.5 (lib/vm/src/sleela/SLVmSource.sleela)

SLVmSource class

Defines SLVmSource — the OOD equivalent of the native VM source-requirement validator (lib/vm/src/sleela_vm_source.c). It records the requirements a selected VM target must satisfy — target kind (SLVM or SLJVM), pointer width, memory/cpu/stack limits, ABI code, module count, and a 128-bit feature mask — and validates them before the native loader is allowed to build and boot the chosen VM. This is the Sleela gate the VM selector consults when a user chooses a non-native VM. Mirrors: struct sleela_vm_requirements_t + sleela_vm_requirements_validate/ _plan_modules/_feature_enabled/_option_compatible (ABI: SLJVM=32, SLVM=30/31). Family: vm. Consulted by SLVmVersion* manifests and SLVmRegistry.

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
KIND_SLVMstatic final int KIND_SLVM = 0No description in source.
KIND_SLJVMstatic final int KIND_SLJVM = 1No description in source.
kindint kindNo description in source.
pointerBitsint pointerBits32 or 64
memoryLimitMiBint memoryLimitMiBNo description in source.
cpuLimitint cpuLimitNo description in source.
stackLimitint stackLimitNo description in source.
abiCodeint abiCodeSLJVM=32; SLVM=30 or 31
moduleCountint moduleCountNo description in source.
featureMaskLowint featureMaskLowbits 0..30 (surface int)
featureMaskHighint featureMaskHighbits 31..61

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int k, int pbits, int memMiB, int cpu, int stack, int abi)No description in source.
validateboolean validate()validate (mirror sleela_vm_requirements_validate): kind + widths + ABI code.
planModulesboolean planModules(int n)No description in source.
featureEnabledboolean featureEnabled(int bit)feature bit 0..61 via the two halves.
setFeaturevoid setFeature(int bit)No description in source.
pow2int pow2(int n)No description in source.
targetString target()No description in source.

SLVMSovereign #sleela 2.5 (lib/vm/creator/SLVMSovereign.sleela)

SLVMSovereign class

the source-level construction contract for the Sovereign SLVM generation (the highest defined generation). Like the other generation classes it is a build-side contract (configure/build/verify), descriptive only; selecting it never implicitly grants OS, filesystem, network, storage, security, or administrative capability. SleelaVMCreator does the actual instantiation/boot. Family: vm.creator.

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
formalNameString formalName = "Sovereign"; Integer generation = 11; String vmPath = "/11"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureSovereignGovernancefunction configureSovereignGovernance(); function selectSovereignModules(); function validateSovereign();No description in source.
configurefunction configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVMSpecialist #sleela 2.5 (lib/vm/creator/SLVMSpecialist.sleela)

SLVMSpecialist 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
formalNameString formalName = "Specialist"; Integer generation = 3; String vmPath = "/3"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureSubsystemsfunction configureSubsystems(); function configureSpecializedModules(); function validateDependencies();No description in source.
buildfunction build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmStatus #sleela 2.5 (lib/vm/src/sleela/SLVmStatus.sleela)

SLVmStatus class

Defines SLVmStatus — the OOD equivalent of the native status readout (virtual-machine/vm-version/001/vm_status.{h,c}, v001): the "what am I running" banner that renders the VM version plus the applied configuration (memory, threads, verbosity, capabilities). It reads an SLVmConfig and prints a compact banner at NORMAL+ verbosity. Mirrors: VM_VERSION_STRING, vm_status_render/banner. Family: vm. Composes SLVmConfig.

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
versionStringString versionStringe.g. "idea-vm v001 (ground floor)"
configSLVmConfig configNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bindvoid bind(String version, SLVmConfig cfg)No description in source.
bannervoid banner()No description in source.
capsLineString capsLine()No description in source.

SLVMSupervisor #sleela 2.5 (lib/vm/creator/SLVMSupervisor.sleela)

SLVMSupervisor 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
formalNameString formalName = "Supervisor"; Integer generation = 4; String vmPath = "/4"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configureSupervisionfunction configureSupervision(); function configureScheduling(); function configureExecutionGuards();No description in source.
validateSupervisionfunction validateSupervision(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan);No description in source.

SLVmTelemetry #sleela 2.5 (lib/vm/src/sleela/SLVmTelemetry.sleela)

SLVmTelemetry class

Defines SLVmTelemetry — the OOD equivalent of the native observability layer (virtual-machine/vm-version/004/vm_telemetry.{h,c}, v004). It holds VM-wide monotonic counters (steps, allocs, bridge calls, errors) and a saturation gauge per bounded handle table (best-of 32, synchro 64, munction 64, ai, canvas), with a high-water mark and an edge-triggered saturation watch that raises an EXHAUSTED result through SLVmResult/SLVmReport when a table crosses its watermark. The native layer is lock-free C11 atomics; on the Sleela surface (no arrays) the four counters and the watched tables are expanded into numbered fields. Mirrors: enum VmCounter, enum VmTable, vm_telemetry_add/get/gauge/report. Family: vm. Composes SLVmResult, SLVmReport. Tables use numbered fields in place of arrays, matching the SLVM binding-table convention.

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
watermarkPctint watermarkPctdefault 80

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initvoid init()No description in source.
setWatermarkvoid setWatermark(int pct)No description in source.
addStepsvoid addSteps(int n)counter bumps (mirror vm_telemetry_add)
addAllocsvoid addAllocs(int n)No description in source.
addBridgevoid addBridge(int n)No description in source.
addErrorsvoid addErrors(int n)No description in source.
setCapacityvoid setCapacity(int table, int cap)register a table capacity (0=bestof 1=synchro 2=munction 3=ai 4=canvas)
gaugevoid gauge(int table, int live, SLVmResult res, SLVmReport rep)update a gauge; edge-trigger an EXHAUSTED result on crossing the watermark.
setWarnedvoid setWarned(int table, int v)No description in source.

SLVMThread #sleela 2.5 (lib/vm/SLVMThread.sleela)

SLVMThread class

Defines SLVMThread — one thread of control in the secondary Sleela VM. A thread is a chain of SLVMFrames (its call stack) plus a run state. The topmost frame is the one currently executing; CALL links a new frame as its caller, RET unlinks it. Each thread executes independently so the VM can model OP_SPAWN / OP_JOINALL from the canonical ISA. Frames are wired as a linked chain through SLVMFrame rather than an array (SLeeLa surface has no arrays): the thread holds only the current frame and a depth counter; callers keep their frame in a local as they recurse. For the bounded common case the thread also pins up to 8 frames so a scheduler can inspect the stack. Family: vm. Composes SLVMFrame; composed by SLVM.

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
STATE_NEWstatic final int STATE_NEW = 0No description in source.
STATE_RUNNINGstatic final int STATE_RUNNING = 1No description in source.
STATE_BLOCKEDstatic final int STATE_BLOCKED = 2No description in source.
STATE_DONEstatic final int STATE_DONE = 3No description in source.
idint idNo description in source.
nameString nameNo description in source.
stateint stateNo description in source.
depthint depthnumber of active frames
thisClassIdint thisClassIdcurrent "this" context class for field opcodes
thisHandleint thisHandlecurrent "this" object handle

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int threadId, String threadName)No description in source.
startvoid start()No description in source.
blockvoid block()No description in source.
resumevoid resume()No description in source.
finishvoid finish()No description in source.
pushFramevoid pushFrame(SLVMFrame frame)No description in source.
frameAtSLVMFrame frameAt(int index)No description in source.
currentFrameSLVMFrame currentFrame()No description in source.
popFramevoid popFrame()No description in source.
enterContextvoid enterContext(int classId, int handle)No description in source.
contextClassint contextClass()No description in source.
contextHandleint contextHandle()No description in source.
threadIdint threadId()No description in source.
threadNameString threadName()No description in source.
runStateint runState()No description in source.
stackDepthint stackDepth()No description in source.
runningboolean running()No description in source.
doneboolean done()No description in source.
activeboolean active()No description in source.

SLVMValue #sleela 2.5 (lib/vm/SLVMValue.sleela)

SLVMValue class

Defines SLVMValue — a single tagged runtime value in the secondary Sleela VM. Every operand on a frame's stack, every field slot, and every local is an SLVMValue: a 2-word pair of (tag, payload). The tag says how to read the payload; the payload is either an inline scalar (int/bool/char) or a heap handle (object/string/array reference) into SLVMHeap. This is the atom the whole secondary VM manipulates. Keeping it a flat (tag,payload) pair means values can live uniformly in SLRAM-backed stacks and heaps without the SLeeLa surface needing arrays of structs. Family: vm. Composed by SLVMFrame, SLVMObject, SLVMHeap.

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
TAG_NULLstatic final int TAG_NULL = 0Type tags. NULL is the canonical empty reference.
TAG_INTstatic final int TAG_INT = 1No description in source.
TAG_BOOLstatic final int TAG_BOOL = 2No description in source.
TAG_CHARstatic final int TAG_CHAR = 3No description in source.
TAG_REFstatic final int TAG_REF = 4payload is a heap handle (object/array)
TAG_STRstatic final int TAG_STR = 5payload is a heap handle to a string blob
tagint tagNo description in source.
payloadint payloadNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setNullvoid setNull()No description in source.
setIntvoid setInt(int v)No description in source.
setBoolvoid setBool(boolean b)No description in source.
setCharvoid setChar(int c)No description in source.
setRefvoid setRef(int handle)No description in source.
setStrvoid setStr(int handle)No description in source.
typeint type()No description in source.
rawint raw()No description in source.
asIntint asInt()No description in source.
asBoolboolean asBool()No description in source.
asHandleint asHandle()No description in source.
isNullboolean isNull()No description in source.
isScalarboolean isScalar()No description in source.
isReferenceboolean isReference()No description in source.
truthyboolean truthy()Truthiness used by control-flow opcodes (JMPF): null and 0 are false.
packedTagint packedTag()Pack/unpack the (tag,payload) pair as a single word so a value can be stored in one SLRAM slot when a frame stack is laid out two words apart.
packedPayloadint packedPayload()No description in source.
unpackvoid unpack(int t, int p)No description in source.

SLVmVersion #sleela 2.5 (lib/vm/src/sleela/SLVmVersion.sleela)

SLVmVersion class

Defines SLVmVersion — the base manifest a selectable VM version

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
idString ide.g. "idea-vm-001"
labelString labele.g. "ground floor"
numberint number1..10
nativeDirString nativeDire.g. "virtual-machine/vm-version/001"
nativeMainString nativeMainthe C/C++ entry (e.g. "vm_ground_test" / "vm_runtime")
hasBigIntSeriesint hasBigIntSeriesbig integer series: SLeeLa fixed-width int32..int16777216 (signed) and uint32..uint16777216 (unsigned), power-of-two widths 2^5..2^24. A foundational language number capability, present from v001 in every think-tank version (parallels the premium VMs admitting the same series).
hasMemoryint hasMemory002
hasResultint hasResult003
hasTelemetryint hasTelemetry004
hasGcint hasGc005
hasProfileint hasProfile006
hasCapabilityint hasCapability007
hasPlatformint hasPlatform008
hasAuditint hasAudit009
hasRuntimeint hasRuntime010
profileSLVmConfig profilethe default configuration a user starts from

Methods — the actions this unit can perform.

MethodSignatureWhat it does
basevoid base(int n, String identifier, String lbl, String dir, String mainEntry)Subclasses call base() then set their specifics.
composeThroughvoid composeThrough(int n)Enable every additive unit up to version `n` (the cumulative carry-forward).
unitCountint unitCount()No description in source.
supportsBigIntSeriesint supportsBigIntSeries()1 iff this version supports the SLeeLa fixed-width big integer series (int32..int16777216, uint32..uint16777216). True for every version.
buildSLVmRuntime build()Build a configured runtime for this version (what selection resolves to).
describevoid describe()No description in source.

startup-and-memory-guard #sleela 2.5 (lib/vm/tutorials/examples/startup-and-memory-guard.sleela)

StartupAndMemoryGuardTutorialExample 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
sourceSleelaVMSource sourceNo description in source.
startupSleelaVMStartup startupNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurefunction configure()No description in source.
stopfunction stop()No description in source.

very-senior-vm #sleela 2.5 (lib/vm/examples/04-very-senior/very-senior-vm.sleela)

ComponentFetcher 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
urlString url(String kind, int tier)tier 0 authoritative, 1 official-mirror, 2 college/edu, 3 archive
tierNameString tierName(int t)No description in source.
acquireint acquire(String kind, int primaryDown)Simulate acquisition: the primary (tier 0) is "down" here, so the fetcher falls through to the first working tier. Returns the tier that succeeded.

SyscallBridge class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
enabledboolean enabledNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(boolean processFeature)No description in source.
platformString platform()A guarded syscall: only answers when the PROCESS/OS_SYSCALLS feature is on.
upboolean up()No description in source.

MemoryGuard class

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
modeString mode"slow-careful" / "balanced" / "fast"
aggressivenessint aggressiveness0..100

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String m, int a)No description in source.
validboolean valid()No description in source.
summaryString summary()No description in source.

ChallengeManager class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
requirevoid require(boolean cond)No description in source.
allPassedboolean allPassed()No description in source.
reportString report()No description in source.
verdictString verdict()No description in source.

BuildPlan class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
emitVmConfigCString emitVmConfigC(String name, boolean syscalls, String guardMode)No description in source.
bitString bit(boolean b)No description in source.

VerySeniorVM class

Methods — the actions this unit can perform.

MethodSignatureWhat it does
bannervoid banner(String t)No description in source.
mainvoid main()No description in source.

VMSharp #sleela 3.0 (lib/vm/vmsharp/VMSharp.sleela)

VMSharp class

VMSharp(TM) -- the loadable manifest for a VM that can start as a

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
idString id = "vmsharp"---- identity ----
codenameString codename = "VMSharp"No description in source.
labelString label = "self-installer bootloader VM: minimal desktop or designated OS install"No description in source.
ownerString owner = "MEARVK LLC"No description in source.
bootloaderVMSharpBootloader bootloaderNo description in source.
planVMSharpInstallPlan planNo description in source.
levyVMSharpLevy levyNo description in source.
includedAppsVMSharpIncludedApp[] includedAppsNo description in source.
includedCountint includedCountNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
loadIncludedAppsvoid loadIncludedApps()No description in source.
getIdString getId()No description in source.
getCodenameString getCodename()No description in source.
getLabelString getLabel()No description in source.
getOwnerString getOwner()No description in source.
getBootloaderVMSharpBootloader getBootloader()No description in source.
getPlanVMSharpInstallPlan getPlan()No description in source.
getLevyVMSharpLevy getLevy()No description in source.
includedAppCountint includedAppCount()No description in source.
includedAppVMSharpIncludedApp includedApp(int i)The included app at index i (0-based), or null if out of range.
beginIncludedInstallboolean beginIncludedInstall(VMSharpIncludedApp app)No description in source.
canBootOnboolean canBootOn(String arch, String vendor)Can VMSharp boot on the given processor? Delegates to the bootloader model.
startMinimalDesktopvoid startMinimalDesktop()Start in Minimal Desktop mode (ready immediately once CPU is admitted).
startDownloadAndDesignatevoid startDownloadAndDesignate()No description in source.
describevoid describe()One-line manifest summary for `sleela vm list` style enumeration.

VMSharpBootloader #sleela 3.0 (lib/vm/vmsharp/VMSharpBootloader.sleela)

VMSharpBootloader class

VMSharp(TM) self-installer bootloader MODEL. It models the boot handoff and CPU-architecture admission for VMSharp on commodity desktop processors: 32-bit x86 and 64-bit x64, whether AMD or Intel. It is a declarative state/gating model -- it reports which architectures and vendors are admitted and which boot firmware interface (BIOS/MBR or UEFI) is selected -- and it does NOT flash firmware, write a boot sector, modify a partition table, or touch real hardware. The authoritative live CPU facts come from the OSLS read-only inspection call oslsGetCPUInfo (vendor/model); this class decides admission from the architecture and vendor it is given. Honesty boundary: a real bootable image is produced only by the pinned OS Creator toolchain, not by this source class. This model is what the VMSharp manifest and installer plan reason over before any such image is built.

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
supportsArchboolean supportsArch(String arch)---- supported architectures and vendors ---- "x86" (IA-32, 32-bit) and "x64" (x86-64/AMD64, 64-bit) are admitted.
supportsVendorboolean supportsVendor(String vendor)No description in source.
admitsboolean admits(String arch, String vendor)A processor is admitted when both its architecture and its vendor are.
firmwareForString firmwareFor(String arch)No description in source.
admissionReportString admissionReport(String arch, String vendor)A short human-readable admission verdict for a boot screen.

VMSharpDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpDemo.sleela)

VMSharpDemo 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
mainvoid main()No description in source.

VMSharpDiskLayout #sleela 3.0 (lib/vm/vmsharp/VMSharpDiskLayout.sleela)

VMSharpDiskLayout class

VMSharp(TM) initial hard-drive MANIFEST and partitioning MODEL.

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
rootFilesystemString rootFilesystem = "ext4"---- the choice ----
espFilesystemString espFilesystem = "fat32"No description in source.
rootSizeGiBint rootSizeGiB = 0rootSizeGiB 0 means use the remaining space after ESP and swap.
swapSizeGiBint swapSizeGiB = 4No description in source.
espSizeMiBint espSizeMiB = 512No description in source.
partitionTableString partitionTable = "gpt"partitionTable: gpt (UEFI) or msdos (BIOS).
targetDeviceString targetDevice = ""No description in source.
deviceDesignatedboolean deviceDesignated = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
rootableboolean rootable(String fs)No description in source.
efiSystemPartitionboolean efiSystemPartition(String fs)May this filesystem hold the EFI System Partition (must be FAT)?
mkfsToolString mkfsTool(String fs)No description in source.
chooseRootFilesystemboolean chooseRootFilesystem(String fs)No description in source.
getRootFilesystemString getRootFilesystem()No description in source.
rootChoicesString rootChoices()A newline menu of the root filesystems VMSharp offers (EXT4 default first).
setRootSizeGiBvoid setRootSizeGiB(int g)No description in source.
setSwapSizeGiBvoid setSwapSizeGiB(int g)No description in source.
setEspSizeMiBvoid setEspSizeMiB(int m)No description in source.
useGptvoid useGpt()No description in source.
useMsdosvoid useMsdos()No description in source.
getPartitionTableString getPartitionTable()No description in source.
designateTargetvoid designateTarget(String device)No description in source.
getTargetDeviceString getTargetDevice()No description in source.
isTargetDesignatedboolean isTargetDesignated()No description in source.
partitionManifestSLList partitionManifest()No description in source.
partitionCountint partitionCount()No description in source.
partitionPlanSLList partitionPlan()No description in source.
partitionPlanStepsint partitionPlanSteps()No description in source.
isReadyboolean isReady()No description in source.
summaryString summary()A one-line layout summary.

VMSharpIncludedApp #sleela 3.0 (lib/vm/vmsharp/VMSharpIncludedApp.sleela)

VMSharpIncludedApp class

A VMSharp(TM) INCLUDED APP -- an application the VMSharp image carries as a pre-designated install so it can be brought up on the VMSharp Desktop without the user having to designate a source by hand. This class is a declarative record of ONE included app: its name, audience, upstream source repository and branch, build toolchain, the build and run commands, and the entry point. It also carries a "quiet, perfect install" profile -- a description of an unattended, deterministic install that reports success or fails closed, never a partial or silent-wrong state. Honesty boundary: this class records an install PLAN faithful to the real upstream project. It does NOT clone, download, compile, or run anything, and it moves no funds. A real build/install is performed only by the pinned toolchain the VMSharp OS Creator drives, honoring the user's confirmation and the VMSharpLevy disclosure. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns.

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
appNameString appName = ""---- app identity ----
audienceString audience = ""No description in source.
sourceRepoString sourceRepo = ""No description in source.
sourceBranchString sourceBranch = ""No description in source.
toolchainString toolchain = ""No description in source.
buildCommandString buildCommand = ""No description in source.
runCommandString runCommand = ""No description in source.
entryPointString entryPoint = ""No description in source.
quietInstallboolean quietInstall = trueNo description in source.
perfectInstallboolean perfectInstall = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name, String who, String repo, String branch,No description in source.
getAppNameString getAppName()No description in source.
getAudienceString getAudience()No description in source.
getSourceRepoString getSourceRepo()No description in source.
getSourceBranchString getSourceBranch()No description in source.
getToolchainString getToolchain()No description in source.
getBuildCommandString getBuildCommand()No description in source.
getRunCommandString getRunCommand()No description in source.
getEntryPointString getEntryPoint()No description in source.
isQuietInstallboolean isQuietInstall()No description in source.
isPerfectInstallboolean isPerfectInstall()No description in source.
isFullySpecifiedboolean isFullySpecified()No description in source.
sourceDesignationString sourceDesignation()The source designation string a VMSharpInstallPlan consumes (repo at branch).
installSummaryString installSummary()A one-line disclosure a quiet-install screen can present before proceeding.

VMSharpInstallOption #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallOption.sleela)

VMSharpInstallOption class

One selectable option on a VMSharp(TM) install screen -- a key, a title, a one-line description, and a selected/enabled state. It is the finish-level UI component the install screens render and the user selects, the VMSharp-package sibling of lib/ui SLMenuItem / lib/core SLOption kept self-contained so the install wizard runs without the native UI bridge. Declarative: it holds selection state and renders to text; it performs no install action itself. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.

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
keyString key = ""---- the option ----
titleString title = ""No description in source.
descriptionString description = ""No description in source.
selectedboolean selected = falseNo description in source.
enabledboolean enabled = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String optKey, String optTitle, String optDescription)No description in source.
getKeyString getKey()No description in source.
getTitleString getTitle()No description in source.
getDescriptionString getDescription()No description in source.
isSelectedboolean isSelected()No description in source.
isEnabledboolean isEnabled()No description in source.
selectvoid select()No description in source.
deselectvoid deselect()No description in source.
enablevoid enable()No description in source.
disablevoid disable()No description in source.
renderString render()Render one option line: a marker, the key, the title, and a disabled tag.
renderDetailString renderDetail()A second indented line with the description, for a detailed screen.

VMSharpInstallPlan #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallPlan.sleela)

VMSharpInstallPlan class

VMSharp(TM) startup/install plan MODEL. VMSharp can start in one of two modes once its bootloader admits the processor: 1. MinimalDesktop -- bring up a minimal desktop session from the image. 2. DownloadAndDesignate -- fetch an OS image the user designates by URL, then install it to a target the user designates. This class is a declarative plan and ordered step list. It performs no download, no disk write, no partitioning, and no install. OS installation is a STATE-CHANGING operation: this model requires an explicit user designation (a confirmed target) and a confirmed source before its plan is considered ready, mirroring the OSLS boundary that keeps state-changing work off the read-only path. Nothing here mutates a host. Respectful of United States law and of the persons and groupings of peoples it concerns: the plan never proceeds without explicit, recorded designation.

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
MODE_MINIMAL_DESKTOPint MODE_MINIMAL_DESKTOP = 1---- the two startup modes ----
MODE_DOWNLOAD_AND_DESIGNATEint MODE_DOWNLOAD_AND_DESIGNATE = 2No description in source.
modeint mode = 0No description in source.
sourceDesignationString sourceDesignation = ""For DownloadAndDesignate: the user-designated OS image source and target.
targetDesignationString targetDesignation = ""No description in source.
sourceConfirmedboolean sourceConfirmed = falseNo description in source.
targetConfirmedboolean targetConfirmed = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
getModeint getMode()No description in source.
getModeNameString getModeName()No description in source.
chooseMinimalDesktopvoid chooseMinimalDesktop()No description in source.
chooseDownloadAndDesignatevoid chooseDownloadAndDesignate()No description in source.
designateSourcevoid designateSource(String source)No description in source.
designateTargetvoid designateTarget(String target)Record the user-designated install target. Recording does NOT write it.
getSourceDesignationString getSourceDesignation()No description in source.
getTargetDesignationString getTargetDesignation()No description in source.
isReadyboolean isReady()No description in source.
stepsSLList steps()No description in source.
stepCountint stepCount()No description in source.

VMSharpInstallWizard #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallWizard.sleela)

VMSharpInstallWizard class

The VMSharp(TM) install wizard -- the ordered set of install

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
OPTION_LIMITED_DESKTOPint OPTION_LIMITED_DESKTOP = 1No description in source.
OPTION_OS_SENSITIVITYint OPTION_OS_SENSITIVITY = 2No description in source.
vmVMSharp vmNo description in source.
creatorRunVMSharpOSCreatorRun creatorRunNo description in source.
optionsVMSharpInstallOption[] optionsNo description in source.
optionCountint optionCountNo description in source.
cpuArchString cpuArch = ""the host CPU facts the wizard was given (from oslsGetCPUInfo)
cpuVendorString cpuVendor = ""No description in source.
cpuAdmittedboolean cpuAdmitted = falseNo description in source.
chosenint chosen = 0No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
manifestVMSharp manifest()No description in source.
osCreatorRunVMSharpOSCreatorRun osCreatorRun()No description in source.
getOptionCountint getOptionCount()No description in source.
optionAtVMSharpInstallOption optionAt(int i)No description in source.
welcomeScreenString welcomeScreen()---- Screen 1: welcome ----
recordCpuvoid recordCpu(String arch, String vendor)No description in source.
isCpuAdmittedboolean isCpuAdmitted()No description in source.
cpuScreenString cpuScreen()No description in source.
modeSelectScreenString modeSelectScreen()---- Screen 3: mode selection ----
chooseboolean choose(String key)No description in source.
getChosenint getChosen()No description in source.
desktopScreenString desktopScreen()---- Screen 4a: limited Desktop confirm ----
osSensitivityScreenString osSensitivityScreen(String resolvedAddresses, boolean acquired)No description in source.
diskLayoutScreenString diskLayoutScreen(String rootFs, String targetDisk)No description in source.
levyScreenString levyScreen()---- Screen 5: levy disclosure ----
canConfirmboolean canConfirm()No description in source.
confirmScreenString confirmScreen()No description in source.

VMSharpInstallWizardDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpInstallWizardDemo.sleela)

VMSharpInstallWizardDemo 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
mainvoid main()No description in source.

VMSharpLevy #sleela 3.0 (lib/vm/vmsharp/VMSharpLevy.sleela)

VMSharpLevy class

VMSharp(TM) per-use/per-install levy model. This records a DECLARED fiscal figure and its destination; it is descriptive fiscal metadata, not a payment, collection, escrow, or fund-transfer mechanism. No money moves as a result of this class: it carries the stated amount (USD 380 per use/install), the named destination (a United States national retirement process), and a simple running tally a caller may increment when it has independently and lawfully effected a real charge elsewhere. Honesty boundary: this class never contacts a payment network, never holds funds, and asserts nothing about whether any charge was actually made. The amount and destination are faithful to the owner's stated intent; the class is the auditable record of that intent, respectful of United States law and of the persons and groupings of peoples it concerns.

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
perInstallUsdint perInstallUsd = 380---- the declared levy ---- Amount in whole US dollars charged per VMSharp use/install, as stated.
destinationString destination = "United States national retirement process"The declared destination: a United States national retirement process.
currencyString currency = "USD"The currency of the declared figure.
recordedUsesint recordedUses = 0Running count of uses/installs the caller has recorded (not charges made).

Methods — the actions this unit can perform.

MethodSignatureWhat it does
getPerInstallUsdint getPerInstallUsd()No description in source.
getDestinationString getDestination()No description in source.
getCurrencyString getCurrency()No description in source.
getRecordedUsesint getRecordedUses()No description in source.
recordUsevoid recordUse()No description in source.
declaredTotalUsdint declaredTotalUsd()No description in source.
disclosureString disclosure()A one-line disclosure a boot/install screen can present to the user.

VMSharpNetworkStack #sleela 3.0 (lib/vm/vmsharp/VMSharpNetworkStack.sleela)

VMSharpNetworkStack class

VMSharp(TM) networking-stack MODEL. It describes how VMSharp reaches an external host (e.g. github.com) so it can acquire a repository: the transport (HTTPS over TCP/IP), the default port, the reachability check, and the ordered procedural a reach follows (resolve -> connect -> TLS handshake -> request -> receive). It composes with the OSLS read-only call oslsNetworkResolve for name resolution. It is a declarative model of the stack and its procedure -- it opens no socket, makes no connection, and transfers no bytes; a real transfer is performed by the host network stack under the VMSharp OS, honoring the user's confirmation. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.

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
transportString transport = "HTTPS"---- the stack ----
portint port = 443No description in source.
hostString host = ""No description in source.
resolvedAddressesString resolvedAddresses = ""No description in source.
resolvedboolean resolved = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
getTransportString getTransport()No description in source.
getPortint getPort()No description in source.
getHostString getHost()No description in source.
getResolvedAddressesString getResolvedAddresses()No description in source.
isResolvedboolean isResolved()No description in source.
recordResolutionvoid recordResolution(String hostName, String addresses)No description in source.
isReachableboolean isReachable()No description in source.
procedureSLList procedure()No description in source.
procedureStepsint procedureSteps()No description in source.
summaryString summary()A one-line summary of the transport this stack uses for a host.

VMSharpOSCreatorDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpOSCreatorDemo.sleela)

VMSharpOSCreatorDemo 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
mainvoid main()No description in source.

VMSharpOSCreatorRun #sleela 3.0 (lib/vm/vmsharp/VMSharpOSCreatorRun.sleela)

VMSharpOSCreatorRun class

VMSharp(TM) -> OS Creator run MODEL (first brush). It wires the

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
targetOwnerString targetOwner = "mearvk"---- the target OS source warehouse ----
targetRepoString targetRepo = "OS.Sensitivity.III"No description in source.
targetBranchString targetBranch = "main"No description in source.
targetHostString targetHost = "github.com"No description in source.
destDirString destDir = "vmsharp-os-sensitivity-iii"No description in source.
netStackVMSharpNetworkStack netStackNo description in source.
acqVMSharpRepoAcquisition acqNo description in source.
diskVMSharpDiskLayout diskNo description in source.
reachableboolean reachableNo description in source.
acquiredboolean acquiredNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
networkVMSharpNetworkStack network()No description in source.
acquisitionVMSharpRepoAcquisition acquisition()No description in source.
diskLayoutVMSharpDiskLayout diskLayout()The initial hard-drive layout (filesystem choice + partition manifest).
getTargetRepoString getTargetRepo()No description in source.
getTargetHostString getTargetHost()No description in source.
recordReachvoid recordReach(String addresses)No description in source.
markAcquiredboolean markAcquired()No description in source.
isReachableboolean isReachable()No description in source.
isAcquiredboolean isAcquired()No description in source.
acquisitionCommandString acquisitionCommand()The acquisition command for the chosen method into the destination dir.
provenanceLineString provenanceLine()No description in source.
osCreatorCommandString osCreatorCommand()No description in source.
osCreatorReadyboolean osCreatorReady()No description in source.
runPlanSLList runPlan()No description in source.
runPlanStepsint runPlanSteps()No description in source.

VMSharpRepoAcquisition #sleela 3.0 (lib/vm/vmsharp/VMSharpRepoAcquisition.sleela)

VMSharpRepoAcquisition class

VMSharp(TM) repository-acquisition MODEL. Given a GitHub repo

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
METHOD_CLONEint METHOD_CLONE = 1No description in source.
METHOD_TARBALLint METHOD_TARBALL = 2No description in source.
METHOD_ZIPint METHOD_ZIP = 3No description in source.
ownerString owner = ""No description in source.
repoString repo = ""No description in source.
branchString branch = ""No description in source.
methodint method = 1No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String repoOwner, String repoName, String repoBranch)No description in source.
useClonevoid useClone()No description in source.
useTarballvoid useTarball()No description in source.
useZipvoid useZip()No description in source.
getOwnerString getOwner()No description in source.
getRepoString getRepo()No description in source.
getBranchString getBranch()No description in source.
getMethodint getMethod()No description in source.
getMethodNameString getMethodName()No description in source.
cloneUrlString cloneUrl()The https clone URL for this repo.
tarballUrlString tarballUrl()No description in source.
zipUrlString zipUrl()No description in source.
acquisitionCommandString acquisitionCommand(String dest)No description in source.
resourceUrlString resourceUrl()The resource URL the network stack would reach for the selected method.
summaryString summary()A one-line acquisition summary.

VMSharpUsbMedia #sleela 3.0 (lib/vm/vmsharp/VMSharpUsbMedia.sleela)

VMSharpUsbMedia class

VMSharp(TM) USB boot-media MODEL. It describes initializing

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
BRAND_LINUXint BRAND_LINUX = 1---- the three OS brands whose Makefiles stage/install the media ----
BRAND_WINDOWSint BRAND_WINDOWS = 2No description in source.
BRAND_MACOSint BRAND_MACOS = 3No description in source.
PREF_SEQUITURString PREF_SEQUITUR = "sequitur"---- the engineering-preference profiles ----
PREF_IQString PREF_IQ = "iq"No description in source.
PREF_HAVINGNESSString PREF_HAVINGNESS = "havingness"No description in source.
engineeringPreferenceString engineeringPreference = "sequitur"No description in source.
usbDeviceString usbDevice = ""No description in source.
deviceDesignatedboolean deviceDesignated = falseNo description in source.
stagedboolean staged = falseNo description in source.
writtenboolean written = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure()No description in source.
setEngineeringPreferencevoid setEngineeringPreference(String pref)Set the engineering preference; unknown values fall back to sequitur.
getEngineeringPreferenceString getEngineeringPreference()No description in source.
makefileForBrandString makefileForBrand(int brand)The per-brand Makefile that stages and installs the media.
stagevoid stage()`make` stages the VMSharp files into a staging dir (no device needed).
isStagedboolean isStaged()No description in source.
designateDevicevoid designateDevice(String device)No description in source.
getUsbDeviceString getUsbDevice()No description in source.
isDeviceDesignatedboolean isDeviceDesignated()No description in source.
markWrittenboolean markWritten()No description in source.
isWrittenboolean isWritten()No description in source.
isBootReadyboolean isBootReady()The media is bootable-ready only after it is staged AND written.
bootMediaPlanSLList bootMediaPlan()No description in source.
bootMediaStepsint bootMediaSteps()No description in source.
firmwareForString firmwareFor(String arch)No description in source.
summaryString summary()A one-line media summary.

VMSharpUsbMediaDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpUsbMediaDemo.sleela)

VMSharpUsbMediaDemo 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
mainvoid main()No description in source.