Hi, I also wrote an Earley parser in Python that creates parse-forests for ambiguity.
Just in case you're interested in seeing another implementation: https://github.com/erezsh/lark/blob/master/lark/parsers/earl...
Just in case you're interested in seeing another implementation: https://github.com/erezsh/lark/blob/master/lark/parsers/earl...
tx!