What is ANTLRWorks?

ANTLRWorks is a simple but efficient IDE for ANTLR 3 grammar. ANTLRWorks allows users to edit, visualize, interpret and debug any ANTLR 3 grammar through an easy-to-use graphical user interface.

The main features are:

System requirements

Because ANTLRWorks has been written entirely in Java using Swing for its GUI, it can runs on any operating system implementing Java VM 1.5.

Application behavior on different OSes

ANTLRWorks will behave the way you expect an application to behave in your favorite operating system: on Mac OS X, a main menu bar is always displayed and the menu shortcuts are using the Apple command key. Windows and Linux users will have one menu bar per editor window and the menu shortcuts will be using the Control key.

In this Online Help, we will use the Command key to describe the control key to be pressed when invoking a menu command from the keyboard.

Installation

ANTLRWorks does not need to be installed: simply download it and launch it either by double-clicking its jar file (or the Mac OS X specific application package) and it will run. ANTLRWorks has ANTLR and StringTemplate already embedded in it.

To launch ANTLRWorks from the command line, use the command:

$ java -jar antlrworks.jar