Hello How could I extend my simple parser generator such that parsers provide error reports that show precisely what went wrong?
I thought it was a nice idea to write myself a parser generator, specifically tailored for the language I'm going to parse: https://github.com/cheery/kickrat It was quite fun, clean and exciting to create such library but now I've been prototyping my language for few hours. It was enough for noticing that when I do an error in describing the grammar it is really hard to figure out what's wrong with just plain 'syntax error' -message. Overall it would be nice to get detailed syntax errors for language, even if it's a prototype.
_______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg