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
Oooh nice! How does your parser generator compare to LALRPOP? Other than being able to be used via a procedural macro?
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
Replying to
Yeah, I guess I still wish I could have my grammar separate from the implementation, and include that as part of my specification… and then maybe 'layer on' some additional stuff somehow to make it more user-friendly… but yeah I dunno what that would look like.

