Hacker News new | ask | show | jobs
by andrea81 845 days ago
Is there a way to download the BNF as a single file so I can parse it?
2 comments

You can parse many things from this file, what are you trying to extract?

https://github.com/WebAssembly/spec/blob/main/document/core/...

The grammar doesn't get you too far since the WASM is designed around a binary format. Plus they do some weird stuff around the names of the operators which has to be dealt with.

That being said...https://pastebin.com/mhtgjSjZ