[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

/
Byrdie Bartlett
Travel back in time with a historical epic that vividly recreates a bygone era. The author's meticulous research and engaging prose transport you to another world. Complex characters and intricate plots keep you enthralled from beginning to end. Each chapter reveals new insights into the period's culture and society. It's a captivating blend of history and fiction. Ideal for history buffs and lovers of epic sagas.
/
Louise Russell
Delve into the dark and twisted world of a psychological thriller that keeps you guessing. The author's masterful storytelling and complex characters create a gripping narrative. Each plot twist is meticulously crafted, adding to the suspense. The tension builds with each chapter, making it impossible to put down. It's a chilling and captivating read that explores the depths of the human psyche. Perfect for fans of psychological suspense.
/
Courtney May
Explore the transformative power of travel and adventure in this inspiring memoir. The author's vivid descriptions and engaging writing make you feel like you're right there with them. Each chapter offers new insights into different cultures and landscapes. The narrative is both informative and deeply personal, sharing the highs and lows of the journey. It's a story that inspires wanderlust and personal growth. Perfect for those who love travel stories.


In the Dark: Volume 2, The Kingdom Driven Entrepreneur’s Guide to Goal Setting, A Little SPOT of Celebration: A Story About Celebrating Birthdays, Holidays, Goals, and Milestones (Inspire to Create A Better You!), Color by Numbers: Adding and Subtracting, Backyard Homesteading All-in-One For Dummies, Data-oriented design: software engineering for limited resources and short schedules, Leopard’s Wrath (A Leopard Novel), Hospicing Modernity: Facing Humanity’s Wrongs and the Implications for Social Activism, Attack of the Necron (1) (Warhammer Adventures: Warped Galaxies), Macs For Seniors For Dummies,