Sven Prevrhal wrote: > I want to parse recipes. How can I distinguish (for instance) between a > measuring unit such as “cups” and other general words?
This is the classic "keywords as identifiers" issue. See http://www.antlr.org/wiki/pages/viewpage.action?pageId=1741 or search for "keywords as identifiers" in the mailing list - it's been discussed a lot. 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 -~----------~----~----~----~------~----~------~--~---
