4 ms·
I did something like this here https://github.com/mingodad/lalr-parser-test https://github.com/mingodad/lalr-parser-test where I expanded byacc/bison/lemon to g
by mingodad 4y ago
I did something like this here https://github.com/mingodad/lalr-parser-test https://github.com/mingodad/lalr-parser-test where I expanded byacc/bison/lemon to generate a naked grammar, ebnf grammar (understood by https://www.bottlecaps.de/rr/ui https://www.bottlecaps.de/rr/ui to generate railroad diagrams) and interchange the grammar between then (byacc/bison to lemon and the other way around too, taking in account the difference in how they interpret rules precedence).