|
|
Op 5-4-2024 om 16:12 schreef Chris R:
> One suggestion for future versions of POV-Ray might be to allow a mode where you
> can essentially dump the results of parsing the scene as SDL with all macros
> fully resolved. That way you can see exactly what the parser is doing with your
> macros and help find syntax problems in them.
>
Yes, that would be important indeed.
> Back in my C programming days we had some developers who were heavy users of
> C-style macros, so it was very difficult to map syntax errors from the compiler
> back to their original C code. Fortunately, the C compiler separated out the
> macro processor, so you could just run that to see the resulting pure C code and
> find and fix the errors.
>
Something like that is missing in POV-Ray I guess. It is often very
difficult to understand or relate an error message to the proper error.
See for instance this latest message I submitted to BE in the post above.
--
Thomas
Post a reply to this message
|
|