lib-script · crate

kinogaki-script-ir

Libraryenvironment

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

Repository
lib-script (kinogaki/lib-script)
Folder
libs/lib-script/crates/ir
Source
14 files, 3,486 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 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.

Depends on

CrateRepositoryAsWhat it is
kinogaki-mathlib-mathnormalKinogaki's vectors, points, matrices, quaternions and deterministic elementary functions.
kinogaki-script-hostlib-scriptnormalThe boundary between lib-script and a host.
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.
kinogaki-script-typeslib-scriptnormallib-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.

Third-party

None.

Used by

CrateRepositoryAsWhat it is
kinogaki-script-execlib-scriptnormallib-script's engine: a column (batch) interpreter in safe Rust.
kinogaki-script-liblib-scriptnormallib-script's function library.

Modules

Public types and traits

At the crate root

Traits EmitLibrary

Structs BuilderBuiltDirectFaultSiteInputInstLoweredProgramRegionUniformity

Enums BinFaultKindOpUn

Type aliases RegionIdSiteSlotIdV

By module: 20 public types and traits in 6 modules

builder Builder

emit DirectEmit

ir BinFaultKindFaultSiteInstOpProgramRegionRegionIdSiteSlotIdSlotInfoUnV

library Library

lower InputLowered

uniform Uniformity

Besides these, 29 public functions at module level.