tolmasky / language

A fast PEG parser written in JavaScript with first class errors
languagejs.com
MIT License
411 stars 48 forks source link

Cleanup error message generation #5

Closed tolmasky closed 13 years ago

tolmasky commented 13 years ago

Right now error messages are created at time of printing, it would be better if there was something like node.message().