Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.02 KB

File metadata and controls

48 lines (31 loc) · 1.02 KB

thss-2025-compiler-final

ANTLR4 C++ CMake License

Framework code for the 2025 Assembly and Compilation Principles course(44100593) project at Tsinghua University.

Prerequisites

Before building the project, ensure you have the following dependencies installed on your system:

Ubuntu/Debian

sudo apt update
sudo apt install build-essential cmake git pkg-config python3 openjdk-11-jdk curl clang

Build and Run

  1. Generate ANTLR Files

    make antlr
  2. Configure and Build the Project

    mkdir build && cd build
    cmake ..
    make -j8

Testing

To run the test suite:

make test

Package ans Submit

python package.py

Please submit the project.zip to Gradescope.