000 01688nam a2200229Ia 4500
003 NULRC
005 20250520103028.0
008 250520s9999 xx 000 0 und d
020 _a9781800204805
040 _cNULRC
050 _aQA 76.7 .J44 2021
100 _aJeffery, Clinton L.
_eauthor
245 0 _aBuild your own programming language :
_ba programmer's guide to designing compilers, interpreters, and DSLs for solving modern computing problems /
_cClinton L. Jeffery
260 _aBirmingham, UK :
_bPackt Publishing, Limited,
_cc2021
300 _axxiii, 469 pages :
_billustrations ;
_c23 cm.
365 _bUSD35
504 _aIncludes index.
505 _aWhy 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.
520 _aThe book covers a series of traversals of syntax trees, culminating with code generation for a bytecode virtual machine. Moving ahead, you'll learn how domain-specific language features are often best represented by operators and functions that are built into the language, rather than library functions. We'll conclude with how to implement garbage collection, including reference counting and mark-and-sweep garbage collection.
650 _aPROGRAMMING LANGUAGES
942 _2lcc
_cBK
999 _c21773
_d21773