Get the latest tech news

Building a WASM compiler in Roc (series)


Table of contents for my series on building a WASM compiler in Roc: Part 1 - Project Introduction (Roc and Wasm) Part 2 - Arguments and IO in Roc Part 3 - Tokenizer boilerplate Part 4 - Errors and positions in tokenizer Part 5 - Testing and tokenizing Part 6 - Introduction to Parsing Part 7 - Refactoring with confidence (more parsing) Part 8 - Introduction to Transforming Part 9 - Transforming Memory and Export nodes Part 10 - Transforming Data and Import nodes Part 11 - Transforming Function nodes Part 12 - Introduction to Code Generation Part 13 - Generating Data and Type sections Part 14 - Generating Import section Part 15 - Generating Function and code sections Part 16 - Generating Exports (and project conclusion) Source Code on GitHub

Dusty Phillips Canadian author and software developer. Author and software developer New Brunswick, Canada

Get the Android app

Or read this on Hacker News

Read more on:

Photo of series

series

Photo of wasm

wasm

Photo of wasm compiler

wasm compiler

Related news:

News photo

Google's September security update for Pixels slides in fixes for the whole series

News photo

Palantir co-founder Peter Thiel to lead 4-part series on the Antichrist

News photo

My favorite affordable phone cases are BOGO free (including for the new Google Pixel 10 series)