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

View File

@@ -0,0 +1,5 @@
// 前端解析驱动:
// - 读取源代码
// - 调用 ANTLR 生成的 lexer/parser 得到 parse tree
// - 对外提供“可用的解析入口”(语法正确性由测试保证)

View File

@@ -0,0 +1,4 @@
// AST 构建:
// - 将 ANTLR parse tree 转换为 AST对应 src/ast/*
// - 在 AST 节点上保留必要的定位信息(可选,用于调试/日志)