Northbridge: from first permit to a complete case

Learn Law DSL through the work of a fictional municipality. Start with a resident applying for a permit; follow the case through missing facts, conflicting documents, time limits, obligations, and appeal. Each chapter includes code, observed results, an exercise, and a worked solution.
Your route through Northbridge
Section titled “Your route through Northbridge”Read the core route in order. Take the mathematics branch when you need quantities and exact computation; return to the advanced chapters for composition and modeling practice. The illustrations set the scene; the code and observed results establish how the model behaves.
Beginner
Section titled “Beginner”Build a first rule, distinguish unknown from false, handle exceptions, and compute a fee.

Intermediate
Section titled “Intermediate”Model applicants, registers, documents, editions, deadlines, and legal effects.

Advanced
Section titled “Advanced”Coordinate a procedure, compare readings, allocate in rounds, and explain a result.

Mathematics branch
Section titled “Mathematics branch”Work with dimensions, exact bounds, and numeric support limits.

Advanced II
Section titled “Advanced II”Compose packages and work with presumptions, sources, evidence, queries, and standard functions.

- Vocabulary and package composition
- Unknown, presumed and deemed: negation, closure, presumptions, fictions, constraints
- Sources, time, and outside data
- Positions live, files move, readings decide
- Expansions you can answer about, answers you can explain
- Numbers and the standard library: every figure the 0.2 machine proves
Modeling practice
Section titled “Modeling practice”Choose between neighboring constructs, then follow one case through five changes.

Before you start
Section titled “Before you start”You should be comfortable reading code and running terminal commands. Begin with the first-package tutorial if this is your first encounter with executable rules.
Northbridge is a synthetic, unofficial teaching world. The recorded runs use law 0.1.0, law.core/0.2, and standard library 0.2.0. Later numeric profiles are discussed with their observed support limits; an expected refusal is not a successful calculation.
Learn by predicting
Section titled “Learn by predicting”Before a command, predict the answer. After the run, explain which fact or rule made the difference. Change one condition and predict again. Open the worked solution after attempting the exercise; each chapter links to its corresponding solution.
Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.