How to Build a WebAssembly Language for Fun and Profitby@courier
474 reads

How to Build a WebAssembly Language for Fun and Profit

tldt arrow
Read on Terminal ReaderPrint this storyRead this story w/o Javascript

Too Long; Didn't Read

This is the third article in the Build a programming language series. We are going to use a popular WebAssembly compiler toolchain called binaryen. Binaryen does most of the heavy compiling tasks for us. The compile function will take our root AST (a `BlockNode`) and return a new `binaryen module. The final phase of our code generation is code generation. The return type of `generateFunctionMap` is a map where the key is the function name and the value is an object containing all the important information about the function.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Build a WebAssembly Language for Fun and Profit
Courier HackerNoon profile picture

@courier

Courier

About @courier
LEARN MORE ABOUT @COURIER'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa