Be aware that YAML is tricky to parse, there are better formats such as
TOML which are much easier and tend to be less error prone. It is very
easy to get some indentation wrong in YAML and move something up or down
a level. TOML is IMHO a better format for such stuff.
YAML: http://yaml.org
TOML: https://github.com/toml-lang/toml
There is also StrictYAML which removes some problematic features from
YAML. Anyway, I think that if all you need is something that maps to a
hashmap that is not too deep (thats important) then TOML is a better format.
On 28/12/2018 18:00, Richard Gaskin via use-livecode wrote:
Sannyasin Brahmanathaswami wrote:
> @ y'all about revision control of binary stacks and YAML properities
> (front matter) for text only scripts.. cool musings! but they might
> want/need different threads?
One of your team members requested extending the format of script-only
stacks specifically to support your project's goals.
YAML is a notation for expressing name-value pairs in a format
optimized for human writing, something we LC fans like in a language.
It would seem to lend itself well to the request made here in support
of your work.
Not at all my intention to hijack your thread by exploring that option
further to see if we can arrive at an actionable plan. On the
contrary, it is in direct support of pursuing solutions specific to
your needs.
We could rename this part of the discussion, but since it involves
nested behaviors, MVC, and architecture, and is occurring for the
purpose of helping your work, if we did so you might miss something
useful for you.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode