POV-Ray : Newsgroups : povray.beta-test : POV-Ray v3.8.0-alpha.9945627 : Re: POV-Ray v3.8.0-alpha.9945627 Server Time
26 Apr 2024 11:37:16 EDT (-0400)
  Re: POV-Ray v3.8.0-alpha.9945627  
From: jr
Date: 6 Dec 2018 08:05:01
Message: <web.5c091d9fb0fe7d71e43b71790@news.povray.org>
hi,

clipka <ano### [at] anonymousorg> wrote:
> Am 06.12.2018 um 04:37 schrieb dick balaska:
> > On 12/4/18 11:24 PM, clipka wrote:

(in earlier message)
> > while on punctuation,,  ...
> The examples are wrong - my bad. As a C++ programmer ...

cheers.


> >> Commas are always optional, provided that this doesn't lead to ambiguity.
> >>
> >
> > *gurgle* man I hate that.  I get it, but these little odd nuances make
> > it near impossible for someone else to write a parser.  SDL is a rough
> > enough language as it is...
>
> You're telling me.

can you not use this opportunity to "shape" the future?  eg if you said from
version 3.9 or 3.10 the parser -- too lenient now -- will get "tightened", like
no more #declare without terminating semicolon, or even force ("nudge" ;-))
people into using commas consistently.  with the '#declare deprecated' you
already have a mechanism, no?

personally I'd like to see a '#pragma' keyword that would, among other things,
allow disabling certain parser warnings like "no object in scene", perhaps:
  #pragma disable_warning_*

or an enhanced #debug?  a real bugbear since I frequently have "scenes" that
only calculate or try something, ie without cameras, lights, and objects.

regards, jr.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.