Call: +44 (0)7759 277220 Call
PeteFinnigan.com Limited Products, Services, Training and Information
book

Writing an interpreter in go

Writing an Interpreter in Go is a practical, hands-on guide to building an interpreter for a small programming language called Monkey. The book walks readers step by step through core concepts such as lexical analysis, parsing, abstract syntax trees, and evaluation, using clear Go code and test-driven development. It introduces techniques like Pratt parsing, recursive descent parsers, and closures, while constructing a working REPL and language runtime. Focused on learning by doing, the book demystifies how interpreted languages work and gives readers the tools to design and implement their own language from scratch.

writing an interpreter in go