WebAssembly / spec

WebAssembly specification, reference interpreter, and test suite.
https://webassembly.github.io/spec/
Other
3.09k stars 438 forks source link

switch to menhir #1705

Closed zapashcanon closed 8 months ago

zapashcanon commented 8 months ago

Hi @rossberg,

As discussed in WebAssembly/gc#474, I switched to Menhir.

In a second commit I demonstrate some of the facilities offered by Menhir. There are plenty others we could use to remove some code. But I already did this in Owi and I'm not feeling like rewriting a whole parser for the second time right now. :-)