Releases: decaf-lang/decaf
Releases · decaf-lang/decaf
Release version 2019.1.2
Change logs
- Add decaf logo (0afe86b)
- Fix class cast precedence (#3)
- Fix a couple of bugs (#2, #5, #6, #8, #11 , 127b9a7)
- When pretty printing types, add parentheses for FunType if necessary (eeedd66)
Separate framework source code:
Patches
-
To upgrade from v2019.1.0 to v2019.1.2 (full framework): v2019.1.0_v2019.1.2.patch.zip
-
To upgrade from decaf-PA1-A to decaf-PA2 (separated framework):
decaf-PA2_decaf-PA1-A.patch.zip
For those who would like to use the compiler, simply download the prebuilt jars below.
Release version 2019.1.3
Separate framework source code:
Patches
- To upgrade from decaf-PA2 to decaf-PA3 (separated framework):
decaf-PA2-PA3-patch.zip
本阶段涉及的类说明
如果您不擅长使用diff能指令,可以解压PA3.zip后,按照如下指令替换对应文件,即可得到PA3框架。
| 文件 /类 | 说明 |
| -------- | :----: |
| jacc/Decaf.jacc | 你要用PA2中文件**覆盖**该文件 |
| jflex/Decaf.jflex | 你要用PA2中文件**覆盖**该文件 |
| frontend/tacgen/* | 根据需要修改 |
| frontend/parsing/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| frontend/scope/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| frontend/symbol/* | 你要将PA2中修改过的部分**复制**过来 |
| frontend/tree/* | 你要将前两个阶段中修改过的部分**复制**过来 |
| frontend/type/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| frontend/typecheck/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| driver/error/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| printing/* | 你要用PA2中文件**覆盖**目录下相应的文件 |
| lowlevel/tac/FuncVisitor | 根据需要修改 |
| lowlevel/tac/RuntimeError | 根据需要修改 |
First Release!
Separate framework source code:
For those who like to use the compiler, simply download the prebuilt jars below.
NOTE that the target "PA1-B" may not work correctly as the implementation is incomplete.