Closed kjcjohnson closed 3 years ago
We can probably remove op : symbol;
and then just have:
rhs_expression : '(' symbol rhs_atom* ')'
| rhs_atom;
I'm a little hesitant to remove nt_name
, nt_term
, input_args
, and output_args
, because then it's not clear what the parameters actually are in the definitions. I am open to being convinced, though.
We're no longer using ANTLR with the upcoming S-expression support. Closing this as moot.
Starting a thread to discuss potential simplifications of the Semgus.g4 grammar definition. @WileyCorning mentioned that there was some potential to remove redundant terms in the grammar, so let's discuss and see what can be simplified.