You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pg command of org.transscript.Tool will generate a parser and lexer for a Tosca meta-parser for the target language. @mmatsa suggests that it would be good to be able to generate a regular parser that will generate Tosca terms as well.
Also, the parser generation only supports Java. It would nice to be able to generate a parser that's implemented in C++.
The text was updated successfully, but these errors were encountered:
1. Added cpp|java options to org.transscript.Tool to specify the target parser implementation language for the pg command, and regular|meta options to select whether to generate a regular parser or a meta parser. The defaults are java and meta.
2. Sketched out part of the changes needed in genparser.tsc to select whether to generate a Java or C++ parser. The C++ case simply produces comments in the 'header' and 'members' sections of the generated g4 file indicating there's no implementation yet.
The
pg
command oforg.transscript.Tool
will generate a parser and lexer for a Tosca meta-parser for the target language. @mmatsa suggests that it would be good to be able to generate a regular parser that will generate Tosca terms as well.Also, the parser generation only supports Java. It would nice to be able to generate a parser that's implemented in C++.
The text was updated successfully, but these errors were encountered: