16 lines
479 B
Python
16 lines
479 B
Python
"""符文引擎(Macros)—— ``{{...}}`` 占位符解析与替换。
|
|
|
|
纯逻辑模块(禁 IO),对齐酒馆核心宏子集 + 魂镜辰正时态扩展。
|
|
设计见 docs/contracts/contract-glossary.md(§5 统一挂载架构、§8.4 宏依赖)。
|
|
"""
|
|
|
|
from app.modules.macros.engine import MacroRegistry, MacroResolver, render
|
|
from app.modules.macros.types import MacroContext
|
|
|
|
__all__ = [
|
|
"MacroContext",
|
|
"MacroRegistry",
|
|
"MacroResolver",
|
|
"render",
|
|
]
|