Crate chasm_rs

Source
Expand description

This crate is a single-pass compiler to WebAssembly for the language chasm.

chasm is a very simple language created by Colin Eberhardt, to introduce the basic building blocks of compilers, and reveal some of the inner workings of WebAssembly. This is a implementation of the compiler in Rust.

Structs§

Error
A compilation error.

Enums§

ErrorKind
The type of compilation error.

Functions§

compile
Compile the given chasm source code in a WebAssembly module.