Sponsored
Sponsored
Read Crafting Interpreters
Free Edition
Verified Content

Crafting Interpreters

4.69 • 459 ratings • 56 reviews
Overview
Despite using them every day, most software engineers know little about how programming languages are designed and implemented. For many, their only experience with that corner of computer science was a terrifying "compilers" class that they suffered through in undergrad and tried to blot from their memory as soon as they had scribbled their last NFA to DFA conversion on the final exam.

That fearsome reputation belies a field that is rich with useful techniques and not so difficult as some of its practitioners might have you believe. A better understanding of how programming languages are built will make you a stronger software engineer and teach you concepts and data structures you'll use the rest of your coding days. You might even have fun.

This book teaches you everything you need to know to implement a full-featured, efficient scripting language. You’ll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection. Your brain will light up with new ideas, and your hands will get dirty and calloused.

Starting from main(), you will build a language that features rich syntax, dynamic typing, garbage collection, lexical scope, first-class functions, closures, classes, and inheritance. All packed into a few thousand lines of clean, fast code that you thoroughly understand because you wrote each one yourself.
User Avatar User Avatar User Avatar
36,114 currently reading
User Avatar User Avatar User Avatar
152,889 want to read
Sponsored
Sponsored

Book details & editions

ISBN 0990582930
Publisher Genever Benning
Publication date July 2021
Language English
Pages 640 pages
Sponsored
Sponsored
About the Author
Robert Nystrom

Robert Nystrom

Follow
Known for writing in a clear, engaging, and easy-to-follow style. The work feels natural and flows smoothly, making it enjoyable from beginning to end.

Ratings & Reviews

5 ★
76%
4 ★
18%
3 ★
4%
2 ★
1%
1 ★
1%
4.69
BlueReads Choice
Sponsored

Write a Review

Community Reviews

Sort by:
Sponsored
Sponsored
Sponsored Content