[antlr-interest] added a vrml.g

Braden McDaniel braden at endoframe.com
Mon May 27 14:39:38 PDT 2002


On Mon, 2002-05-27 at 16:56, Terence Parr wrote:
> Folks,
> 
> Added a start of a vrml grammar; see comments on this page:
> 
> http://www.antlr.org/resources.html

FYI: I've been using ANTLR in OpenVRML for some time. I haven't bothered
to submit a VRML grammar because I rely heavily on semantic predicates
for disambiguation:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/openvrml/openvrml-core/src/OpenVRML/Vrml97Parser.g?rev=1.30&content-type=text/vnd.viewcvs-markup

I'm able to use k=1, though. Also, I use a hand-written scanner.

The copyright on the file you have appears to be ripped out of the
lex/yacc parser SGI contributed. I seriously doubt it is correct in the
context of the ANTLR grammar. The VRML97 language authors are actually
Gavin Bell, Rikk Carey, and Chris Marrin.

-- 
Braden McDaniel                           e-mail: <braden at endoframe.com>
<http://endoframe.com>                    Jabber: <braden at jabber.org>


 

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



More information about the antlr-interest mailing list