Hello, I have been reading these forms for a short time. There seems to be consensus amongst some users that semantic analysis should not be done in the parser, but rather in a tree or other data structure. I am completing the final phase of a compiler for a compiler class. As of now I have the embedded tree grammars in my parser file. I was just about to start doing inherited and synthesized attributes in order to do semantic analysis on types etc... Is it advisable to do this in a tree grammar?
Thanks, Steve McFarlin List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
