|
|
|
|
|
by theowenyoung
1386 days 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 |
|