Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2


Latest version is 3.0.1
Download now! »

Download
» Home
» Download
» ANTLRWorks
» News
»Using ANTLR
» Documentation
» FAQ
» Articles
» Grammars
» File Sharing
» Runtime API
» Tech Support
» Bug Tracking
»About ANTLR
» What is ANTLR
» Why use ANTLR
» Showcase
» Testimonials
» Getting Started
» Software License
» ANTLR WebLogs
» ANTLR Workshops
»StringTemplate
»ANTLR v2
»Feedback
»Credits
»Contact


Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)

Search



ANTLRWorks: Interpreter

The Interpreter

ANTLRWorks uses the integrated interpreter of ANTLR to parse input text using immediately without the need to generate, compile and run the grammar.

The various elements are:

  • Input panel: input text to be parsed.
  • Parse tree: this panel displays the parse tree after running the interpreter.
  • Run: click this button to run the interpreter.
  • Starting rule: select the starting rule of the parser.
  • Ignored rules: list of rules to be ignored. A rule is ignored if it has an action with either skip(); or $channel=HIDDEN in it.
  • Guess rules to ignore: click this button to update the list of ignored rules.

Limitation

The interpreter does not execute actions. Use the debugger if you want to debug a grammar and see the action executed.