MoonBit Railway Computer Interlocking (CI) Safety Logic Engine
topology -> interlocking -> conflict
| | |
+----------> simulator <------+
|
scenarios -> cli
|
diagnosticsmoon fmt --check
moon check --deny-warn
moon test --deny-warn --target all
moon build --target native
moon run --target native src/climoon infomoon run --target native src/climoon run --target native src/cli -- status
moon run --target native src/cli -- request 1
moon run --target native src/cli -- step 10
moon run --target native src/cli -- audit
moon run --target native src/cli -- scenario standard
moon run --target native src/cli -- scenario hostile
moon run --target native src/cli -- scenario fault
moon run --target native src/cli -- scenario topology
moon run --target native src/cli -- benchmarkmoon run --target native src/cli -- benchmarkpwsh -NoProfile -File scripts/benchmark.ps1 -Runs 5src/topology station graph and structural validation
src/interlocking route table, locking, release, audit, lifecycle
src/conflict 256-bit hostile matrix and topology conflict checks
src/simulator event queue, train model, and 10 ms scan kernel
src/layouts reusable station blueprints
src/diagnostics report aggregation and rendering
src/scenarios repeatable safety workloads
src/benchmarks deterministic benchmark runner
src/cli native terminal entrypoint
docs measured benchmark documentationInstall
Download zipMoonBit Railway Computer Interlocking (CI) Safety Logic Engine