|
![](/i/fill.gif) |
Thomas Baier <tho### [at] ibm net> wrote:
: Please keep in mind: POV 2.2 syntax was a little bit simpler than 3.1.
: Anyway, the main problem with L&Y was a shift/reduce problem during comma
: parsing.
: There a lot of expression you could set a comma but you do not have to.
I really like povray's syntax flexibility. For example, intead of having
to type:
light_source { <1,2,3>, color rgb <1,1,1> }
you can type
light_source { <1,2,3>, rgb <1,1,1> }
or
light_source { <1,2,3>, <1,1,1> }
or
light_source { <1,2,3>, 1 }
or
light_source { <1,2,3> 1 }
or even
light_source { <1,2,3>1 }
Or another example: Instead of having to type:
box { <-1,-1,-1>,<1,1,1> }
you can just type
box { -1,1 }
or even
box { -1 1 }
(although I don't really use this one)
Don't ever change this to a less flexible syntax, please :)
--
main(i){char*_="BdsyFBThhHFBThhHFRz]NFTITQF|DJIFHQhhF";while(i=
*_++)for(;i>1;printf("%s",i-70?i&1?"[]":" ":(i=0,"\n")),i/=2);} /*- Warp. -*/
Post a reply to this message
|
![](/i/fill.gif) |