/c0_compiler

A simple compiler for C0.

Primary LanguageGoThe UnlicenseUnlicense

See https://github.com/BUAA-SE-Compiling/c0-handbook for syntax.
See https://github.com/BUAA-SE-Compiling/c0-vm-standards for VM instructions.
See https://github.com/BUAA-SE-Compiling/c0-vm-cpp for a VM implementation.

To build this compiler on Linux using `go v1.13`, go under this directory and run `build.sh`.

=======================================DISCLAIMER=======================================
This is only for demonstration purposes and should not be used in any production
environment.
========================================================================================