r/madeinpython • • 2h ago

HOCON for Python (oh ..., here we go again)

Hi all,

in my profession I am using HOCON format, but the native pyhocon has so many issues, and I wanted to try something new, so I started learning Zig. As initial project, I decided to implement HOCON for Zig. During the implementation it turned out the Zig is not issue, but HOCON with lacking official and checkable specification is.

My first part was to set into the stone what is HOCON actually, and created transferable Conformance suite.

Since Zig is wonderful language and allows very simple way of building sharable C libraries which can be easily ported to other languages I decided to prepare even Python package. This brings to the Python parsing immersive performance and great compatibility with HOCON specification better than what other python implementations provide..

Will be more than happy for feedback, and till you write me.

Enjoy: https://github.com/lejmr/zig-hocon

1 Upvotes

0 comments sorted by