Repository navigation
v0.1.0
The first descent. The specification is written, the language buries and
exhumes, and a trace replays with the world switched off.
nether run exits 64. It is going to keep doing that.
The specification
- Twelve sections in
spec/: the nine strata, the calculus of depth
(eleven rules on one page, and that is a constraint rather than a boast), the
lexical structure, the grammar, the type system, burial and replay, the
ledger format, the six rites, the prelude, a glossary, and a rationale that
records what every inversion cost rather than only what it bought. - Four holes in it were found by building it rather than by reading it again: a
struct could not be constructed, a shade parameter had an origin nothing
could infer, §5.6 described a binding the grammar had no way to write, and
AnswerandRefusalhad encodings with no tags. Each is settled, built and
tested, and the argument for each is in §90.
The language
nether buryevaluates a program as far as the world permits and emits a
trace: the residue, the deposits, and the holes the world still owes an
answer to.nether exhumegrants a stratum, answers those holes, and emits a deeper
trace. It never touches the old one.nether lamprenders a deposited value, or walks its provenance
backwards.nether cairn,nether strataandnether graft: name a thing
by its content, ask which stratum a trace reached and what took it there, and
substitute one answer to re-bury only what changed.nether runexits 64 and says what to use instead. It is the only frozen
requirement in the draft — §8.0.- Replay holds no capabilities at all. A program that read a file replays on a
machine where the file is gone, because the answer was written down before
the program ever saw it.
How it is built
- Eight crates, one registry dependency —
blake3, because a hash function
that is subtly wrong fails silently and years late. Everything else is typed
out: a GIF89a encoder, an LZW compressor, a PNG encoder, a TrueType writer, a
WOFF container, a markdown renderer, and the face the site reads in. unsafeis forbidden in the workspace and allowed in exactly two crates:
nether-foreign, where Nether C calls out at stratum 8, andnether-wasm,
where a browser calls in. Each is a crate rather than anallowon a module
so the boundary is visible in the dependency graph.- The Decay Rule.
.decay-ceilingholds the line count ofcrates/and
the build fails if it grows. Raising it takes an argument in the pull request
body. Below, things only decay. - Eleven test harnesses beyond the unit tests, including ones that check
the committed site is not stale, that every glyph the site renders is in the
face, that every outline decodes back to the pixels it was drawn from, that
every colour pair clears WCAG AA on both palettes, and that nothing in the
tree attributes the work to a tool.
Known
- The specification is a draft and changes without notice. Semantic versioning
starts when it stops. nether-wasmbuilds but the browser front end is unfinished — The
Necropolis is the descent for it.- The face has one weight, and seventeen stylesheet rules ask for bold, so a
browser fakes it. The Face is the descent for that, and it is the first
item in it.