#yamlscript — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #yamlscript, aggregated by home.social.
-
-
用 #yamlscript 把 #perlbrew 的一部分 CI workflow 檔案重新整理一下了。我覺得很好。
-
https://www.youtube.com/watch?v=Cdi3Q4Wrt48
Nice ltiile Talk about #YAMLScript from Ingy.
-
https://github.com/gugod/advent-of-code/blob/fun/2024/11/solve-2.ys
AoC 2024 第 11 天份。
用了雙層 reduce,覺得有點怪怪的。但一時之間沒有想到更簡潔的做法。就這樣啦。
-
https://github.com/gugod/advent-of-code/blob/fun/2024/10/solve-2.ys
AoC 2024 第 10 天份。
這題我在解第一部時是先寫了給第二部用的程式,然後發現不對,寫錯了,重寫一遍。然後在解第二部時發現:可惡,剛剛的版本沒留著。
-
https://github.com/gugod/advent-of-code/blob/fun/2024/9/solve-1.ys
第九日第一部分。自己橋了一個資料結構想說應該比較省空間。結果搞邊界條件找好久。果然我還是庸人自擾派(?)
-
https://github.com/gugod/advent-of-code/blob/fun/2024/7/solve-2.ys
今年 AdventOfCode 我只解到第七天份,目前為止全用 YAMLScript 來解。
第七天的輸入內容的格式正好就是 YAML,那解析檔案的部分就直接用 ys::yaml 的 load-file 函式啦。
-
I really like my resursive solution for AoC.2024.3
Also, destructive assignment from regex captures ? awesome.
-
https://github.com/gugod/advent-of-code/blob/fun/2024/2/solve-2.ys
Needed a bunch of utilitiy function... but still managed to finish day 2 of 2024 AoC using #yamlscript in the first try.
-
https://github.com/gugod/advent-of-code/blob/fun/2024/1/solve-2.ys
This year, yamlscript becomes much more viable for playing with #AdventOfCode !
-
@adamcrussell @perl I’m already behind. :-( I was hoping to do this year in python or #yamlscript. Your comment about boosting #perl is making me feel a little guilty about choosing a different language.
-
@ferki @tag-perl @arichtman Bad news: Ingy’s not done. https://YAMLScript.org
-
This seems really neat, but I definitely have some concerns about how it might be used and the security issues around making something people think is a config file executable.