3 ms·
It sure is. For anyone looking into Compilers and just starting out, I recommend this book: https://keleshev.com/compiling-to-assembly-from-scratch/ https://kel
by dna_polymerase 3y ago
It sure is. For anyone looking into Compilers and just starting out, I recommend this book: https://keleshev.com/compiling-to-assembly-from-scratch/ https://keleshev.com/compiling-to-assembly-from-scratch/
The author uses a TypeScript subset to write a compiler to 32bit ARM assembly and explains that it almost looks like Pseudocode, so it is very accessible. A sentiment I can get behind, despite avoiding it in any case possible.
- jabits 3y agoThanks for the ref. Looks very interesting!
- Bognar 3y agoI would also _highly_ recommend Crafting Interpreters: https://craftinginterpreters.com/ https://craftinginterpreters.com/ The book is split into two parts. The first implements a language interpreter in Java, and the second implements the same language by building a compiler to byte-code and also implements a byte-code VM in C. Every line of code in the implementation is referenced in the book.
- jjice 3y agoAnecdotally, I love the reference to the classic "Dragon Book" that this cover makes.
- gavinray 3y agoThis looks great -- thank you for sharing!