[erlang-questions] ANN: yamerl - YAML parser in pure Erlang
Mon Dec 17 16:54:14 CET 2012
I am currently extending my CI server with support of .travis.yml file
and I was in need of a good Yaml parsing library :)
On Mon, Dec 17, 2012 at 3:13 PM, Jean-Sébastien Pédron
> Hi all,
> 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.
> pure-erlang-based implementations:
> 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
> Jean-Sébastien Pédron
> Yakaz - http://www.yakaz.com/
> erlang-questions mailing list
More information about the erlang-questions