Code Journal

THOUGHTS

Ideas on development, design and technology. No filters, straight to the point.

Explore by topic

3 articles

AUG 18, 2026

Legaltech

From Code to Legislation · Part 3 of 3

Parsing a Law Is Not Parsing Text

A technical design for transforming legislative Markdown into a structured, versionable representation: contextual lexing, an Abstract Law Tree, projection to Akoma Ntoso, and consolidation operations.

Read more
parserarchitectureakoma ntoso +3

AUG 18, 2026

Legaltech

From Code to Legislation · Part 2 of 3

Finding the Name of the Problem

The parser could already build an Abstract Law Tree. The real challenge came next: partial amendments, identity, temporality, and consolidation. Research changed once the problem found its vocabulary.

Read more
researchaiakoma ntoso +3

AUG 18, 2026

Legaltech

From Code to Legislation · Part 1 of 3

“Useless” Projects Are Never Completely Useless

A compiler course and a small Spanish-language educational programming language seemed unrelated to law. Years later, they provided the mental model needed to start interpreting legislation.

Read more
codexivocompilersparser +2