Remix.run Logo
msla 13 hours ago

fanf2 on Dec 25, 2015 [dead] | parent | prev | next [–]

I 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.

ac50hz 10 hours ago | parent | next [-]

Sadly, Richard died in January this year. This book is available to download from one of his academic pages:

https://www.eis.mdx.ac.uk/staffpages/r_bornat/#compilerbook

https://www.eis.mdx.ac.uk/staffpages/r_bornat/books/compilin...

https://en.wikipedia.org/wiki/Richard_Bornat

Tor3 11 hours ago | parent | prev | next [-]

I like that book too, I bought it many decades ago and learned enough to write a transpiler for converting Fortran source code to Turbo Pascal.

msla 13 hours ago | parent | prev [-]

https://news.ycombinator.com/item?id=10791521