aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/live-rules/cli.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 11:00:13 +0100
committereunhhu <[email protected]>2026-09-25 11:00:19 +0100
commitaf3d6d38a1494607507f63ab6f2e120ea21bb315 (patch)
treec886efa057e4e67b43cd1d06863304e6c527eb1e /prototypes/live-rules/cli.mjs
parentb238c3f3adf328127359d50eab3ffcee05737674 (diff)
downloadpure-af3d6d38a1494607507f63ab6f2e120ea21bb315.tar.gz
pure-af3d6d38a1494607507f63ab6f2e120ea21bb315.zip
Define Pure module format v1 with a static verifier
Pure now owns the format its toolchains target, as the JVM owns class files. A v1 module carries f64 states, key inputs, atomic event handlers and pure views. pure_module_load checks sizes, names, keys, operands, forward-only branches, reachability and stack heights at every join before anything runs, so execution needs no stack checks and each event is bounded by its handler length. PureApp runs events on a pending copy and replaces modules keeping states by name, without allocation. Semantics match the workbench engine, including IEEE minimum/maximum on signed zeros. test-module covers behaviour, atomic faults, 26 rejection checks and 20,000 damaged modules under ASan/UBSan; pure-run is a JSON test host.
Diffstat (limited to 'prototypes/live-rules/cli.mjs')
0 files changed, 0 insertions, 0 deletions