Commit Graph
1 Commits
Author SHA1 Message Date
LixenandClaude Fable 5.1 5f0e9f30a4 v0.5.0 macro: expand macros in a parsed document, moved from vif's pkg/tomlmacro
Test / test (push) Waiting to run
A macro is a [macros.<Name>] table with typed params, defaults, a doc line
and a body; any table with a "macro" key invokes one, as a value or spliced
into an array, once per zipped element under "each". Expansion runs on the
parsed tree between Parse and Decode, is bounded, and reads nothing but the
documents it is given. The package is the expander vif's scenarios, bot
graphs and audio banks already use, placed here so that a module outside
vif, the audio engine's coming spin-off first, can share it.


Claude-Session: https://claude.ai/code/session_01RP6NsvbSaLTt1UbBXHNfL4

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-31 16:23:23 -04:00