Get the latest tech news
Writing a C Compiler: Build a Real Programming Language from Scratch
A fun, hands-on guide to writing your own compiler for a real-world programming language.
This book guides you through a fun and engaging project where you’ll learn what it takes to compile a real-world programming language to actual assembly code. Lexing and parsing: Learn how to write a lexer and recursive descent parser that transform C code into an abstract syntax tree. "It is refreshing to read a book on compiler design with a focus on implementing a practical real-world language, rather than working through dry academic exercises .
Or read this on Hacker News