On 30/03/2009, at 10:33 PM, john skaller wrote: > > What would be cool is if Felix "nested grammars" could work > efficiently.
The other thing that would be useful is a way to "insert" new productions at "priorities" between others. The obvious example is expressions where you want to add a new operator with a precedence between others. Dypgen at one stage had dynamically adjustable priority relations which would have supported this if it had worked (but it is clearly very difficult to get right in case there are several parallel parses running). Roughly Felix would benefit from ability to add new productions by "pushing" them onto a grammar stack, and later "forget" these productions. I conceive this as a purely functional operation, not a modification, working just like "scopes" in programming languages (because that's precisely the context in which the feature is needed :) -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language