Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R-Compiler

R-Compiler 能够编译Rust语言的子集,并生成llvm IR代码。

安装

# clone 仓库
git clone
cd R-Compiler

使用方法1

# 创建构建目录
mkdir build
cd build

# 生成构建文件
cmake ..

# 编译项目
make

# 运行编译器
./R-Compiler

程序会从标准输入读取源代码,并将生成的 LLVM IR 代码输出到标准输出。

使用方法2

# 编译项目
make build

# 运行项目
make run

Reference

Rust语言子集

Parser参考

Semantic参考

IR&Judging

测试点

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages