lib-script · crate

kinogaki-script-types

Libraryenvironment

lib-script's front end after parsing: types, the host schema a context offers, the library catalog's signatures, the checker that builds the typed program, and completion and hover for the editor.

Repository
lib-script (kinogaki/lib-script)
Folder
libs/lib-script/crates/types
Source
15 files, 4,767 lines
Tests
0 files, 0 lines
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

lib-script's front end after parsing: types, the host schema a context offers, the library catalog's signatures, the checker that builds the typed program, and completion and hover for the editor.

Depends on

CrateRepositoryAsWhat it is
kinogaki-script-syntaxlib-scriptnormallib-script's syntax: an indentation-aware lexer, a recovering parser and a syntax tree whose every node keeps the exact span of its text.

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-script-benchlib-scriptnormalBenchmarks on the test host, 1M elements: cargo run --release -p kinogaki-script-bench.
kinogaki-script-execlib-scriptnormallib-script's engine: a column (batch) interpreter in safe Rust.
kinogaki-script-hostlib-scriptnormalThe boundary between lib-script and a host.
kinogaki-script-irlib-scriptnormallib-script's column IR: typed SSA values (vectors as groups of scalar values) in structured regions; lowering from the checked program; uniform/varying analysis; optimisation; a verifier; and the fault table that maps instructions back to source spans.
kinogaki-script-liblib-scriptnormallib-script's function library.
kinogaki-scriptingCore and the appnormalScripts over the standard values: lib-script's engine behind the SDK's ScriptEngine, and what a script sees of each value.

Modules

Public types and traits

At the crate root

Structs CatalogCheckedCompletionEnvHoverSchemaSig

Enums BaseCompletionKindKindScalarTypeValue

Type aliases FuncId

By module: 41 public types and traits in 8 modules

catalog CatalogFuncIdSig

check CheckedEnv

editor CompletionCompletionKindHover

hir ArithCompareCreatedDefDefIdExprExprKindListFieldLocalLocalIdParamInfoPlaceProgramStmt

info InfoReceiver

schema CollectionCollectionRefDetailRefEffectElementFieldFunctionGroupInputOwnerParamSchema

ty BaseKindType

value ScalarValue

Besides these, 5 public functions at module level.