Running your grammars

In this section, you will learn more about running ANTLR grammars in the workbench.

System Requirements and limitations

  1. Double click in Expr.g file to open it with the ANTLR editor.
  2. Select Interpreter page
  3. Select the "prog" rule in the Rule Panel
  4. Select the "simpleTest" test case in the Test Panel
  5. Select the "Run (Java)" button
  6. ANTLR Console

    The "Run (Java)"/"Debug (Java)" button are available for saved test case

    You can only run/debug combined/parser grammars

    ANTLR Console

SourceForge.net Logo