YAML 1.2 parser in pure Erlang