[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Fully Lua YAML library?
- From: "Pierre Chapuis" <catwell@...>
- Date: Sat, 11 Mar 2017 19:43:58 +0000
March 11, 2017 7:32 PM, "D. Matt Placek" <firstname.lastname@example.org> wrote:
> Does anybody know if a YAML library implemented entirely in lua? Everything I've found is a lua
> binding to C code, which is tolerable but I'd prefer a pure lua implementation if one is available.
I don't think there is one. I looked some years ago, because I wanted one for haricot ,
but I could not find any. The problem (and the reason why I didn't write my own) is probably
that YAML is (unlike what it looks) a terribly complicated  format, and parsing it correctly
is hard . If you have a choice I would suggest you avoid using YAML. Otherwise, lyaml  is
probably the best binding.