I am developing a formula evaluation software, using an ANTLR lexer, parser and tree-parser.
I have some doubts about how to specify grammar and semantic actions for a “return” clause. Now, a return clause is specified as ^(RETURN expression). Is there any easy way for stopping tree-parsing and return a value to the caller? Thanks a lot -- David Marín Carreño S.I.C.E. Dirección Técnica. Tfno 91 623 22 30 E-mail: [email protected] 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 -~----------~----~----~----~------~----~------~--~---
