|
|
#declare MyFrobnitz = dictionary;
#declare MyFrobnitz.Foo = 42;
#declare MyFrobnitz.Bar = "FTW!";
Need I say more?
Oh, yes, of couse:
https://github.com/POV-Ray/povray/releases/tag/v3.7.1-x.dictionary.8790760
Future plans:
- Support for an array-like syntax, e.g. `MyFrobnitz["Foo"]` (originally
intended to be the primary syntax, with the dot notation planned as a
later syntactic sugar extension, but the parser's internals got in my
way, so I decided to go for the easier part first)
- Support for initializers (if you have any suggestions for the syntax
to be used, please let me know)
Post a reply to this message
|
|