7 ms·
Very great presentation! I made a little toy some time ago [1] with YAML files compiled into Javascript code, in Lisp style, basically along the same lines as t
by theowenyoung 4y ago
Very great presentation! I made a little toy some time ago [1] with YAML files compiled into Javascript code, in Lisp style, basically along the same lines as the article, and I use this project to manage my dotfiles. The basic syntax probably looks like this:
- use: def
id: obj
args:
list:
- Hello
- true
foo:
cat: 10
- use: console.log
args:
- ${obj.list[0]} World
- ${obj.foo.cat}
- ${JSON.stringify(obj.foo)}
[1]: https://github.com/yamlscript/yamlscript https://github.com/yamlscript/yamlscript
- deleted 4y ago[deleted]
- orthoxerox 4y agoThis looks like something IBM would make.