Let's Build a Compiler!

Aleksandr Shitik
Aleksandr Shitik

I write my own posts and books, and review movies and books. Expert in cosmology and astronomy, IT, productivity, and planning.

Let's Build a Compiler!
Jack W. Crenshaw
Genres: Programming
Year of publication: 1995
Year of reading: 2021
My rating: Normal
Number of reads: 1
Total pages: 293
Summary (pages): 10
Original language of publication: English
Translations to other languages: Russian

General Description

The book is about 300 pages long. The copy I received contained 16 chapters, though there were minor issues with the table of contents and font size (it was small and lacked alignment). However, this wasn't critical, and the book is quite usable. Besides text, the book features numerous code snippets. No other content types are present. The difficulty level of the book is complex. The material is structured such that each chapter logically continues the previous one with increasingly complex versions. The author uses Turbo Pascal 4.0 as the tool for writing his own compiler.

Brief Overview

Creating a detailed overview would be quite difficult, so I'll simply list the main topics the author covers in this book: lexical and syntactic analysis, interpreter work, control structures, boolean expressions, and several other topics.

Throughout the book, the author frequently rewrites and improves previously written code, so for those who want to follow along step by step, shouldn't perceive the code in a given chapter as perfect or final.

Opinion

Long before university, while in college, I briefly studied assembler. Even so, this book still seemed slightly difficult and completely removed from my daily work. On the other hand, it's not excessively difficult, and with proper attention, one could follow the author as he chapter by chapter perfects his own programming language and develop, by analogy, an extremely primitive programming language of one's own.

Вверх