Converting BNF grammar to EBNF

"Scorpio" <>
9 Aug 2006 00:00:35 -0400

          From comp.compilers

Related articles
Converting BNF grammar to EBNF (Scorpio) (2006-08-09)
Re: Converting BNF grammar to EBNF (George Neuner) (2006-08-11)
| List of all articles for this month |

From: "Scorpio" <>
Newsgroups: comp.compilers
Date: 9 Aug 2006 00:00:35 -0400
Keywords: syntax, question
Posted-Date: 09 Aug 2006 00:00:35 EDT


I am a newbie with the parsing stuff, and I am trying to convert a BNF
grammar to an EBNF one. I have a lexer rule which states Set ::= Set1 -
Set2; I am using ANTLR v3.0 Beta 3 and unable to get how to convert
this into the ANTLR grammar. ANTLR just rejects the "-" operation on
sets. Please help!

Sandeep Gupta

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.