[antlr-interest] One weird, one (hopefully) simple problem .. . from a newbie

mzukowski at yci.com mzukowski at yci.com
Mon Jan 27 08:41:14 PST 2003


There are other ways around these ambiguities.  See for instance
www.codetransform.com/filterexample.html.  Also if you are doing an AREV or
BASIC parser you might be interested in some of the other pages on my site
that tell how I did an AREV to VB translator.

Monty

-----Original Message-----
From: Robert Colquhoun [mailto:rjc at trump.net.au]
Sent: Friday, January 24, 2003 2:31 PM
To: 'antlr-interest at yahoogroups.com'
Subject: Re: [antlr-interest] One weird, one (hopefully) simple problem
... from a newbie


...

Because of evilness within the language(ARev/Pick BASIC) ie statements and 
variables clashed, both could be called "PRINT", "LOOP" etc the above 
didn't work, i had to do something more complicated in the lexer, lexer 
states to get the thing working.

PS For anyone interested the original grammar is 
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/maverick/maverick/

src/org/maverickdbms/tools/BASIC.g?rev=HEAD&content-type=text/plain

...

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



More information about the antlr-interest mailing list