Yakaz is proud to publish yamerl, a YAML 1.2 parser, written in pure Erlang.
yamerl is able to parse YAML 1.1 and YAML 1.2, as well as JSON. Documents can come from in-memory strings, files or streams, for which the developer is responsible for feeding the parser with chunks of data.
Besides standard node types, Erlang-specific types are supported by:
- Erlang atoms, with the ability to autodetect them,
- Erlang fun().
yamerl is distributed under the terms of the 2-clause BSD license. Code, documentation and testsuite are available from Github: https://github.com/yakaz/yamerl.
The files to make a Debian package are also available in this same repository. A FreeBSD port will follow soon.