Back to Search

Crafting Interpreters

AUTHOR Nystrom, Robert
PUBLISHER Genever Benning (07/27/2021)
PRODUCT TYPE Paperback (Paperback)

Description

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.

Show More
Product Format
Product Details
ISBN-13: 9780990582939
ISBN-10: 0990582930
Binding: Paperback or Softback (Trade Paperback (Us))
Content Language: English
More Product Details
Page Count: 640
Carton Quantity: 6
Product Dimensions: 8.00 x 1.29 x 10.00 inches
Weight: 2.75 pound(s)
Feature Codes: Index
Country of Origin: US
Subject Information
BISAC Categories
Computers | Programming - Compilers
Computers | Languages - General
Computers | Software Development & Engineering - Tools
Dewey Decimal: 005.452
Descriptions, Reviews, Etc.
publisher marketing

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.

Show More

Author: Nystrom, Robert
Robert Nystrom has been a professional game programmer for Electronic Arts for eight years. During that time he has shipped Madden (on just about every platform), Superman: The Videogame, Henry Hatsworth in The Puzzling Adventure, and worked on a variety of other projects and technology. Robert has solid software experience outside of the game industry. His non-gaming development experience gives him a foot in both worlds, giving him an uncommon perspective from which to transfer knowledge and practices to and from the world of game programming. Not only is Robert a developer, but he is a writer too. He loves writing. He brings a keen interest in clear communication and a talent for bringing the abstract down to Earth using analogies and metaphor.
Show More
List Price $59.99
Your Price  $43.19
Paperback