Building Programming Language Interpreters: A bottom-up approach to runtimes, execution, and implementation in C++

★★★★☆ 4.0 85 Bewertungen

€13.95
Preis bei Onlinekauf
Kostenloser Versand 30 Tage kostenlose Rückgabe

Verkauft und versendet von www.internetslayers.com
Wir bemühen uns, Ihnen genaue Produktinformationen anzuzeigen. Hersteller, Lieferanten und andere stellen die hier gezeigten Angaben bereit.
€13.95
Preis bei Onlinekauf
Kostenloser Versand 30 Tage kostenlose Rückgabe

Wie möchten Sie Ihren Artikel erhalten?
Die ersten 30 Tage sind kostenlos! Wählen Sie den Tarif an der Kasse.
Versand
Ankunft 05.10.
Kostenlos
Abholung
In der Nähe prüfen
Lieferung
Nicht verfügbar

Verkauft und versendet von www.internetslayers.com
30 Tage kostenlose Rückgabe Details

Produktdetails

Artikelnummer 233409804 Erscheinungsdatum 2026/06/27 Listenpreis €13.95 Modellnummer 233409804
Kategorie

Explore why you might build a new programming language, which aspects influence runtime and language design choices, and how to implement a working first-version interpreter for that language in C++.Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*Key FeaturesDesign a domain-specific language to solve focused problems and reduce complexity and bugsFollow a bottom-up approach, from runtime design to interpreter implementationBuild an interpreter from scratch as a functional, minimum viable productBook DescriptionDesigning a custom programming language can be the most effective way to solve certain types of problems—especially when precision, safety, or domain-specific expressiveness matters. This book guides you through the full process of designing and implementing your own programming language and interpreter, from language design to execution, using modern C++.You’ll start by exploring when and why building a domain-specific language is worth it, and how to design one to fit a specific problem domain. Along the way, you’ll examine real-world interpreter architectures and see how their design decisions affect language behavior, capabilities, and runtime trade-offs.The book then walks through the entire process of interpreter implementation: defining syntax, building a lexer and parser, designing an abstract syntax tree, generating executable instructions, and implementing a runtime. All examples are in modern C++, with a focus on clean architecture and real-world usability.By the end, you’ll have a fully working interpreter for a domain-specific language designed to handle network protocols—plus the knowledge and tools to design your own programming language from scratch.*Email sign-up and proof of purchase requiredWhat you will learnDesign a domain-specific language and interpreter from scratchWrite an interpreter that can be embedded into existing environmentsUnderstand how runtime shapes language execution and interpreter designReason about language design and runtime trade-offsDefine and implement the execution model of an interpreted languageImplement a lexer, parser, analyzer, and instruction emitter in C++Who this book is forThis book is tailored for intermediate to advanced software developers, particularly those interested in language design and implementation. It's ideal for programmers seeking to expand their skill set and tackle complex problems efficiently. Professionals working in roles such as software engineers, language designers, or system architects will benefit from the practical insights and hands-on experience provided in the book. Good understanding of C++ programming and basic understanding of language design concepts are recommended to fully grasp the content. Table of ContentsDefining the ScopeThe Blurred Lines Between Native Code, Virtual Machines, and InterpretersInstructions, Concurrency, Inputs, and OutputsNative Types, User Types, and Extension PointsPutting It All Together: Making Trade-Off DecisionsReview of Programming Language ParadigmsValues, Containers, and the Language Meta-modelLexical ScopesPutting It All Together and Creating a Coherent VisionInitialization and Entry PointExecution Frames, the Stack, and ContinuationsRunning and Testing Language OperatorsLexing: Turning Text into a Stream of TokensParsing: Turning a Stream of Tokens into a Parse Tree(N.B. Please use the Read Sample option to see further chapters) Read more

ASIN B0F8VKCL9Z
XRay Not Enabled
ISBN13 978-1837630844
Edition 1st
Language English
File size 1.9 MB
Page Flip Enabled
Publisher Packt Publishing
Word Wise Not Enabled
Print length 529 pages
Accessibility Learn more
Publication date January 16, 2026
Enhanced typesetting Enabled

Korrektur der Produktinformationen

Wenn Sie Unvollständigkeiten oder Fehler in den Produktinformationen auf dieser Seite bemerken, nutzen Sie bitte das Korrekturformular unten.

Korrekturanfrage

Kundenbewertungen

4 von 5
★★★★☆
85 Bewertungen | 35 Rezensionen
So wird die Artikelbewertung berechnet
Alle Bewertungen anzeigen
5 Sterne
75% (64)
4 Sterne
8% (7)
3 Sterne
4% (3)
2 Sterne
2% (2)
1 Stern
11% (9)
Sortieren nach

Für dieses Produkt liegen derzeit keine schriftlichen Bewertungen vor.