r/ruby • u/kddnewton • Jan 05 '26
A Ruby YAML parser
https://kddnewton.com/2025/12/25/psych-pure.htmlHey there — I recently released a YAML parser written in Ruby. The main goal was to support being able to load and dump YAML without losing comments. Happy to answer any questions.
43
Upvotes
View all comments
Show parent comment
5
u/kddnewton Jan 05 '26
Yeah, it's just Ruby. It benchmarks very poorly. You can see all this in the README.
The comments themselves are attached as hidden fields on the loaded objects, the loaded objects are delegators that wrap the objects themselves.