|
|
Raphael <roo### [at] localhostlocaldomain> wrote:
> What is a token and why do I care how many there are?
> And if I don't care why am I being told?
Since the POV-Ray SDL is a turing-strong language, it's impossible
to predict in a general case how long it will take to parse and thus
show a percentage of how much has been parsed already (this is basic
computational theory).
On the other hand, if POV-Ray shows no sign that it really is doing
something, it may look like it has hanged because nothing seems to be
happening.
As a compromise POV-Ray shows the number of tokens it has parsed
so that the user gets visual feedback that it really is doing something
and how much it has done already.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|