|
![](/i/fill.gif) |
[please correct any false assumptions in next paragraph]
I assume; when POVRay reads in a scenefile, it goes through the text
(skipping whitespace) until it finds a keyword, which it then converts
into something that the rest of the program understands. This might
involve looking ahead through the file to find a parameter (eg. when it
hits "sphere", it goes looking for the center and radius parameters) or
something.
My question; how far ahead does this look-ahead work? I have an idea for
a version of POVRay which will pass the scenefile to the parser in small
chunks (I'll explain why later), and I'd like to know how small I can
make those chunks without running into problems with look-ahead.
Please also inform me of any other problems this system might run into.
Thanks.
--
signature{
"Grey Knight" contact{ email "gre### [at] yahoo com" }
site_of_week{ url "http://digilander.iol.it/jrgpov" }
}
Post a reply to this message
|
![](/i/fill.gif) |