
2 min read
From lexer to JVM bytecode: writing a compiler for the Alan language
A look inside a complete compiler — JFlex lexer, CUP LALR parser, typed AST with symbol tables, and direct JVM bytecode emission via ASM. The hardest, most technical project I've enjoyed the most.