miniblog.
← Back to all posts
Mar 19, 2016 at 09:14
An LR parsing library with wonderfully helpful error messages on invalid or ambiguous grammars:
Nice errors in LALRPOP · baby steps
smallcultfollowing.com/babysteps/blog/2016/03/02/nice-errors-in-lalrpop/
Wilfred Hughes
Related Posts
Jan 1, 2016 at 15:39
Reachability and error diagnosis in LR(1) parsers
https://gallium.inria.fr/~fpottier/publis/fpottier-reachability-cc2016.pdf
—interesting discussion of syntax error messages, used in compcert
Wilfred Hughes
Shared words: LR, error, messages Score: 142.9
Mar 2, 2016 at 19:39
LL and LR Parsing Demystified
https://blog.reverberate.org/2013/07/ll-and-lr-parsing-demystified.html
(really accessible blog post that gives an intuitive understanding of LL/LR parsing)
LL and LR Parsing Demystified
My first adventures in parsing theory came when I was doing anindependent study of programming languages in college. When I got tothe part about algorithms s...
Wilfred Hughes
Shared words: LR, parsing Score: 98.4
Feb 26, 2023 at 06:52
Another unusual feature of Elm's error messages: it uses the first person ("I was partway through parsing a record, but I got stuck here"). It reads pretty well to me, but this is a surprisingly divisive topic.
Wilfred Hughes
Shared words: parsing, error, messages Score: 55.1