|
|
Hi All,
I'm afraid I'm not able to answer your query, but I remember quite
some time ago, I watched a thread that was exactly about that and I
saved one of the messages, so here it is, copied below my signature
file.
I hope this helps, but I don't know how much.
My recollection of this thread is that no one knew of a BNF version
of POV-Ray's scene description language.
Besides, the language is fairly flexible, and it may not be possible
to apply the formalism to it, simply because the formalism uses a
strict grammar.
Cheers,
Al.
Doug Partridge wrote:
> I wouldn't mind it either
--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :
To answer me, please take out the Z from my address.
======================
Subject: Re: using flex and bison to parse povray scenes
Date: Thu, 12 Feb 1998 13:06:43 -0800
From: "Ken Cecka" <cec### [at] televarcom>
Newsgroups: povray.general
References: 1
You might check out libparpov at
http://wwwcip.informatik.uni-erlangen.de/~cnvogelg/parpov/index.html .
It's not flex or bison, but it's a fairly complete parser from what
I've
heard.
Ken
>There's something I've been tossing around for some time: Parsing a
>POVRAY scene, using a Parser built from flex and bison.
>- Has anybody else made a flex+bison parser for POVRAY scenes, where
I
>could get some ideas ?
>- Is it possible, to write the POVRAY language in BNF notation ?
> Jens Ch. Restemeier
Post a reply to this message
|
|
|
|
The main problem with writing a Flex/Bison parser for POV is probably the fact
that commas in POV are purely optional.
I've seen the docs for POV 3.1 (still in development), and it looks like
they've got EBNF in them. :-)
-Nathan Kopp
Alain CULOS wrote:
>
> Besides, the language is fairly flexible, and it may not be possible
> to apply the formalism to it, simply because the formalism uses a
> strict grammar.
>
Post a reply to this message
|
|