15 lines
545 B
Python
15 lines
545 B
Python
# -*- coding: utf-8 -*-
|
||
"""ir_core:Story IR 校验 + 编译 + 词典的共享内核。
|
||
|
||
编译器 CLI(ir_compile.py)与(M5)Web 后端共用此包,保证试走/校验/导出口径一致。
|
||
"""
|
||
from .dictionary import CompileError, Dictionary, load_dictionary
|
||
from .compile import compile_ir, extract_texts, expand_out_refs
|
||
from .validate import validate, collect_point_refs
|
||
|
||
__all__ = [
|
||
"CompileError", "Dictionary", "load_dictionary",
|
||
"compile_ir", "extract_texts", "expand_out_refs",
|
||
"validate", "collect_point_refs",
|
||
]
|