I like YAML and I have No shame about it
I like YAML and I have No shame about it
yaml.org/faq.html
Apparently that ancient page still exists.
We always preferred .yaml but that ship has sailed.
Take your pick.
Follow along as I attempt to write something about YS every day of June, July and August!
yamlscript.org/blog/2025-06...
Code is here github.com/ingydotnet/a...
I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1 using #yamlscript
Where is that from?
Oh. Also works from Ruby :)
rubygems.org/search?query...
Hi friend! LTNS!
Give YAMLScript a try!
gist.github.com/ingydotnet/9...
It's Zig's next door neighbor here:
exercism.org/tracks
BTW, you run the tests with the `prove` command and you can write tests in any language by simply using the appropriate shebang line. `#!/usr/bin/env ys-0` for #yamlscript etc.
And you can use a different lang for each file if you wanted!
Let me know how things turn out, please!!
I added a "Unit Testing" link that page from yamlscript.org/doc/
Thanks for asking. I hadn't thought of people using ys for YAML unit testing, but it's a great idea. Someone else asked about yesterday!
Ah, excellent!
Have a look at yamlscript.org/doc/ys-tapte...
All the runtime unit tests for `ys` use it.
github.com/yaml/yamlscr...
And all the tests for the #yamlscript #exercism exercises use it for the tests you need to pass
exercism.org/tracks/yamls...
I'm planning to use it in #helm charts.
You gonna follow me back?
Criticism is easy. Creating something worth criticizing is the hard part.
looking at yamlscript.org and considering the amount of #yaml I'm dealing with this is actually appealing to me
Did you catch my ys tutorial at kubecon yesterday.
Hope you find it useful and feel free to reach out if you get stuck. New things take time and the docs are not yet 100%.