Build Your Own Programming Language 2nd Ed (Packt)
Friday, 09 February 2024

Written by Clinton L Jeffery, the creator of the Unicon programming language, this book will show you how to implement domain-specific programming languages to reduce the time and cost of creating applications for new or specialized areas of computing. Jeffrey starts with implementing the frontend of a compiler for your language, including a lexical analyzer and parser, including the handling of parse errors.

<ASIN:1804618020>

The book then covers a series of traversals of syntax trees, culminating with code generation for a bytecode virtual machine or native code. It also shows how to manage data structures and output code when writing a preprocessor or a transpiler.

Author: Clinton L Jeffery
Publisher: Packt
Date: January 2024
Pages: 556
ISBN: 978-1804618028
Print: 1804618020
Kindle: B0C1LHBKXM
Audience: developers of domain-specific languages
Level: Intermediate/Advanced
Category: Methodology

 

Topics covered:

  • Analyze requirements for your language and design syntax and semantics.
  • Write grammar rules for common expressions and control structures.
  • Build a scanner to read source code and generate a parser to check syntax.
  • Implement syntax-coloring for your code in IDEs like VS Code.
  • Write tree traversals and insert information into the syntax tree.
  • Implement a bytecode interpreter and run bytecode from your compiler.
  • Write native code and run it after assembling and linking using system tools.
  • Preprocess and transpile code into another high-level language

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner


Classic Computer Science Problems in Python

Author: David Kopec
Publisher: Manning
Date: March 2019
Pages: 224
ISBN: 978-1617295980
Print: 1617295981
Kindle: ‎ ‎ B09782BT4Q
Level: Intermediate
Audience: Python developers
Category: Python
Rating: 4
Reviewer: Mike James
Classic algorithms in Python - the world's favourite language.



Deep Learning (No Starch Press)

Author: Andrew Glassner
Publisher: No Starch Press
Date: July 2021
Pages: 750
ISBN: 978-1718500723
Print: 1718500726
Kindle: ‎ B085BVWXNS
Audience: Developers interested in deep learning
Rating: Mike James
Reviewer: 5
A book on deep learning wtihout an equation in sight?


More Reviews