Aug. 16, 2017
1:34 p.m.
Are there any news about a YAML parser for Pharo 5 / 6.1? --Hannes On 5/29/17, Peter Uhnak <i.uhnak@gmail.com> wrote:
Hi,
do we have a working parser for YAML?
There's PPYAMLGrammar (in PetitParser), however it doesn't seem to work in Pharo 6 at all (not even tests pass). In Pharo 5 the tests are green, but using it on YAML content still fails... with small fix I managed it to "pass", however the output seems to be a very fine-grained AST decomposition and not the expected output (dictionaries/arrays).
So do we have some else/working?
YAML specs have BNF descriptions, so maybe SmaCC can generate it? (I don't know SmaCC, so maybe this is not how it works.)
Thanks, Peter