Skip Navigation

Tiny Great Languages: Languages in under 75 lines of code (blog series + GitHub)

zserge.com Tiny Great Languages: Assembly

Summing up years of building interpreters and compilers for various programming languages. The first chapter is about assembly language. We will try to implement a tiny two-pass assembler for CPython VM.

GitHub (source code for all languages), also linked above.

The GitHub says "50 lines of code" but the largest example is 74 lines excluding whitespace and comments.

1
1 comments