Deterministic, allocation-free #![no_std] core for LodaLiteWeb.
The crate owns the scenario model, state machine, text renderer, configurable character screen, logical clock, execution policy primitives, and the self-describing machine contract.
src/contract.rs machine contract, actions, rates, outputs, states,
execution policy, help, manual, provenance hooks,
contract fingerprint
src/machine.rs scenario model, phases, events, reducer
src/policy.rs execution modes, pacing, token bucket, deadlines,
propagation windows, consistency and wait policies
src/render.rs six view text renderers
src/scenario.rs static cp.livive.net fixture
src/screen.rs configurable character-cell screen
src/text.rs fixed-buffer UTF-8 sink, fixed text, money formatting
src/time.rs timebase and logical clock
src/telemetry.rs metadata, event log, console log, network log
src/storage.rs origin-scoped storage state machines
src/heap.rs fixed abstract heap regions
src/gc.rs deterministic GC state machine
src/engine.rs V8-shaped engine lifecycle
src/bin/play.rs std host harness
default: 100 x 36
minimum: 40 x 12
maximum: 160 x 60
The screen stores Unicode scalars and supports borders, centered text, wrapping, scrolling, and flattened text output.
The contract declares:
It also generates:
The machine’s action ids come from the same Action enum used by dispatch.
cargo test
cargo build --target wasm32-unknown-unknown
Current tests cover:
The six generated views match the committed goldens exactly:
login
admin-dashboard
admin-job-detail
technician-dashboard
customer-dashboard
customer-quote