kdl-org / kdl

the kdl document language specifications
https://kdl.dev
Other
1.11k stars 61 forks source link

An elixir implementation #155

Closed IceDragon200 closed 3 years ago

IceDragon200 commented 3 years ago

I have an elixir implementation https://github.com/IceDragon200/kuddle, it's not quite finished, It's still failing a few of the kdl tests which seem mostly floating-point related (i.e. 1.23E-1000 evaluates to 0, so I assume it's way over the limit and I'll need decimal for that) and slashdash issues here and there, as well as some illegal parser behaviour (i.e. allowing ids as values).

It should mostly work for the common cases

zkat commented 3 years ago

Omg my hero. I've been wanting to write an Elixir impl myself because I'm hacking on a Phoenix project. Thank you!

zkat commented 3 years ago

Could you please make a PR both to this repo and to the website to add this to the list of implementations?

IceDragon200 commented 3 years ago

Just an update, all tests pass now, and I've published it to hex https://hex.pm/packages/kuddle