Phew.. It was a lot of work to fix all the bugs, reduce compile times to reasonable amounts, and actually implement the parser, but I finally have a full MinCaml parser implemented using my own LR parser generator: github.com/osa1/mincaml/b
Not the final product!
Conversation
Replying to
Oooh nice! How does your parser generator compare to LALRPOP? Other than being able to be used via a procedural macro?
Replying to
LALRPOP: Mature, good error messages, generates LALR(1). Mine: Prototype, terrible error messages, generates canonical LR(1).
I'm using mine as a research device and for learning. I will be implementing GLR, good errors + error recovery etc.
1
1
Nice! Very cool! And thanks for the info.
Curious if you've seen this post, and if you have any thoughts: matklad.github.io/2018/06/06/mod
1
Show replies

