This might be out of scope for the project, but is there (or maybe there could be) a way to extend parsing with new features? For example, a new directive à la @include or variable expansion in strings.
Right now I’m resorting to monkey-patching TokenStream.from_file(), where I can mangle file contents however I want before chaining back up with an iterable, but that relies on internal behavior too much.
I would be willing to implement something minimally-invasive to suit my needs.
This might be out of scope for the project, but is there (or maybe there could be) a way to extend parsing with new features? For example, a new directive à la
@includeor variable expansion in strings.Right now I’m resorting to monkey-patching
TokenStream.from_file(), where I can mangle file contents however I want before chaining back up with an iterable, but that relies on internal behavior too much.I would be willing to implement something minimally-invasive to suit my needs.