[erlang-questions] ANN: yamerl - YAML parser in pure Erlang
Mon Dec 17 15:13:15 CET 2012
I'm pleased to release yamerl, our YAML parser, written in pure Erlang
(no port driver or NIF).
This parser supports YAML 1.1 and YAML 1.2, as well as JSON. The code,
documentation and testsuite are available on GitHub:
Here are some of its features:
o Support for stream parsing.
o Support for YAML 1.2. This version isn't widely supported in
other libraries/languages. Compared to 1.1, it mostly brings
official support of JSON as a subset to YAML and several
o Erlang atom node type. It supports options to autodetect atoms
and to use list_to_existing_atom/1. Autodetection differs from
yamler's behavior: single-quoted scalar are not implicitly
converted to atoms, because, from my understanding, it breaks
the YAML specifications.
o Erlang fun() node type.
Compared to yamler, which uses a NIF above libyaml, yamerl has the
common advantages and caveats we find in native-code-based vs.
o yamerl is slower than yamler.
o yamerl may scale better (though I never verified this).
o yamerl won't take down the whole VM because of a crash.
Everything is distributed under the terms of the 2-clause BSD license.
 yamler: https://github.com/goertzenator/yamler
Yakaz - http://www.yakaz.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 259 bytes
Desc: OpenPGP digital signature
More information about the erlang-questions