Building a Mythological Programming Language Compiler For an x86 CPU (NASM) — Part III — Parser

Creating an Abstract Syntax Tree (AST) From Tokens of a Hyphothethical Yet Working Programming Language

Adrian Nenu 😺
5 min readMar 7, 2024

--

In the previous two parts we have made baby steps towards building up the capability of parsing code (text) into tokens (a flat array of known entities).

It is high time we converted this flat array into a representation that is closer to the intent of our program. Our…

--

--

Adrian Nenu 😺

Software Engineer @ Google. Photographer and writer on engineering, personal reflection, and creativity - nenuadrian.com.