Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 539 Bytes

getting-started.md

File metadata and controls

14 lines (11 loc) · 539 Bytes

Getting Started

To develop the COMPIWAVE编译器 compiler we used the ANTLR parse generator.

To install ANTLR we need to follow the following steps:

** inside the unix terminal emulator **

    $ cd /usr/local/lib
    $ sudo curl -O http://www.antlr.org/download/antlr-4.6-complete.jar
    $ export CLASSPATH=".:/usr/local/lib/antlr-4.6-complete.jar:$CLASSPATH"
    $ alias antlr4='java -jar /usr/local/lib/antlr-4.6-complete.jar'
    $ alias grun='java org.antlr.v4.gui.TestRig'