A few months ago I was looking for a book about compiler construction, but for languages with thin syntax like lisp (so there a very little emphasis on grammars and parsing).
Where do you think I find today a few such books?
https://books.scheme.org/
"compiling with continuations" ?
@abcdw I recommend Essentials of Compilation https://mitpress.mit.edu/9780262047760/essentials-of-compilation/.
@abcdw I'd say if you don't really care about parsing tech, just skip that part of whatever book you choose.
I'm going through https://craftinginterpreters.com (free, online) and am quite enjoying it. It builds an ad-hoc parser and you could easily swap in an s-expression parser.
It first builds an AST-based interpreter in Java (I used #DylanLang instead) and then builds a byte code interpreter in C for the same language.
This book is really refreshing compared to other compiler books I've used. It's very hands-on; much less theoretical.
@abcdw hmm, interesting that Jeremy Siek claims to have invented gradual typing in 2006 given that #DylanLang had it in the 1990s. Maybe he invented the term "gradual typing" though.
@abcdw Ah, he mentions Dylan and others and says "Gradual typing is meant to provide a foundation for what these languages do with their optional type annotations."
@abcdw Apart from the Siek's books, which are pretty good, I'd also recommend Turbak, Gifford and Sheldon's "Design Concepts in Programming Languages"