How to build YAML parser using tatsu python parser generator

140 Views Asked by At

How to build YAML parser using tatsu python parser generator? Parsing indent-based language like YAML is difficult, so I cannot achieve this.

1

There are 1 best solutions below

0
Apalala On

TatSu was used to do experiments and bootstrap the new PEG parser in Python.

You can find the solutions to INDENT/DEDENT I used in the original efforts here:

https://github.com/neogeny/pygl