On 23 Nov 2014, at 23:49, Jan Vrany <jan.vrany@fit.cvut.cz> wrote:
It would be very nice small experiment to plug in the Petitparser based one.
Especially interesting: Would it be much slower?
Hi Markus,
Jan Kurs and me are now working on some PetitParser stuff. If we succeed then PetitParser-based parser would be as fast as current hand-written RBParser. We're at the beginning but preliminary benchmarks are very promising.
Very nice⦠the idea of having this parser as the default one would be very interesting⦠e.g. one could re-use and extend it very easily, and PetitParser itself as a core feature (so people can create tiny parsers easily)...
Error recovery and incremental reparsing are in the queue (if we find a time :-)
That would be great. To replace the hand written one we would need at least good error messages, but error revocovery would be even better. I would be very interested in that. Marcus