Skip to content

Toby-Shi-cloud/SysY-Compiler-2023

Repository files navigation

SysY Compiler 2023 (C++)

项目地址:https://github.com/Toby-Shi-cloud/SysY-Compiler-2023

BUAA Compiler Course Project 2023 by Toby Shi.

前排提示: 为了弥补2023年编译大赛摆烂的遗憾(Tobisc), 我决定陆续在编译课程要求的基础上进行开发,完成大赛的全部语法,并视情况考虑开发ARM32-V7后端和RISCV64后端。 对于希望参考本人实验课的代码的同学请checkout到tag experiment。 本人实验课最后一次提交采用的代码是:01748417

Build

  • c++ compiler = clang 10.0.0
  • c++ standard = c++17

Dependencies

You can download this library manually or use download.py (gh needed) to install them.

Usage

SYNOPSIS
        Compiler <source> [-O <level>] [-emit-llvm] [-S] [-o <output>]

OPTIONS
        -O          optimization level (0-3)
        -emit-llvm  emit llvm ir
        -S          emit assembly
        -o          output file (default a.out)

About

BUAA Compiler Course Project 2023 by Toby Shi.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages