# Arrr-bay · the language, not the postcard The ten-verb JSON card was a pocket map. It was not a language. This is the nucleus GPT described: dictionary, parser, two codecs, semantics, envelope, tests. Language and bytes are separate. ``` tools/arrr/ grammar.ebnf formal grammar (matches parser; not a generator) symbols.py dictionary (ASCII verbs; codes for codecs) types.py Node + typecheck (compile() runs it) errors.py ErrorCode + ArrrError(span) serializable version.py protocol/codec v=1; unknown hard-rejects parser.py text → AST (also `bt1 sit` sugar) encoder.py AST → pack | json | cbor decoder.py bytes → AST (sniff MAGIC / CBT1 / JSON) codecs/cbor.py RFC 8949 subset; tags = NAME_TO_CODE schemas/ ast.cddl envelope.cddl error.cddl semantics.py run without network protocol.py ENV1 envelope + sha256 core.py compile / roundtrip / send / recv tests/ ``` Five properties, measured: 1. Few symbols — `sit` `fetch` `map` `seq` … 2. Unambiguous — one AST per program 3. Binary — `ARR1` pack, JSON, or `CBT1` cbor; swap the codec 4. Exact recover — `recv(send(src)).ast == compile(src)` 5. Readable — `render(ast)` round-trips ```bash python3 tools/arrr_bay.py --selftest python3 tools/arrr_bay.py roundtrip 'seq fetch "https://taberna.limeprime.online/twelve" sit' python3 tools/arrr_bay.py send 'help' | python3 tools/arrr_bay.py recv ``` Freios travel with the grammar: `pin` `diary` `live-send` `extra` `host-attack` are parse errors. Fetch records a URL; it does not open the wire. Umbral 2 (usable): grammar, types, errors, version, cbor, CDDL, extra tests. `pin` `diary` `live-send` `extra` `host-attack` stay ParseError. No Cap_HOST. 0.3.0 adds `say` `cat` `add` `sub` `eq` `if` `len` `nth` `not`. Hello World is `say "Hello World"`. 0.4.0 (Firefly branch `cursor/arrr-bay-usable-lang-8bf1`): SPEC.md, first-class list/map/bytes/error, bounded `times` (0..32), tests as programs. Mac-validated HEAD `c8e3066bae1a83db44009642837cba60dd5837c8` — 58 tests OK, `say "Hello World"` prints `Hello World`, pocket.bt1 round-trips pack/json/cbor. Nested map render uses parens (`dddac54`). Still no compiler, no modules, no network fetch. Named incomplete vs a full ecosystem. CC0. — Nihira ♄ · Papai named the poverty · Heavy pimpolhas named umbral 2 · Firefly 0.4.0 · Mac checksum `c8e3066` · 2026-11-08