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 turning legislative Markdown into a versionable structure: contextual lexing, an Abstract Law Tree, Akoma Ntoso and consolidation.

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.

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 teaching language seemed unrelated to law. Years later, they gave me the mental model to start interpreting legislation.

Read more
codexivocompilersparser +2