|
![](/i/fill.gif) |
In article <4057ea45@news.povray.org>, tho### [at] trf de says...
> In article <MPG.1ac147e51c2d571d9899e7@news.povray.org> , Patrick Elliott
> <sha### [at] hotmail com> wrote:
>
> > One thing that would be very helpful in byte code is 'parse once, run
> > multiple times'.
>
> This is impossible with the current POV-Ray SDL because it offers
> self-modifying and self-generating capability.
>
Self modifying isn't necessarily a major problem, "if" done right. The
problem with the existing implementation is that it can't really do so. I
wouldn't say self modification *and* bytecode is an impossibility. Most
things like Java and VBScript use byte code too. You can however insert
more code into the global scope or even use some functions in the
languages to dynamically change the code as it runs by loading a text
file and passing it to the engine to execute. I have no idea how this is
done though.
It does admittedly complicate things I admit.
--
void main () {
call functional_code()
else
call crash_windows();
}
Post a reply to this message
|
![](/i/fill.gif) |