golang: 1.24.2 with cgo
# 导入镜像
./run.sh import
# 或者构建镜像
./run.sh build
- Parser
./run.sh parser scopes.rs # scopes.rs位于example目录中(挂载)
- Symbol Table
./run.sh symtable scopes.rs # scopes.rs位于example目录中(挂载)
- Visualize Symbol Table with Dot Lanugage
./run.sh dot scopes.rs # scopes.rs位于example目录中(挂载), 在output中查看产物
- Generate LLVM IR
./run.sh ir func.rs # func.rs位于example目录中(挂载)