zaach / jison

Bison in JavaScript.
http://jison.org
4.36k stars 450 forks source link

output of parser error to console in debug mode #311

Open czurnieden opened 9 years ago

czurnieden commented 9 years ago

The output of the CLI is a bit sparse in case of parsing errors and does not change with the -t option. I know of at least one other try but my proposal keeps the proper error-handling and just adds some console output in case the -t option has been given. There are way to many chances to add a little typo in a large grammar and a bit of an increased verbosity on commaned would certainly help a lot in such cases. And others.

metasansana commented 8 years ago

This seems really important, especially for new comers like myself.