see issue #13 . Dynamic content needs a parse possibility (live parsing of dynamic values such as "current line") and LPeg dynamic rule generation would benefit of recursive parsing.
This would mean: separate target ranges (only expression in target?), and content ranges/ expression into a "__string" subkey of parse table. Call parse() on this subkey when needed.
Seems like this should work. Does recursive parse need to go through the directive dispatcher..? Hmm.
see issue #13 . Dynamic content needs a parse possibility (live parsing of dynamic values such as "current line") and LPeg dynamic rule generation would benefit of recursive parsing.
This would mean: separate target ranges (only expression in target?), and content ranges/ expression into a "__string" subkey of parse table. Call parse() on this subkey when needed.
Seems like this should work. Does recursive parse need to go through the directive dispatcher..? Hmm.