roc-lang / book-of-examples

Software Design by Example in Roc
Other
23 stars 15 forks source link

topic proposal: a parser with useful error messages #28

Open gvwilson opened 2 months ago

gvwilson commented 2 months ago

2 proposes an HTML parser; this chapter would be a follow-on that would show how to generate useful error messages from such a parser. (This suggestion motivated in part by the strengths and weaknesses of Roc's own error messages and the fact that most undergrad courses on compilers give this important topic very little attention.)