I'll keep searching for one which can also edit the parsed tree and generate YAML from it.
– yazz.comMar 07 '10 at 19:05
Your right, I should implement one, but I'll admit I am not really a very good developer and I dont have the first clue as to how to go about implementing this
– yazz.comMar 08 '10 at 20:58
1
It's the middle of 2011 and still no serious yaml implementation for Erlang.
My work-around was to use python and pyyaml to load the yaml file, print it as an erlang term and then have erlang parse that.
An idea for a real erlang yaml parser would be to wrap libyaml with NIFs. This would only provide an event stream; another layer would need to be written on top of that (probably in pure erlang) to form a nice structured erlang term.
– goertzenatorJun 30 '11 at 16:54
have you ever tried this? I tried and found it can't work. I run this `yamerl_constr:string("Hello World!").` and it shows some erorrs,I use R15 version.
– sherlockDec 09 '15 at 03:21
@sherlock: You need to start the `yamerl` application first: `application:start(yamerl), yamerl_constr:string("Hello World!"). % Returns
["Hello World!"]`
– Jean-Sébastien PédronOct 29 '16 at 23:33