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*
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
This 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.
(N.B. Please use the Read Sample option to see further chapters)
Les informations fournies dans la section « Synopsis » peuvent faire référence à une autre édition de ce titre.
Daniel Ruoso has more than 20 years of experience in software development. He has contributed to various projects over the years, specializing in Build Tooling, Static Analysis, Automated Code Refactoring. He was a contributor on the early development of the Raku programming language and of the Debian project. More recently, he contributed to the tooling study group of the ISO C++ working group. Daniel has also presented talks at LLVM Developer Meeting, C++Now and CppCon.
Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.
Vos droits au titre de la garantie légale : Chaque consommateur de l'UE bénéficie d'au moins deux ans de protection au titre de la garantie légale pour tout bien de consommation vendu dans l'UE. Voir plus
Vendeur : GreatBookPrices, Columbia, MD, Etats-Unis
Etat : New. N° de réf. du vendeur 52455536-n
Quantité disponible : Plus de 20 disponibles
Vendeur : BargainBookStores, Grand Rapids, MI, Etats-Unis
Paperback or Softback. Etat : New. Building Programming Language Interpreters: A bottom-up approach to runtimes, execution, and implementation in C++. Book. N° de réf. du vendeur BBS-9781837638079
Quantité disponible : 5 disponible(s)
Vendeur : GreatBookPrices, Columbia, MD, Etats-Unis
Etat : As New. Unread book in perfect condition. N° de réf. du vendeur 52455536
Quantité disponible : Plus de 20 disponibles
Vendeur : California Books, Miami, FL, Etats-Unis
Etat : New. N° de réf. du vendeur I-9781837638079
Quantité disponible : Plus de 20 disponibles
Vendeur : Chiron Media, Wallingford, Royaume-Uni
PF. Etat : New. This item is printed on demand. Brand new book, sourced directly from publisher. Dispatch time is 6-7 days from our warehouse. Book will be sent in robust, secure packaging to ensure it reaches you securely. N° de réf. du vendeur 6666-IUK-9781837638079
Quantité disponible : 20 disponible(s)
Vendeur : Rarewaves USA, HEBRON, KY, Etats-Unis
Paperback. Etat : New. 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. N° de réf. du vendeur LU-9781837638079
Quantité disponible : Plus de 20 disponibles
Vendeur : PBShop.store UK, Fairford, GLOS, Royaume-Uni
PAP. Etat : New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. N° de réf. du vendeur L0-9781837638079
Quantité disponible : Plus de 20 disponibles
Vendeur : PBShop.store US, Wood Dale, IL, Etats-Unis
PAP. Etat : New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. N° de réf. du vendeur L0-9781837638079
Quantité disponible : Plus de 20 disponibles
Vendeur : Rarewaves.com USA, London, LONDO, Royaume-Uni
Paperback. Etat : New. 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. N° de réf. du vendeur LU-9781837638079
Quantité disponible : Plus de 20 disponibles
Vendeur : GreatBookPricesUK, Woodford Green, Royaume-Uni
Etat : New. N° de réf. du vendeur 52455536-n
Quantité disponible : Plus de 20 disponibles