Dashboard > Labels > faq_parsing
  Labels Log In | Sign Up   View a printable version of the current page.  
  Label: faq_parsing

All content with label faq_parsing.
Related Labels: faq_lexing

How can I allow keywords as identifiers? (ANTLR 3)
grammar allows "if if call call;" and "call if;". grammar Pred; prog: stat ; stat: keyIF expr stat keyCALL ID ';' ';' ; expr: ID ; keyIF : ? ID ; keyCALL : ? ID ; ID : 'a'..'z' ; WS : (' ' '\n') ; You can make those semantic ...
Other labels: faq_lexing
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.1 Build:#806 May 06, 2007) - Bug/feature request - Contact Administrators