Subscribe
Sign in
Vladimir Keleshev 🚀

Compiling to Assembly from Scratch - Ebook — ARM — TypeScript

Learn about making a compiler that emits assembly *from scratch*. No previous experience with compilers is required. No libraries necessary. Just you and your favourite programming language. The book teaches you enough assembly programming to get going.

Add a comment

Replies

Best
Martin Clausen
This is an excellent book. It addresses the topic of compiler construction in a very approachable manner while going well beyond many of the "toy" compiler tutorials.
Vladimir Keleshev 🚀
@martinclausen8 Thanks, Martin! I'm glad you liked it.
Vladimir Keleshev 🚀
I hope you enjoy the book! It uses TypeScript for code but only a straight-forward subset that any programmer can follow: functions, simple data classes, interfaces, methods. The book also teaches you ARM assembly. ARM instruction set is more accessible compare to something like x86-64. You can run the compiled programs on Raspberry Pi, on ARM laptop/server, or you can use QEMU to emulate on an Intel/AMD processor (the book covers that too).