Open comp-sec-eng opened 2 months ago
Have a look how it is done e.g. here: https://github.com/rochus-keller/ActiveOberon/. The Ao.ebnf has this declaration: %namespace ::= 'Ao'
which causes a prefix for the expected file names, such as Token.h. The latter has be provided by the implementation; you can e.g. take the one from ActiveOberon and modify it according to your needs.
The C++ parser cannot be compiled as Token.h is missing in the generated output files. But is included as a header in the generated files. Any fixes..