grammars-v4
grammars-v4 copied to clipboard
ANTLR grammar for eBPF assembly?
Before I make the effort to write a grammar for parsing Intel style assembly for eBPF, I was wondering if there is already one available?
Goal: I need a grammar parser for eBPF instructions in Intel style assembly for an ISA conformance test suite. I have a hand-rolled one, but a spec in antlr grammar would be better as it help bring some form of agreement on what the mnemonics etc. should be.
There isn't one in grammars-v4. It would certainly be welcome.