Build Your Own Programming Language
Build Your Own Programming Language provides a hands-on approach to designing language features and implementing those features in a simple compiler and programming environment. This book will help you create new or domain-specific languages that include lexical syntax, semantic analysis, parse trees, tree traversals, and code generation.
Offered by
Difficulty Level
Intermediate
Completion Time
16h28m
Language
English
About Book
Who Is This Book For?
This book is for software developers interested in the idea of inventing their own language or developing a domain-specific language. Computer science students taking compiler construction courses will also find this book highly useful as a practical guide to language implementation to supplement more theoretical textbooks. Intermediate-level knowledge and experience working with a high-level language such as Java or the C++ language are expected to help you get the most out of this book.
Build Your Own Programming Language
- About Book
- Who Is This Book For?
- Book Content
Book content
chapters • 16h28m total length
Why Build Another Programming Language
Programming Language Design
Scanning Source Code
Parsing
Syntax Trees
Symbol Tables
Checking Base Types
Checking Types on Arrays, Method Calls, and Structure Accesses
Intermediate Code Generation
Syntax Cloning in an IDE
Bytecode Interpreters
Generating Bytecode
Native Code Generation
Implementing Operators and Built-In Functions
Domain Control Structures
Garbage Collection
Final Thoughts
Appendix A - Unicon Essentials
Related Resources
Access Ready-to-Use Books for Free!
Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!