[PDF/ePUB] Writing An Interpreter In Go

Writing An Interpreter In Go image

DOWNLOAD PDF

Writing An Interpreter In Go - Version 1.7 - Find out more at https://interpreterbook.com In this book we will create a programming language together. We'll start with 0 lines of code and end up with a fully working interpreter for the Monkey programming language. Step by step. From tokens to output. All code shown and included. Fully tested. Buy this book to learn:How to build an interpreter for a C-like programming language from scratchWhat a lexer, a parser and an Abstract Syntax Tree (AST) are and how to build your ownWhat closures are and how and why they workWhat the Pratt parsing technique and a recursive descent parser isWhat others talk about when they talk about built-in data structuresWhat REPL stands for and how to build one Why this book? This is the book I wanted to have a year ago. This is the book I couldn't find. I wrote this book for you and me. So why should you buy it? What's different about it, compared to other interpreter or compiler literature?Working code is the focus. Code is not just found in the appendix. Code is the main focus of this book.It's small! It has around 200 pages of which a great deal are readable, syntax-highlighted, working code.The code presented in the book is easy to understand, easy to extend, easy to maintain.No 3rd party libraries! You're not left wondering: "But how does tool X do that?" We won't use a tool X. We only use the Go standard library and write everything ourselves.Tests! The interpreter we build in the book is fully tested! Sometimes in TDD style, sometimes with the tests written after. You can easily run the tests to experiment with the interpreter and make changes. This book is for you if you...learn by building, love to look under the hoodlove programming and to program for the sake of learning and joy!are interested in how your favorite, interpreted programming language worksnever took a compiler course in collegewant to get started with interpreters or compilers…... but don't want to work through a theory-heavy, 800 pages, 4 pounds compiler book as a beginnerkept screaming "show me the code!" when reading about interpreters and compilersalways wanted to say: "Holy shit, I built a programming language!"

✔ Author(s):
✔ Title: Writing An Interpreter In Go
✔ Rating : 4.7 out of 5 base on (164 reviews)
✔ ISBN-10: 3982016118
✔ Language: English
✔ Format ebook: PDF, EPUB, Kindle, Audio, HTML and MOBI
✔ Device compatibles: Android, iOS, PC and Amazon Kindle

Readers' opinions about Writing An Interpreter In Go by Thorsten Ball

/
Arabella Whitfield
Dive into a captivating mystery where each clue unravels a new layer of intrigue. The author's masterful storytelling keeps you guessing until the final page. Vivid characters and detailed settings bring the story to life. The suspense builds with each chapter, making it impossible to put down. It's a gripping tale that will keep you on the edge of your seat. A must-read for fans of the genre.
/
Daniella Bender
Follow the gripping tale of a detective unraveling a complex web of crime and corruption. The author's detailed writing and intricate plotting make for a suspenseful read. Each clue and revelation adds to the tension, keeping you on the edge of your seat. The characters are well-developed, with motivations that feel real and compelling. The climax delivers a satisfying resolution to the mystery. A must-read for thriller enthusiasts.
/
Lola Frye
Experience the inspiring journey of an individual overcoming incredible odds in this powerful memoir. The author's candid and heartfelt writing brings their story to life. Each chapter reveals the resilience and strength of the human spirit. The narrative is both informative and deeply moving, offering valuable life lessons. It's a story that motivates and inspires, making it a must-read. Perfect for those seeking inspiration and personal growth.


Swept Away: The Vanishing Art of Broom Making, If I Tell, If You Tell: A True Story of Murder, Family Secrets, and the Unbreakable Bond of Sisterhood, Astrology for Real Relationships: Understanding You, Me, and How We All Get Along, Critical Thinkers: Methods for Clear Thinking and Analysis in Everyday Situations from the Greatest Thinkers in History, What We Buried, The Eye of the World: The Graphic Novel, Volume Three (Wheel of Time: The Graphic Novel, 3), A Swift Guide to Butterflies of North America: Second Edition, Born To Stand Out: A story about a chameleon who finds his true colors (Created to Be), The Wilds of Poetry: Adventures in Mind and Landscape,