Converting BNF grammar to EBNF

"Scorpio" <sandy.pec@gmail.com>
9 Aug 2006 00:00:35 -0400

          From comp.compilers

Related articles
Converting BNF grammar to EBNF sandy.pec@gmail.com (Scorpio) (2006-08-09)
Re: Converting BNF grammar to EBNF gneuner2@comcast.net (George Neuner) (2006-08-11)
| List of all articles for this month |

From: "Scorpio" <sandy.pec@gmail.com>
Newsgroups: comp.compilers
Date: 9 Aug 2006 00:00:35 -0400
Organization: http://groups.google.com
Keywords: syntax, question
Posted-Date: 09 Aug 2006 00:00:35 EDT

Hi


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.