Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 733 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 733 Bytes

Mini-STG-Wasm: a mini compiler

This is an attempt to compile Spineless Tagless G-Machine ( STG ) language to Web-Assembly bytecode.

About the mini-STG language

The language is similar to the language defined in the classical STG paper by Simon Peyton Jones in 1992: The Implementation of Functional Programming Languages.

The syntax file is modified from the syntax file used in quchen/STGi, since the simplified syntax is just enough to prove my method.