I'm trying to translate this project parser to a CocoR parser (https://github.com/mingodad/CocoR-CPP) and I'm having a some difficult following the parser code (see bellow what I've got so far). Just in case someone want to help create a better EBNF description of this project parser.
I've done a experimental tool to convert CocoR grammars to a kind of EBNF understood by https://www.bottlecaps.de/rr/ui to generate railroad diagrams see bellow the converted to allow view it at https://www.bottlecaps.de/rr/ui the order of the rules could be changed to a better view of the railroad diagrams. Copy and paste the EBNF bellow on https://www.bottlecaps.de/rr/ui tab Edit Grammar then switch to the tab View Diagram.
I'm trying to translate this project parser to a CocoR parser (https://github.com/mingodad/CocoR-CPP) and I'm having a some difficult following the parser code (see bellow what I've got so far). Just in case someone want to help create a better EBNF description of this project parser.
I've done a experimental tool to convert CocoR grammars to a kind of EBNF understood by https://www.bottlecaps.de/rr/ui to generate railroad diagrams see bellow the converted to allow view it at https://www.bottlecaps.de/rr/ui the order of the rules could be changed to a better view of the railroad diagrams. Copy and paste the EBNF bellow on https://www.bottlecaps.de/rr/ui tab Edit Grammar then switch to the tab View Diagram.
Cheers !