4 ms·
Imo that's data, except if the filter is an executable script. For me, the programming part in yaml is string, either single, array or multiline, that will be c
by fendy3002 8y ago
Imo that's data, except if the filter is an executable script. For me, the programming part in yaml is string, either single, array or multiline, that will be compiled, executed or eval-ed.
In your case, it can be defended as documentation for data mapping, but executable scripts are rarely so.
- philipov 8y agoI once built an interpreter that parsed YAML files as s-expressions, just to watch them scream. I called it YAMlisp, because it's better than a potato.