- golang: 1.24 with cgo
- llvm: 19
- graphviz
# 如果有本地镜像, 导入镜像
./run.sh import
# 或者构建镜像
./run.sh build- Visualize Symbol Table with Dot Lanugage
./run.sh compile example/scopes.rs --stage=semantic --visualize # func.rs位于example目录中(挂载)- Generate LLVM IR
./run.sh compile example/func.rs --stage=ir # func.rs位于example目录中(挂载)- Generate ASM
./run.sh compile example/func.rs --stage=asm # func.rs位于example目录中(挂载)- Generate Binary
./run.sh compile example/func.rs --stage=bin # func.rs位于example目录中(挂载)- Generate Executable
./run.sh compile example/func.rs --stage=exec # func.rs位于example目录中(挂载)