C0 compiler in your browser
This website hosts a C0 compiler that compiles C0 source code into x86-64 and wasm text format, and executes the compiled wasm directly in your browser! Try it out by writing your own C0 code in the editor below and clicking the "compile and run" button. The compiler is written in rust, and compiled to wasm using wasm-pack, and exposed to the browser javascript runtime as a callable module. This is part of the final project for the CMU 15-411/611 Compiler Design course in Spring 2024, developed by team Paul Erdos.
C0 source code
Compiled x86-64 assembly
Compiled WebAssembly
WebAssembly execution output