feat: DB管线补全 + 新增orchestrator_db/program_schema/to_sql + 清理临时脚本

This commit is contained in:
hangshuo652
2026-07-11 14:55:52 +08:00
parent 40e8a50ab4
commit af37e33b98
32 changed files with 3232 additions and 255 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ def _is_fixed_format(source: str) -> bool:
return fixed_hits >= free_hits if (fixed_hits + free_hits) > 0 else True
def preprocess(source: str) -> str:
def preprocess(source: str, extra_search_paths: list[str] = None) -> str:
# COPY 预处理:展开或移除 COPY 语句
# Lark 语法不支持 COPY(这是预处理指令),必须在解析前处理
source = resolve_copybooks(source, '.')
source = resolve_copybooks(source, '.', extra_search_paths=extra_search_paths)
# Strip EXEC ... END-EXEC blocks (CICS/SQL) before Lark parsing
source = re.sub(