chore(misc): 按目录结构设计初始化工程骨架

This commit is contained in:
Lane0218
2025-12-27 14:37:52 +08:00
parent b30c963eb7
commit cf2e6e0b46
46 changed files with 195 additions and 0 deletions

5
src/irgen/IRGen.cpp Normal file
View File

@@ -0,0 +1,5 @@
// AST -> IR平台无关、LLVM 风格):
// - 将带语义信息的 AST 翻译为 src/ir/* 中的 IR 结构
// - 负责控制流结构化翻译(基本块、分支、循环)
// - 生成函数与全局对象,翻译表达式求值与调用等