Hi Clifford
Would it be possible to include/extend once, as the parser is built? And just hold a cache of the resulting classes to be instantiated as the input is parsed. The brace rules could be defined on anonymous modules to be included.
This would break a parser which is dynamically constructing modules as it parses input, but that seems crazy anyway. Maybr there could be a syntax addition for the current behaviour when that is essential.
Regards
Jon
--
You received this message because you are subscribed to the Google Groups "Treetop Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to treetop-dev...@googlegroups.com.
To post to this group, send email to treet...@googlegroups.com.
Visit this group at http://groups.google.com/group/treetop-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
If possible, could you try my experimental branch and see if you see any improvements?