Email the Author
You can use this page to email build-your-own.org about From Source Code To Machine Code.
About the Book
Build a compiler to learn how programming languages work. Use low-level assembly to learn how computers work.
Walks through a minimal yet complete compiler implementation. Compiles a static-typed language into x64 ELF executables.
- Simple interpreter. Get your own programming language up and running.
- Bytecode compiler. A step closer to the machine.
- x64 assembly & instruction encoding. Understand how the machine works.
- Translate bytecode to x64 code. Bridging the virtual machine to the real machine.
- Generate binary executables. Putting it all together.
Web version of the interpreter chapters.
You may also like: Build Your Own X Series
About the Author
Educational software development materials.
Visit my website for more content: https://build-your-own.org
Subscribe to my mailing list for my future books.
Books: