Remove dependency to parser when using JavaCC

Issue #318 resolved
Niklas Fors created an issue

When using JavaCC with the option --jjtree, JastAdd also requires the option --grammar, which is the name of the generated parser. The latter is used when generating JavaCC visitor methods, which is tied to the specified parser. This is problematic when one abstract grammar is used together with several parsers, because it results in a dependency to only one of the parsers.

This issue is about making the dependency to the parser optional, allowing several parsers to be used together with one abstract grammar.

Comments (1)

  1. Log in to comment