Download
Compiler and VM — package v0.3.0
Pure Python, standard library only, zero dependencies. History: v0.1.1 —
shelf boundary, JSON refusals, fixtures; v0.1.2 — the second round
(§8.2); v0.1.3 — the third round
(§8.3): diamond imports, Decimal context, the chronicle
hash chain, codegen fuel, backend differential 300/300; v0.2.0 — speed:
the witness verdict cache ×70, --parall;
v0.2.1 — cache with verification: HMAC signature + spot re-execution
(--kesh-proba), chronicle with a head anchor, honest edge
probes.
v0.3.0 — project build: --собрать-проект derives the order from the ASTs (imports; a path cycle is a verbal refusal), skips unchanged files honestly (own hash + hashes of all transitive imports), always courts imports, verbal failure cascade; registry and chronicle writes go under a guard-file lock — a race of builds does not break the chain.
deal-lang-0.3.0.zip (≈67 KB)
sha256:
749d1bdb1eb311b3a1a50a99be02c774f1195167b2284e3136a418d9f94563cd
How to run
# Python 3.10+, from the package folder:
python deal/kompilyator.py komponenty/cena_za_ednicu.deal
python deal/kompilyator.py komponenty/faktorial.deal
python deal/kompilyator.py komponenty/schetchik_podhodov.deal
The compiler prints the serial hash and a verdict per deal; every refusal is verbal: stage, culprit, cause, what to fix.
Sources
Web interpreter
The canon executes right in the browser — the playground on the Syntax page: examples (division with cents, factorial with hidden edges, a shelf counter) run under the same semantics as the Python VM.
An honest pilot note: cross-file hash imports and postconditions are served by the full compiler; the web interpreter takes self-contained files. The package’s limits are named in its README.