garage44.eu/jeroen/frits

logclone: git clone https://garage44.eu/jeroen/frits.git

.. /CLAUDE.md

raw

CLAUDE.md

Frits is a scripting language for Pinnacle (and later the Cartopolis simulator). docs/design.md holds the decisions, what is built, the measurements and what is missing; read it before changing the language.

Build

Builds run on a midas node (midas run -- cargo …, or midas take then ssh <node> …). The landing gate is cargo test --locked --workspace.

cargo test --workspace                 # crates/frits unit tests, the ported scripts in crates/bench,
                                       # and crates/aot-check (natives generated at build time vs the interpreter)
cargo run --release -p frits-bench     # numbers comparable with Cartopolis's Luau/Bun table; run on mac-1
cargo clippy --workspace --all-targets

Rules