Code Journal

THOUGHTS

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

Explore by topic

5 articles

OCT 25, 2026

Languages and compilers

Building Codexivo · Part 5 of 5

Building a Language: The Evaluator

How a tree-walking interpreter's evaluator works: environments, procedures that remember where they were born, how a return gets out, and error messages in Spanish.

Read more
codexivoprogramming languageinterpreters

OCT 23, 2026

Languages and compilers

Building Codexivo · Part 4 of 5

Building a Language: The Parser

What a parser does, how a Pratt parser decides who keeps each value, and how I built Codexivo's: precedence, calls, and the pero_si.

Read more
codexivoprogramming languageparser +1

OCT 22, 2026

Languages and compilers

Building Codexivo · Part 3 of 5

Building a Language: The Lexer

What a lexer is, how I built the one for Codexivo, the bug that split the word “orden” in two, and what I learned fixing it.

Read more
codexivoprogramming languagetokens +1

MAY 22, 2023

Languages and compilers

Building Codexivo · Part 2 of 5

Building a Language: Tokens

What tokens are in programming, how they're classified, and how I defined the full token set for Codexivo. Part two of my programming language series.

Read more
codexivoprogramming languagetokens

MAY 15, 2023

Languages and compilers

Building Codexivo · Part 1 of 5

How to Build a Programming Language

How to build a programming language from scratch: why I started Codexivo, a Spanish-language language for learning logic, the goals I set, and how I approached the interpreter.

Read more
codexivoprogramming language