Building Programming Language Interpreters: A bottom-up approach to runtimes, execution, and implementation in C++
商品資訊
ISBN13:9781837638079
出版社:PACKT PUB
作者:Daniel Ruoso
出版日:2026/01/16
裝訂:平裝
規格:23.5cm*19.1cm*2cm (高/寬/厚)
商品簡介
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 Features:
- Design a domain-specific language to solve focused problems and reduce complexity and bugs
- Follow a bottom-up approach, from runtime design to interpreter implementation
- Build an interpreter from scratch as a functional, minimum viable product
Book Description:
Designing 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 required
What You Will Learn:
- Design a domain-specific language and interpreter from scratch
- Write an interpreter that can be embedded into existing environments
- Understand how runtime shapes language execution and interpreter design
- Reason about language design and runtime trade-offs
- Define and implement the execution model of an interpreted language
- Implement a lexer, parser, analyzer, and instruction emitter in C++
主題書展
更多書展購物須知
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。

