POV-Ray : Newsgroups : povray.programming : ATT: POV team and everyone - POV4 design proposal : Re: ATT: POV team and everyone - POV4 design proposal Server Time
29 Jul 2024 00:30:48 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From: Thorsten Froehlich
Date: 13 Jan 2002 09:00:51
Message: <3c419313@news.povray.org>
In article <chr### [at] netplexaussieorg> , 
Christopher James Huff <chr### [at] maccom>  wrote:

>> Can I make a macro that would calculate a macro that I would pass it in
>> a parameter?
>
> Not currently. But this has little to do with anything being
> "precalculated", POV just assumes you want the result of a macro call
> instead of the macro identifier, similar problems exist with splines and
> functions. It should be possible to implement with a little parser work.

With parenthesis it should always for.  A recursive decent parser simply
cannot parser implement a grammar like the one needed to solve the above
problem without ambiguity.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.