4 ms·
'Compiler Construction' by Niklaus Wirth[1] is a pretty good book too. It's got the hands-on feel of Crenshaw's book with a quick but, not too superficial, intr
by journeeman 11y ago
'Compiler Construction' by Niklaus Wirth[1] is a pretty good book too. It's got the hands-on feel of Crenshaw's book with a quick but, not too superficial, introduction to theory. The book is little more than 100 pages long.
The compiler is written in Oberon however, which is also the source language (actually the source language is Oberon-0, a subset) but, Oberon is super simple and can be learned on the go.
[1] https://www.inf.ethz.ch/personal/wirth/CompilerConstruction/index.html https://www.inf.ethz.ch/personal/wirth/CompilerConstruction/...
- eterps 11y agoOberon was also a major inspiration for the Go language.
- gnuvince 11y agoI wish someone would take that content and give it proper typesetting; the content is quite good and accessible, but the presentation makes reading quite unpleasant.
- pjmlp 11y agoThen one can jump into "Project Oberon" and see how to build a graphical workstation OS in a GC enabled systems programming language. Also accessible from that site.
- fanf2 11y agoI quite like "understanding and writing compilers" by Richard Bornat - written in the 1970s using BCPL as the implementation language, so rather old-fashioned, but it gives a friendly gentle overview of how to do it, without excessive quantities of parsing theory.
- fanf2 11y agoI quite like "understanding and writing compilers" by Richard Bornat - written in the 1970s using BCPL as the implementation language, so rather old-fashioned, but it gives a friendly gentle overview of how to do it, without excessive quantities of parsing theory.