ZFORGE · RESEARCH · PROCEDURAL SYSTEMS
SHELF 05 / 06  ·  THE COMPILER VIEW OF MODELING

PROCEDURAL
SYSTEMS

Geometry written as a program.

The oldest idea on the site, and its deepest: a model is a composition of rules, and the mesh is just its compiled output. This shelf traces the framework from L-systems to the Skeletal Singleton Tree — a functional alphabet where every symbol is a matrix-producing operation, state is strictly separated from mutation, and evaluation is a pure function: same plan, same manifest, same geometry, forever. ML proposes; proofs gate; deterministic execution produces. For the artist the payoff is compounding: your recurring moves harden into a grammar, and the grammar remembers — the tool grows a memory of how you build.

4 FOUNDATIONS + 5 GROUNDINGS 3 SHIPPED MODULES DETERMINISTIC REPLAY
Abstract · An original synthesis of the shelf
"Preserve the generating function until the absolute last moment." — The Mathematical Compiler · the compilation thesis

The oldest thread on the site asks the simplest question: what if a model is a program, and the mesh only its compiled output? The Skeletal Singleton Tree answers with one architectural cut — state strictly separated from mutation. The tree of composed operations is the program; edits are proposals against it; evaluation is a pure function — same plan, same manifest, same geometry, forever. The node algebra then replaces L-system symbols with matrix-producing operations — translate, scope, platform, mirror, radial, instance — so any valid composition is valid geometry, writable as strings and transpilable across hosts. The compiler thesis names what traditional pipelines destroy at every arrow: curves become polylines, intent becomes vertex soup, resolution locks at creation. Its inversion — Lift into mathematics, Operate algebraically, Collapse only when pixels must hit the screen — makes lossy a choice rather than a law. Five grounding notes tie the language program to external literature — string diagrams, embedded DSLs, Fourier neural operators, graded effect monads, medial axes — each marking its own claims conjecture until verified.

What runs today is the alphabet itself and, more telling, the compounding grammar ledger: composition writes rules forward, recovery parses existing geometry backward into the same vocabulary, and both directions feed one ledger under the governing law — priors rank; gates decide.

A modeling tool that replays perfectly is trustworthy; one that also remembers your grammar is a collaborator.

§ 01 / 03

Syntheses & foundations

"Preserve the generating function until the absolute last moment. The system becomes a compiler that translates sketches into pure mathematics, manipulates them losslessly in their native algebraic domains, and rasterizes only when pixels must hit the screen."— The Mathematical Compiler
FOUNDATION · ARCHITECTURE
The Skeletal Singleton Tree▸ Foundation
The program map: a strict separation of state (the tree of composed operations) from mutation (the edits that produce the next tree). This single separation is what makes procedural modeling deterministic, replayable, and safe to hand partial control to a learning system — the model can propose mutations without ever owning the state.
FOUNDATION · THE ALPHABET
Node Algebra — the Functional Alphabet▸ Foundation
Classic L-systems rewrite strings of symbols; here every symbol is replaced by a matrix-producing operation — translate, rotate, scope, platform, mirror, radial, instance — so that "rewriting" becomes tree traversal and every valid composition of operations is a valid piece of geometry. Operations are first-class citizens: composable, serializable, transpilable.
SYNTHESIS · VISION
Generative Geometry as Compositional Code
The unifying abstract: treat the mathematical specification as the program itself. Compositional closure lets geometry be written as strings, transpiled across hosts (Maya, Blender, Unreal), and extended with machine learning without architectural disruption — degrees of freedom at the foundation, anticipation layered on top.
SYNTHESIS · COMPILATION THESIS
The Mathematical Compiler
The paradigm statement: traditional pipelines destroy information at every arrow — curves become polylines, intent becomes vertex soup, resolution locks at creation. The compiler inverts this: Lift user input into mathematical representation, Operate algebraically and losslessly, Collapse to discrete output only at render. Lossy is a choice, not a law.
SYNTHESIS · LITERATURE ANCHORS
The Grounding Series (five notes)▹ In the forge
Five disciplined literature anchors tying the SST language program to external fields, each marking its own claims conjecture until verified: monoidal string diagrams and categorical spans for solver-fallback chains; embedded DSLs with typed frozen IRs; Fourier neural operators and their spectral-bias caveat; graded effect monads gating irreversible operations behind proof discharge; and medial-axis skeletonization for symbol compilation.
§ 02 / 03

Built evidence

The reference implementation ships the alphabet itself, and — more telling — the compounding grammar ledger: composition runs the rule vocabulary forward while recovery parses existing geometry backward into the same vocabulary, and both directions read and write one ledger of usage counts, coefficient distributions, and provenance (authored vs. recovered vs. composed). The governing law is structural: priors rank; gates decide. Certificates carry what a composed group knows about itself — "every extractor proposes, every consumer disposes; the forward and backward systems validate each other."

SST NODE SYSTEM
The functional alphabet, implemented: transform, scope, platform, mirror, radial, instance nodes plus spreads, fields, connect and collapse — with a JSON program format.
RULE LEDGER
The compounding shape-grammar prior: per-rule usage, per-coefficient distributions, provenance splits, deduplication by excess-over-floor.
STAGER CERTIFICATES
Composed-group certificates for the staging pipeline — a distribute stage that is a group action knows its group exactly, and says so.
The visible instruments the grammar layer conducts.
Symmetry detection and primitive insertion — recovery-direction consumers of the same vocabulary.
§ 03 / 03

The papers behind the shelf