Re:Intercal, YAML, and Other Horrible Programming Languages
by loloquhwonedeo on Friday February 26, 2021 @10:30AM
(#26275712)
despite what the article shows, YAML is NOT a programming language - constructs such as `if`, `when` and others are not generic. Try to feed an ansible playbook to Travis, or get those jinja-like variable substitutions working with a YAML parser that doesn't process them, and things won't work as expected.
[ Parent
| on HN ]
Re:Intercal, YAML, and Other Horrible Programming Languages
by teh_klev on Friday February 26, 2021 @11:04AM
(#26276144)
The article already mentions this:
The problem with these languages embedded into YAML is they are all one-off implementations. TravisCI conditionals have a TravisCI specific syntax, usage, and features. You can't use Travis's concat function or conditional regex in the YAML configuration for your ansible playbooks.