Files
scc/libs
zzy 676f3ec82c feat(ir2mcode): 添加IR到机器码转换功能并修复函数命名
添加了完整的scc_ir2mcode实现,将MIR指令转换为机器码,
同时修复了头文件中的函数命名错误(scc_mir2sccf改为scc_ir2sccf)。

BREAKING CHANGE: 函数名从scc_mir2sccf更改为scc_ir2sccf

fix(vec): 修复向量循环和内存释放问题

修改了scc_vec_foreach宏使用+= 1避免潜在的编译器警告,
并添加了空指针检查以防止重复释放内存导致的崩溃。

refactor(hashtable): 优化哈希表接口设计

将scc_hashtable_get参数改为const类型,提供更好的只读访问安全性。

test: 添加break/continue和goto语句测试用例

新增18_break_continue.c和19_goto.c测试用例,
并对齐expect.toml文件格式以便于维护。
2026-05-03 21:34:40 +08:00
..

lexer

(Lexical Analysis) 词法分析

pproc

(Preprocessor) 预处理器

parser

(Syntax analysis) 语法分析

sema

(Semantic Analysis) 语义分析

ast

(Abstract Syntax Tree) 抽象语法树

ast2ir

抽象语法树到中间代码

ir

(Intermediate Representation) 中间代码标识

cfg

(Control Flow Graph) 控制流图

hir

(High-Level Intermediate Representation) 高级中间代码标识

lir

(Low-Level Intermediate Representation) 低级中间代码标识

mir

(Machine Intermediate Representation) 机器中间代码标识

ir2mcode

中间代码到机器码

mcode

(Machine Code) 机器码

sccf

统一输出格式

target

目标平台支持

Windows Portable Executable Format

Windows Portable Executable Format 中文文档