|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi All,
I'm rewriting the parser for my pov2mesh application
(http://www.geocities.com/psenzee/pov2mesh/) and I've got a question about
how directives are handled in pov. Are the directives in POV a logically
separate phase like a C preprocessor?
In the pov bnf, things like
#if ( BOOL ) TOKENS ...
lead me to believe that it's a separate phase, but then there are other
restrictions on when and where certain directives can be used that are not
consistent with a separate 'preprocessor'. Any info about this would be
great!
Thanks!
Paul Senzee
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul Senzee wrote:
> I'm rewriting the parser for my pov2mesh application
> (http://www.geocities.com/psenzee/pov2mesh/) and I've got a question about
> how directives are handled in pov. Are the directives in POV a logically
> separate phase like a C preprocessor?
Sadly, no. They sit slightly "below" the parser, closer to the tokenizing
code, yet they do interact with the parser in some complex ways that won't
be clear from the source code immediately.
Thorsten Froehlich, POV-Team
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Paul Senzee wrote:
> In the pov bnf
Is there a document available that shows the definition of the POV-SDL
in BNF? I once updated the syntax highlightning plug-in for jEdit and at
some points I was in trouble, because I didn't know how the POV-SDL is
structured.
Thanks,
Bonsai
--
<--------------------------->
___ __ __ _ ___ ___ _
| _ ) \ \( ) _) _ )( )
| _ \() |\ \ |\ \/ _ \| |
|___/__/_)\__)___)/ \_)_)
www.b0n541.net
<--------------------------->
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi Bonsai,
You can find the language spec at
http://www.povray.org/documentation/view/3.6.1/224/.
Paul Senzee
"Bonsai" <bon### [at] b0n541net> wrote in message
news:43cdf4e6$1@news.povray.org...
> Paul Senzee wrote:
> > In the pov bnf
>
> Is there a document available that shows the definition of the POV-SDL
> in BNF? I once updated the syntax highlightning plug-in for jEdit and at
> some points I was in trouble, because I didn't know how the POV-SDL is
> structured.
>
> Thanks,
>
> Bonsai
>
> --
> <--------------------------->
> ___ __ __ _ ___ ___ _
> | _ ) \ \( ) _) _ )( )
> | _ \() |\ \ |\ \/ _ \| |
> |___/__/_)\__)___)/ \_)_)
>
> www.b0n541.net
> <--------------------------->
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |