[antlr-interest] added a vrml.g

Braden McDaniel braden at endoframe.com
Mon May 27 18:10:46 PDT 2002


On Mon, 2002-05-27 at 17:54, Terence Parr wrote:
> 
> On Monday, May 27, 2002, at 02:39  PM, Braden McDaniel wrote:
> 
> > 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.
> 
> I wondered about that.  Should I remove that comment?

I think so.

> Shall I just replace the whole thing with your grammar?

Up to you. You are more than welcome to include it on ANTLR's resources
page if you like. I will point out that OpenVRML--and its ANTLR
grammar--are covered by the LGPL, as opposed to being in the public
domain like ANTLR.

-- 
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