4 ms·
A friend uses YAML in that way. Each entry is valid JS code. The result is you have a mixed declarative-imperative configuration language. It's very powerful an
by stelonix 5y ago
A friend uses YAML in that way. Each entry is valid JS code. The result is you have a mixed declarative-imperative configuration language. It's very powerful and I have found a few uses too. The best part is that the evaluator is at most 30 lines of code.