Write a compiler from scratch - MiniC compilation pipeline showing source code through lexer parser and codegen stages to x86-64 assembly

Write a Compiler from Scratch in C: Build a Working Toy Compiler

Learn how to write a compiler from scratch in C. Build a complete toy compiler with a hand-written lexer, recursive descent parser, and code generator targeting x86-64 and ARM64 assembly.

Write a Compiler from Scratch in C: Build a Working Toy Compiler Read Post »