Hi, everyone

This is somewhat of a feature request for the far future. I want to
discuss ANTLR Grammar Tree Types and Reflection a little.

I have found it a nice idea when one does Tree Grammar processing
beyond code pastes in .g file, that is  - an external processing by
events fired within observer or visitor, it would be definitely
pleasant to have access to Grammar Tree Typing mechanism (which does
not exists, of course).

For instance, I want to be able to access node signature (name of the
rule, params, returns) of a grammar tree inside my external observing
code (for now, I just put all the values by hand). You can think of
much more sophisticated rule typing mechanism. And ones ANTLR has
grammar typing one can think of reflected methods.

You are welcome to do some brainstorming to this request.

best,
Y.Y.
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to