Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Download the "Complete ANTLR 3.x Java binaries jar" from the ANTLR download page, extract it, and run the Python installer.
    • On a Linux shell for version 3.3:
      No Format
      wget http://www.antlr.org/download/antlr-3.3-complete.tar.jargz
      tar xzf antlr-3.3.tar.gz
      cd antlr-3.3/runtime/Python
      sudo python setup.py install
      
  2. (tick) Check your installation by using the Python shell:
    No Format
    $ python
    Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
    
    [GCC 4.4.3] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import antlr3
    >>> 
    

Differences from Java runtime

...