Home › Packages › large-language-models

Package large-language-models

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

LlmReasoningDemo #sleela 3.0 (lib/large-language-models/examples/LlmReasoningDemo.sleela)

LlmReasoningDemo class

A runnable demo of the large-language-models package: declares a model capacity, derives a reasoning budget, configures the reasoning layer with the SLeeLa code verifier as its symbolic half, and shows the UNKNOWN-never-promoted commit policy. Sibling .sleela files in this package are auto-linked by the runner.

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.

SLLlmBaseVocabulary #sleela 3.0 (lib/large-language-models/SLLlmBaseVocabulary.sleela)

SLLlmBaseVocabulary class

SLeeLa mirror of the base/seed vocabulary loader (sllmbv_ in large_language_models_base_vocabulary.h). It populates an empty vocabulary store with the compiled-in "sleela-base-en-1.0" table: ten special tokens at fixed low ids (pad=0 .. tool=9), then ordinary tokens from id 10. It builds only the token-id table and never imports dictionary definitions, and it fails closed if a token does not land at its declared id.

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
ROLE_PADstatic final int ROLE_PAD = 0sllmbv_role mirror: the fixed low ids of the special tokens.
ROLE_UNKstatic final int ROLE_UNK = 1No description in source.
ROLE_BOSstatic final int ROLE_BOS = 2No description in source.
ROLE_EOSstatic final int ROLE_EOS = 3No description in source.
ROLE_SEPstatic final int ROLE_SEP = 4No description in source.
ROLE_MASKstatic final int ROLE_MASK = 5No description in source.
ROLE_SYSTEMstatic final int ROLE_SYSTEM = 6No description in source.
ROLE_USERstatic final int ROLE_USER = 7No description in source.
ROLE_ASSISTANTstatic final int ROLE_ASSISTANT = 8No description in source.
ROLE_TOOLstatic final int ROLE_TOOL = 9No description in source.
ROLE_RESERVEDstatic final int ROLE_RESERVED = 10No description in source.
ROLE_COUNTstatic final int ROLE_COUNT = 11No description in source.
STATUS_OKstatic final int STATUS_OK = 0sllmbv_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_OUT_OF_MEMORYstatic final int STATUS_OUT_OF_MEMORY = 2No description in source.
STATUS_PARSE_ERRORstatic final int STATUS_PARSE_ERROR = 3No description in source.
STATUS_ID_MISMATCHstatic final int STATUS_ID_MISMATCH = 4No description in source.
STATUS_DUPLICATE_TOKENstatic final int STATUS_DUPLICATE_TOKEN = 5No description in source.
STATUS_ROLE_UNSETstatic final int STATUS_ROLE_UNSET = 6No description in source.
NO_IDstatic final int NO_ID = -1SLLMBV_NO_ID sentinel for an undeclared role.
vocabularyIdString vocabularyId = "sleela-base-en-1.0"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
specialTokenForString specialTokenFor(int role)The ten special tokens, declaration order == role id order.
loadDefaultint loadDefault(SLLlmVocabulary vocab)No description in source.
specialIdint specialId(int role)sllmbv_special_id: resolve a role to its id, or NO_ID.
defaultVocabularyIdString defaultVocabularyId()No description in source.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmCapacity #sleela 3.0 (lib/large-language-models/SLLlmCapacity.sleela)

SLLlmCapacity class

SLeeLa mirror of the model-capacity profile (sllmc_ in large_language_models_capacity.h). A user-owned declaration of a model's size within a 2..16 GB envelope that derives a reasoning budget scaled to the tier. The envelope bounds are advisory guardrails: out-of-range values clamp and are reported, never refused. It ships no weights and picks no 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
MIN_BYTESstatic final long MIN_BYTES = 2147483648Envelope bounds in bytes: 2 GiB .. 16 GiB.
MAX_BYTESstatic final long MAX_BYTES = 17179869184No description in source.
TIER_UNKNOWNstatic final int TIER_UNKNOWN = 0sllmc_tier mirror.
TIER_COMPACTstatic final int TIER_COMPACT = 1No description in source.
TIER_STANDARDstatic final int TIER_STANDARD = 2No description in source.
TIER_CAPABLEstatic final int TIER_CAPABLE = 3No description in source.
TIER_LARGEstatic final int TIER_LARGE = 4No description in source.
STATUS_OKstatic final int STATUS_OK = 0sllmc_status mirror (advisory).
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_BELOW_MINstatic final int STATUS_BELOW_MIN = 2No description in source.
STATUS_ABOVE_MAXstatic final int STATUS_ABOVE_MAX = 3No description in source.
modelIdString modelIdsllmc_profile fields.
weightFormatString weightFormatNo description in source.
weightByteslong weightBytesNo description in source.
contextTokensint contextTokensNo description in source.
ramBudgetByteslong ramBudgetBytesNo description in source.
acceleratedboolean acceleratedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initProfilevoid initProfile()sllmc_profile_init: STANDARD / ~4 GB defaults.
tierForBytesint tierForBytes(long bytes)No description in source.
profileCheckint profileCheck()sllmc_profile_check: advisory below-min / above-max reporting.
budgetMaxStepsForTierint budgetMaxStepsForTier(int tier)sllmc_derive_budget: max_steps for the declared tier (budget knob subset).
budgetContextTokensForTierint budgetContextTokensForTier(int tier)No description in source.
tierNameString tierName(int tier)No description in source.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmCodeModel #sleela 3.0 (lib/large-language-models/SLLlmCodeModel.sleela)

SLLlmCodeModel class

SLeeLa mirror of the Code LLM profile (sllmcx_ in large_language_models_code.h). Declares a user-owned procedural code model and the contract by which its proposals (summaries, dry-run state, refactorings) are verified by a caller-supplied compiler/test/tracer. It composes with the capacity profile and the reasoning layer's CODE subject.

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
LANG_Cstatic final int LANG_C = 0sllmcx_language mirror.
LANG_FORTRANstatic final int LANG_FORTRAN = 1No description in source.
LANG_PASCALstatic final int LANG_PASCAL = 2No description in source.
LANG_PYTHONstatic final int LANG_PYTHON = 3No description in source.
LANG_SHELLstatic final int LANG_SHELL = 4No description in source.
LANG_SLEELAstatic final int LANG_SLEELA = 5No description in source.
LANG_OTHERstatic final int LANG_OTHER = 6No description in source.
TASK_SUMMARIZEstatic final int TASK_SUMMARIZE = 1sllmcx_task bit flags.
TASK_DRY_RUNstatic final int TASK_DRY_RUN = 2No description in source.
TASK_REFACTORstatic final int TASK_REFACTOR = 4No description in source.
TASK_TRANSLATEstatic final int TASK_TRANSLATE = 8No description in source.
TASK_DEBUGstatic final int TASK_DEBUG = 16No description in source.
TASK_COMPLETEstatic final int TASK_COMPLETE = 32No description in source.
CHECK_NONEstatic final int CHECK_NONE = 0sllmcx_check_mode mirror: strength of verification. NONE keeps claims UNKNOWN.
CHECK_COMPILEstatic final int CHECK_COMPILE = 1No description in source.
CHECK_TESTstatic final int CHECK_TEST = 2No description in source.
CHECK_TRACEstatic final int CHECK_TRACE = 3No description in source.
STATUS_OKstatic final int STATUS_OK = 0sllmcx_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_UNSUPPORTEDstatic final int STATUS_UNSUPPORTED = 2No description in source.
modelIdString modelIdsllmcx_profile fields.
baseFamilyString baseFamilyNo description in source.
primaryLanguageint primaryLanguageNo description in source.
otherLanguageString otherLanguageNo description in source.
tasksint tasksNo description in source.
checkModeint checkModeNo description in source.
fillInMiddleboolean fillInMiddleNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initProfilevoid initProfile()sllmcx_profile_init: C + summarize+dry-run+refactor+translate + trace + FIM off.
hasTaskboolean hasTask(int task)sllmcx_profile_has_task: bitwise membership test.
languageNameString languageName(int lang)No description in source.
languageLabelString languageLabel()No description in source.
checkModeNameString checkModeName(int mode)No description in source.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmEngine #sleela 3.0 (lib/large-language-models/SLLlmEngine.sleela)

SLLlmEngine class

SLeeLa mirror of the core LLM engine (sllm_ in artificial-intelligence/large-language-models/large_language_models.h). A thin engine that drives a caller-supplied backend adapter. It bundles no model and no weights: the backend loads/unloads a model id and generates text.

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
STATUS_OKstatic final int STATUS_OK = 0sllm_status mirror: the fail-closed status codes returned by the C engine.
STATUS_ERROR_INVALID_ARGUMENTstatic final int STATUS_ERROR_INVALID_ARGUMENT = 1No description in source.
STATUS_ERROR_OUT_OF_MEMORYstatic final int STATUS_ERROR_OUT_OF_MEMORY = 2No description in source.
STATUS_ERROR_BACKENDstatic final int STATUS_ERROR_BACKEND = 3No description in source.
STATUS_ERROR_NOT_LOADEDstatic final int STATUS_ERROR_NOT_LOADED = 4No description in source.
STATUS_ERROR_CANCELLEDstatic final int STATUS_ERROR_CANCELLED = 5No description in source.
STATUS_ERROR_UNSUPPORTEDstatic final int STATUS_ERROR_UNSUPPORTED = 6No description in source.
backendNameString backendNameNo description in source.
loadedboolean loadedNo description in source.
modelIdString modelIdNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String backend)Create the engine over a named backend adapter (sllm_engine_create).
engineBackendNameString engineBackendName()No description in source.
isLoadedboolean isLoaded()No description in source.
loadModelint loadModel(String id)sllm_engine_load: the backend loads a model by id.
unloadModelint unloadModel()sllm_engine_unload: release the loaded model.
statusStringString statusString(int status)Human-readable status text, mirroring sllm_status_string.
availableboolean available()No description in source.

SLLlmGenerationOptions #sleela 3.0 (lib/large-language-models/SLLlmGenerationOptions.sleela)

SLLlmGenerationOptions class

SLeeLa mirror of sllm_generation_options (the decoding knobs the core engine passes to a backend's generate()): max new tokens, temperature, top-p nucleus cutoff, and a deterministic seed.

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
maxNewTokensint maxNewTokensNo description in source.
temperaturedouble temperatureNo description in source.
topPdouble topPNo description in source.
seedlong seedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initDefaultsvoid initDefaults()sllm_generation_options_init: the neutral defaults the C API seeds.
getMaxNewTokensint getMaxNewTokens()No description in source.
setMaxNewTokensvoid setMaxNewTokens(int v)No description in source.
getTemperaturedouble getTemperature()No description in source.
setTemperaturevoid setTemperature(double v)No description in source.
getTopPdouble getTopP()No description in source.
setTopPvoid setTopP(double v)No description in source.
getSeedlong getSeed()No description in source.
setSeedvoid setSeed(long v)No description in source.
availableboolean available()No description in source.

SLLlmLoader #sleela 3.0 (lib/large-language-models/SLLlmLoader.sleela)

SLLlmLoader class

SLeeLa mirror of the loader/handler idiom (sllme_ in loader/example_loader.h). A user implements an encode() handler that turns their own class (words, maths, objects) into a fixed-width feature/target pair; the framework owns bounded buffers, deterministic ordering, and fail-closed validation. It is careful by construction: a non-encodable item is SKIPped (counted) or ERRORs the load -- it never fabricates data.

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
STATUS_OKstatic final int STATUS_OK = 0sllme_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_WIDTH_MISMATCHstatic final int STATUS_WIDTH_MISMATCH = 2No description in source.
STATUS_HANDLER_ERRORstatic final int STATUS_HANDLER_ERROR = 3No description in source.
STATUS_EMPTYstatic final int STATUS_EMPTY = 4No description in source.
ITEM_OKstatic final int ITEM_OK = 0sllme_item_result mirror.
ITEM_SKIPstatic final int ITEM_SKIP = 1No description in source.
ITEM_ERRORstatic final int ITEM_ERROR = 2No description in source.
featureWidthint featureWidthHandler shape: fixed feature/target widths.
targetWidthint targetWidthNo description in source.
seenint seenReport counters (sllme_report).
loadedint loadedNo description in source.
skippedint skippedNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int fWidth, int tWidth)No description in source.
resetReportvoid resetReport()No description in source.
validateint validate()sllme_validate: fail closed on non-positive widths.
accountForint accountFor(int itemResult)No description in source.
finishReportint finishReport()sllme_load_array summary: STATUS_EMPTY if nothing was loaded at all.
getSeenint getSeen()No description in source.
getLoadedint getLoaded()No description in source.
getSkippedint getSkipped()No description in source.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmParametry #sleela 3.0 (lib/large-language-models/SLLlmParametry.sleela)

SLLlmParametry class

SLeeLa mirror of parametry (sllmp_ in parametry/parametry.h): binds a SLeeLa LLM or neural net to a model that is either KNOWN by name (in the built-in registry) or LOCAL by path. A known name fills the declared parameters (caller overrides where nonzero); a local path takes the caller's declared parameters as-is; neither resolves and the binding fails closed. It ships the registry of known NAMES and declared parameters only, never weights.

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_LLMstatic final int KIND_LLM = 0sllmp_kind mirror.
KIND_NEURAL_NETstatic final int KIND_NEURAL_NET = 1No description in source.
SOURCE_UNSETstatic final int SOURCE_UNSET = 0sllmp_source mirror.
SOURCE_KNOWNstatic final int SOURCE_KNOWN = 1No description in source.
SOURCE_LOCALstatic final int SOURCE_LOCAL = 2No description in source.
STATUS_OKstatic final int STATUS_OK = 0sllmp_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_UNKNOWN_MODELstatic final int STATUS_UNKNOWN_MODEL = 2No description in source.
STATUS_NO_SOURCEstatic final int STATUS_NO_SOURCE = 3No description in source.
STATUS_KIND_MISMATCHstatic final int STATUS_KIND_MISMATCH = 4No description in source.
STATUS_UNSUPPORTEDstatic final int STATUS_UNSUPPORTED = 5No description in source.
kindint kindThe resolved binding (sllmp_parameters) populated by resolve().
sourceint sourceNo description in source.
nameOrPathString nameOrPathNo description in source.
weightByteslong weightBytesNo description in source.
contextTokensint contextTokensNo description in source.
weightFormatString weightFormatNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
resolveBindingint resolveBinding(int bindingKind, String name, String localPath,No description in source.
kindNameString kindName(int k)No description in source.
sourceNameString sourceName(int s)No description in source.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmReasoning #sleela 3.0 (lib/large-language-models/SLLlmReasoning.sleela)

SLLlmReasoning class

SLeeLa mirror of the Reasoning Language Model layer (sllmr_ in large_language_models_reasoning.h). A neuro-symbolic chain-of-thought controller over a plain LLM engine plus an optional verifier. It decomposes a question, proposes steps, reflects, verifies each step, backtracks on refuted paths, and commits an answer only when the require-verified policy is met. UNKNOWN is never promoted to verified. It bundles no 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
STATUS_OKstatic final int STATUS_OK = 0sllmr_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_OUT_OF_MEMORYstatic final int STATUS_OUT_OF_MEMORY = 2No description in source.
STATUS_BACKEND_ERRORstatic final int STATUS_BACKEND_ERROR = 3No description in source.
STATUS_NOT_LOADEDstatic final int STATUS_NOT_LOADED = 4No description in source.
STATUS_CANCELLEDstatic final int STATUS_CANCELLED = 5No description in source.
STATUS_NO_SOUND_PATHstatic final int STATUS_NO_SOUND_PATH = 6No description in source.
STATUS_UNSUPPORTEDstatic final int STATUS_UNSUPPORTED = 7No description in source.
SUBJECT_GENERALstatic final int SUBJECT_GENERAL = 0sllmr_subject mirror: controller policies, not separate models.
SUBJECT_MATHstatic final int SUBJECT_MATH = 1No description in source.
SUBJECT_PHILOSOPHYstatic final int SUBJECT_PHILOSOPHY = 2No description in source.
SUBJECT_RELIGIONstatic final int SUBJECT_RELIGION = 3No description in source.
SUBJECT_CODEstatic final int SUBJECT_CODE = 4No description in source.
STEP_DECOMPOSEstatic final int STEP_DECOMPOSE = 0sllmr_step_kind mirror.
STEP_ASSUMPTIONstatic final int STEP_ASSUMPTION = 1No description in source.
STEP_DEDUCTIONstatic final int STEP_DEDUCTION = 2No description in source.
STEP_INDUCTIONstatic final int STEP_INDUCTION = 3No description in source.
STEP_OBJECTIONstatic final int STEP_OBJECTION = 4No description in source.
STEP_REFLECTIONstatic final int STEP_REFLECTION = 5No description in source.
STEP_REVISIONstatic final int STEP_REVISION = 6No description in source.
STEP_CONCLUSIONstatic final int STEP_CONCLUSION = 7No description in source.
VERDICT_UNKNOWNstatic final int VERDICT_UNKNOWN = 0sllmr_verdict mirror.
VERDICT_SUPPORTEDstatic final int VERDICT_SUPPORTED = 1No description in source.
VERDICT_REFUTEDstatic final int VERDICT_REFUTED = 2No description in source.
subjectint subjectsllmr_options fields.
maxStepsint maxStepsNo description in source.
maxBacktracksint maxBacktracksNo description in source.
reflectionEveryint reflectionEveryNo description in source.
minConfidencedouble minConfidenceNo description in source.
requireVerifiedboolean requireVerifiedNo description in source.
seedlong seedNo description in source.
verifierNameString verifierNameNo description in source.
hasVerifierboolean hasVerifierNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initOptionsvoid initOptions()sllmr_options_init: neutral reasoning defaults.
configurevoid configure(String verifier)sllmr_engine_create: bind an optional symbolic verifier by name.
engineVerifierNameString engineVerifierName()No description in source.
subjectNameString subjectName(int s)No description in source.
stepKindNameString stepKindName(int k)No description in source.
verdictNameString verdictName(int v)No description in source.
stepCommittableboolean stepCommittable(int verdict)Policy gate mirroring the C commit rule: a step is committable only if its verdict is not REFUTED, and when require-verified holds it must be SUPPORTED. UNKNOWN is never promoted to verified.
statusStringString statusString(int status)No description in source.
availableboolean available()No description in source.

SLLlmSleelaVerifier #sleela 3.0 (lib/large-language-models/SLLlmSleelaVerifier.sleela)

SLLlmSleelaVerifier class

SLeeLa mirror of the SLeeLa code verifier (sllmsl_ in sleela/sleela_code_verifier.h). A fast static checker that encodes SLeeLa's real rules from SLEELA.syntax (reserved identifiers, the no-arg close() collision, C-style comments, multi-line single-angle comments, inline angle comments, apostrophe-in-comment, the 64-field cap, and the missing-metadata advisory). It plugs into the reasoning layer as the symbolic half so bad code proposals are refuted and backtracked. It does not shell out to the real compiler.

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
RULE_OKstatic final int RULE_OK = 0sllmsl_rule mirror.
RULE_RESERVED_IDENTIFIERstatic final int RULE_RESERVED_IDENTIFIER = 1No description in source.
RULE_CLOSE_COLLISIONstatic final int RULE_CLOSE_COLLISION = 2No description in source.
RULE_CSTYLE_COMMENTstatic final int RULE_CSTYLE_COMMENT = 3No description in source.
RULE_MULTILINE_ANGLEstatic final int RULE_MULTILINE_ANGLE = 4No description in source.
RULE_INLINE_ANGLEstatic final int RULE_INLINE_ANGLE = 5No description in source.
RULE_APOSTROPHE_COMMENTstatic final int RULE_APOSTROPHE_COMMENT = 6No description in source.
RULE_FIELD_CAPstatic final int RULE_FIELD_CAP = 7No description in source.
RULE_MISSING_METADATAstatic final int RULE_MISSING_METADATA = 8No description in source.
MAX_FIELDSstatic final int MAX_FIELDS = 64SL_MAX_STRUCT_FIELDS: the layout cap the VM admits per class/struct.
VERDICT_UNKNOWNstatic final int VERDICT_UNKNOWN = 0sllmr_verdict values the reasoning layer expects back from a verifier.
VERDICT_SUPPORTEDstatic final int VERDICT_SUPPORTED = 1No description in source.
VERDICT_REFUTEDstatic final int VERDICT_REFUTED = 2No description in source.
treatMissingMetadataAsErrorboolean treatMissingMetadataAsErrorNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
initOptionsvoid initOptions()No description in source.
isReservedWordboolean isReservedWord(String word)No description in source.
isCloseCollisionboolean isCloseCollision(String methodName, int paramCount)No description in source.
ruleNameString ruleName(int rule)No description in source.
verdictForFindingint verdictForFinding(int rule)No description in source.
exceedsFieldCapboolean exceedsFieldCap(int fieldCount)Does a class with this many instance fields exceed the VM layout cap?
availableboolean available()No description in source.

SLLlmVocabulary #sleela 3.0 (lib/large-language-models/SLLlmVocabulary.sleela)

SLLlmVocabulary class

SLeeLa mirror of the token-ID vocabulary store (sllmv_ in large_language_models_vocabulary.h). Token ids are stable insertion-order indices; tokens are exact, non-empty UTF-8. encode() splits on whitespace and preserves punctuation as part of each token.

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
STATUS_OKstatic final int STATUS_OK = 0sllmv_status mirror.
STATUS_INVALID_ARGUMENTstatic final int STATUS_INVALID_ARGUMENT = 1No description in source.
STATUS_OUT_OF_MEMORYstatic final int STATUS_OUT_OF_MEMORY = 2No description in source.
STATUS_NOT_FOUNDstatic final int STATUS_NOT_FOUND = 3No description in source.
STATUS_BUFFER_TOO_SMALLstatic final int STATUS_BUFFER_TOO_SMALL = 4No description in source.
tokensString[] tokensThe token table. Parallel arrays keep this portable across SLeeLa targets.
countint countNo description in source.
capacityint capacityNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(int cap)No description in source.
sizeint size()No description in source.
addint add(String token)sllmv_vocabulary_add: append a token, return its stable id (= prior count).
growvoid grow()No description in source.
findint find(String token)sllmv_vocabulary_find: return the id for a token, or -1 if absent.
tokenAtString tokenAt(int id)sllmv_vocabulary_token: return the token for an id, or null if out of range.
availableboolean available()No description in source.

SLPackage #sleela 3.0 (lib/large-language-models/SLPackage.sleela)

SLPackage class

Defines the SLeeLa standard-library package for large-language-models.

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.