I'm writing parsers in Node.js for some file formats. When a parser detects an error, an exception will be thrown. For the exact format of the exception, I figure it would be best if I go with something that's already a de facto standard. So I looked at Acorn and Esprima to see what kind of exceptions they throw... and they disagree on format.
So what is the closest thing to a standard/preferred parser exception format?
via rwallace
No comments:
Post a Comment