Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> That's impossible to do with the current SDL syntax.
True, that's why I was referring to the new 4.0 syntax. For the 3.6 syntax
it *is* impossible to write a grammar usable with ANTLR, see my statements
above.
> Abusing macros and
> loops you could make the syntax change from valid to invalid depending
> on what frame number you're rendering.
Why would there be such a thing like syntactically invalid frame code? If
it's invalid POV-ray can not render it.
> And the only way to test that is
> interpreting the whole scene code with the current parameters, which
> could very well take hours on some scenes with built-in physics
> simulations :)
An option deactivating the automatic syntax validation could solve this as
well as the invalid-frame thing above.
- Wolf
Post a reply to this message
|