Generating Good Parse Error Messages

Moritz Lenz · Apress eBooks · 2017

When a regex match or a grammar parse fails, it returns Nil. If this is a case where a failure was not expected, we can inform the user that some form of input (maybe a configuration file) was invalid.

Read the paper · More papers on PaperTik