[ANN] kdl-hs 1.0.0 released with v2 support

kdl-hs is a parser for the #KDL configuration language, now compliant with the v2 standard.

https://discourse.haskell.org/t/ann-kdl-hs-1-0-0-released-with-v2-support/13712

#Haskell

[ANN] kdl-hs 1.0.0 released with v2 support

kdl-hs is a parser for the KDL configuration language, providing both monadic and arrow-based decoding functionality. v1.0.0 reimplements the parser to be v2 compliant. The parser now preserves format information, so KDL.render is now implemented and outputs the same format the user provided. The parser can now also be configured to include span information, which is attached to each element in the tree. https://hackage.haskell.org/package/kdl-hs-1.0.0

Haskell Community

"#RoedeanSchool, a top #Johannesburg private girls’ school, is facing allegations of #antisemitism after its first-team #tennis side refused to play scheduled tennis matches against players from #KingDavidLinksfield (#KDL) because they were #Jewish.

The incident has sparked outrage, forced high-level inter-#school engagements, and raised alarming questions about alleged #discrimination taking place at the school. It has also ignited antisemitism online.

The SA Jewish Report has in its possession a verified recording of a conversation that took place between King David Principal #LorraineSrage and a member of #Roedean’s staff, in which the latter explains that the school is under pressure from its parent body not to play KDL.

She told #Srage, “We are facing a bit of pressure from our community and our constituents regarding not playing against #KingDavid. So It’s almost like what’s happening out in society is now affecting us at school level.”.

https://www.sajr.co.za/sinister-game-roedean-ducks-antisemitism-allegation-in-tennis-row/

Sinister game: Roedean ducks antisemitism allegation in tennis row

Roedean School, a top Johannesburg private girls’ school, is facing allegations of antisemitism after its first-team tennis side refused to play scheduled tennis matches against players from King David Linksfield (KDL) because they were Jewish.  The incident has sparked outrage, forced high-level inter-school engagements, and raised alarming questions about alleged discrimination taking place at the school. It has also ignited antisemitism online.  The SA Jewish Report has in its possession […]

SA Jewish Report
Ведь достаточно задействовать стандартизированный формат сериализации/конфигурации с МАССИВАМИ, больше ничего менять не нужно. Та же схема: если строка равна `%` — подставить вместо неё строку с путём к файлу, для внезапно необходимых строк из одних лишь `%` предусмотреть возможность экранирования «каждые `%%` превращаются в `%`». Но при этом за счёт продуманного стандартизированного формата у нас есть возможность явно разделять аргументы, передавая их в виде массива строк (тот же niri с его #kdl).
Ну и ладно, я могу и сам пошерстить. Только я не буду держать всё в голове либо в неструктурированных заметках, как делал это раньше, я буду собирать структурированные данные! В таблички я не умею и учиться не хочу (много кнопок, фу), поэтому буду использовать #kdl и тыкать #nushell.

maybe I'll do some KDL stuff today. As a treat.

#KDL

🌘 設定檔的本質:抽象化而非語法
➤ 告別語法之爭,擁抱抽象化來解決設定檔的根本問題
https://ruudvanasseldonk.com/2025/abstraction-not-syntax
文章探討目前對 YAML 等設定檔格式感到厭倦的現象,並指出許多新興格式僅在語法層面進行優化,而忽略了更根本的問題。作者認為,真正的關鍵在於抽象化能力,而非僅僅簡化語法。透過使用像 RCL 這樣的工具,可以利用迴圈和變數等程式碼概念來消除重複,減少錯誤,並提高可維護性,儘管這也會帶來額外的處理步驟和可搜尋性下降的挑戰。最終,對於複雜的設定,引入程式碼般的抽象化是必要的,以平衡程式碼與資料之間的關係。
+ 說得太對了!一直覺得 YAML 雖然看起來不錯,但重複性太高,很容易出錯。RCL 的例子確實展示了抽象化的威力。
+ 雖然我明白抽象化的好處,但導入新的工具鏈和處理步驟還是讓人有點猶豫。如何在可讀性和功能性之間找到平衡點,是個值得思考的問題。
#軟體開發 #設定檔 #抽象化 #YAML #TOML #KDL #RCL
Abstraction, not syntax

Alternative configuration formats solve superficial problems. Configuration languages solve the deeper problem: the need for abstraction.

Initial custom themes support has landed in @conjured.ink's stall software and it's very fast, and very easy to write custom themes for (assuming you know a little bit of HTML/CSS!)

Highlights:

  • VERY fast jinja-style templates w/ layouts & partials
  • KDL-based metadata ;)
  • No framework needed!
  • Easy packaging

Our shops are more than just ecommerce: they're going to be able to do newsletters/blogging, POSSE, and general custom websites, all with an EXTREMELY small footprint that will be cheap or free!

Like this whole thing? Please support us if can comfortably do so: https://mastodon.social/@conjured_ink/115347161647458655

#KDL #POSSE #IndieWeb #Rust #RustLang #StopPayPros #BoostsWelcome

Big Brain, btw, is designed to be data-oriented, so I might provide an API that lets you define game AI in .kdl files that look like this. It could also, for example, eventually use a hypothetical node editor (thing Blender Geometry Nodes), to define the same data.

#KDL #Bevy #BigBrain #GameAI

Hold up can we talk about how cute this little file tree icon for KDL files in Zed is?!

#KDL #ZedEditor #Zed

Wrote a tokenizer for #kdl in #zig, going to make it a full parser soon™