Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 345 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 345 Bytes

Sergelang

Sergelang is a programming language for the final project of the course "Compiler Principle" at the Zhejiang University.

Syntax

Usage

Run

# assume your riscv64 gcc toolchains is in /usr/riscv64-linux-gnu
cd runtime
make
cd ..
cargo run -- examples/test.rs
qemu-riscv64 -L /usr/riscv64-linux-gnu ./build/output