ANTLRWorks+ANTLR

Introduction

ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages. ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error reporting. There are currently about 5,000 ANTLR source downloads a month.

Usage

Compute Systems Invocation Version(s)
Red Hat Linux (64-bit) /util/bin/antlrworks
/util-cse/bin/antlrworks
1.5 (default)

Notes

  1. ANTLRWorks creates a grammar file (.g file) and then generates two java files. To write a program that uses those java files, append the following to your classpath:
    setenv CLASSPATH ${CLASSPATH}:/util/ANTLR/antlr-3.5.2-complete-no-st3.jar
    
  2. In Bell 340 and other Engineering systems, run ANTLRWorks+ with:
    
    % /util-cse/bin/antlrworks
    
    

People

  1. Ladan Golshanara, instructor.

References

  1. http://www.antlr3.org/download.html
  2. https://theantlrguy.atlassian.net/wiki/pages/viewpage.action?pageId=2687287
  3. http://www.antlr3.org/works/help/tutorial/howtorun.html