POV-Ray : Newsgroups : povray.general : Github repository with useful macros : Re: Github repository with useful macros Server Time
16 Apr 2024 06:15:25 EDT (-0400)
  Re: Github repository with useful macros  
From: clipka
Date: 26 May 2021 18:53:27
Message: <60aed167$1@news.povray.org>
Am 22.05.2021 um 13:33 schrieb jr:

> thinking that what your + CR's (ingenious) posts demonstrate is just how much an
> 'istype()' like function is needed in SDL.  (I've a feeling it would not be too
> difficult to implement, a developer's perspective would be good)

"Pfffffffaaaaaaaaaaaaahahahahaha! BWAAAAHAHAHAHAHAHA!"
(*manic laughter*)
-- Anonymous developer.

Keeping track of the type of things IN THE PARSER ITSELF is painful 
enough... add to that the trouble of coming up with a nice elegant 
syntax, questions such as whether this should work only on variables, or 
also literals or even complex expressions...

... oh, and then add to the mix that the parser doesn't go, "ah, let me 
evaluate and see what the result of this expression is", but rather "ah, 
I expect this particular type here; let me see how the following makes 
any sense under that presumption"...

... ah, and let's not forget arrays. Arrays and array elements are fun. 
Hooray for how the parser handles arrays, and their elements. Yaaaaaay...

Yeah. Multiple cans of worms.

Post a reply to this message

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