Skip to content

zhangshuoming990105/CACTcompiler

Repository files navigation

Compiler

Compiler for toy language "CACT", as UCAS Compiler Principle's Experiment, the frontend uses antlr codegen. the backend target is RISCV64GC.

before run, need to make an antlr-runtime folder. See the antlr4-cpp-runtime-4.8-source.zip

Run ./build.sh to compile; binary is called "main".

detailed operation: please see in report.

hope this will be a raw guidance for Compiler practice, be free to use as a reference, BUT DO NOT COPY STRAIGHTLY!

About

UCAS Compiling Principle Experiment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published