ARMv7a上的SysY编译器
Syc works with browsers that support WebAssembly. Click here to it out.
mkdir build
cd build
cmake ..
makesyc [options] file
OPTIONS:
-o <file> Place the output into <file>.
-O<number> Set optimization level to <number>.
-g Produce debugging information in DWARF2 format.
-yydebug Enable debug of yacc parsers.
-print_ast Print the AST to stderr.
-print_ir Print the IR to stderr.
-print_log Print logs to assembly comment.
- Install node.js,
arm-linux-gnueabihf-gccandqemu-arm. cd build && make test
| 符号 | 说明 |
|---|---|
| % | 局部符号 |
| @ | 全局符号 |
| & | 数组 |
| ^ | 导出符号(不进行重命名) |