新增 STCompiler 使用说明文档。

- 构建 / 用法(-o 产出 .stb)/ 退出码 / line1 示例
- project.toml 字段表、ST 子集支持范围与 v1 限制清单
- 编译管线五类错误前缀与示例;样例与测试索引;当前状态
- compiler/README 与 Doc/索引 登记
This commit is contained in:
2026-08-21 11:55:36 +08:00
parent 6f5e8ef755
commit eb6829b9b9
3 changed files with 129 additions and 2 deletions
+2
View File
@@ -8,6 +8,7 @@ doc/
初步计划.md
isa/指令与映像.md
compiler/编译管线.md
compiler/STCompiler使用说明.md
compiler/词法.md
compiler/语法.md
compiler/符号表与链接.md
@@ -22,6 +23,7 @@ doc/
| [`初步计划.md`](初步计划.md) | 全工程定案:子集 ST、toml、执行模型、第 12 节阶段 |
| [`isa/指令与映像.md`](isa/指令与映像.md) | 指令、映像、定宽类型、饱和;**规范以此为准** |
| [`compiler/编译管线.md`](compiler/编译管线.md) | 编译器边界与管线 |
| [`compiler/STCompiler使用说明.md`](compiler/STCompiler使用说明.md) | 构建、用法、工程文件、ST 子集、错误类别 |
| [`compiler/词法.md`](compiler/词法.md) | 12.4 词法:关键字表、token、大小写、TIME 字面量 |
| [`compiler/语法.md`](compiler/语法.md) | 12.5 语法:AST 结构、文法、拒绝清单 |
| [`compiler/符号表与链接.md`](compiler/符号表与链接.md) | 12.6 符号表与链接:数据区定址、FB 布局、错误类别 |