Fork me on GitHub
#yamlscript
<
2024-04-18
>
Ingy döt Net18:04:29

Last week @pez asked me if YS could be used to refactor his Calva CircleCI config.yml https://github.com/BetterThanTomorrow/calva/blob/published/.circleci/config.yml I just finished a PR for that with 30 iterative commits resulting in: https://github.com/ingydotnet/calva/blob/dev/.circleci/config.ys which evaluates to an equivalent config.yml file with:

$ make build
ys --load --yaml --ordered config.ys >> _config.yml
mv _config.yml config.yml
The README.md explains it pretty well: https://github.com/ingydotnet/calva/blob/dev/.circleci/README.md

👍 1
💯 2
Ingy döt Net18:04:58

Starting a thread to link elsewhere.

delon13:05:30

That's awesome

pez21:04:26

This Calva was released with YamlScript. 💪 🚀

💪 1
🎉 2
phill00:04:26

Three weeks ago, homoiconicity was just a gentlefolks' conceit. Now it is rising, reptilian, out of the drains.

💯 1
delon13:05:59

I'm late to this party, but I agree wholeheartedly with @U0HG4EHMH. Though I wonder... Do you think "code-as-data" might be a preferable expression to "homoiconic"? To my mind "code-as-data" is the important concept and would likely result in less debates.

phill00:04:26

Three weeks ago, homoiconicity was just a gentlefolks' conceit. Now it is rising, reptilian, out of the drains.

💯 1