Get the latest tech news

Compiling to Assembly from Scratch


Have you been trying to learn how compilers and programming languages work? Then come along! Let’s make a compiler that goes all the way from source to assembly from scratch—no shortcuts! This book will teach you enough compiler theory and assembly programming to get going. It uses a subset of TypeScript that reads like pseudocode and targets ARM 32-bit instruction set.

It uses a subset of TypeScript that reads like pseudocode and targets ARM 32-bit instruction set. She also drew 15 chapter illustrations that are exclusive to the print edition of the book. Print edition consists of 207 pages, size 6×9” (152×229 mm), in matte hard cover, available at lulu.com.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Scratch

Scratch

Photo of assembly

assembly

Related news:

News photo

A Friendly Introduction to Assembly for High-Level Programmers

News photo

Writing a Lisp compiler (Lisp to assembly) from scratch in JavaScript (2018)

News photo

Writing an HTTP Server in Go from Scratch: Part 1