Skip to content

2021年全国大学生计算机系统能力大赛—— 编译系统设计赛(华为毕昇杯)中,Calcifer队伍的作品

Notifications You must be signed in to change notification settings

n13eho/CalciferCompiler

Repository files navigation

CalciferCompiler

This is a simple compiler made by Team Calcifer in the competition 2021.

build

mkdir build && cd build
cmake ..
make

debug

if you want to see debug output, enable line 16 in CMakelist.txt, disable it if you don't.

run

  • run a single test: ./test_set/test.c

    cd build/
    ./calcifer
  • run sysy function tests

    cd build/
    ctest
    
    # if the FUNC_TEST is OFF and you wanna activate it...
    cd build/
    cmake .. -D FUNC_TEST=ON
    ctest

    same for the sysy performance tests

About

2021年全国大学生计算机系统能力大赛—— 编译系统设计赛(华为毕昇杯)中,Calcifer队伍的作品

Topics

Resources

Stars

Watchers

Forks