资源说明:Minor extensions to SableCC 3.2 (the old stable release)
SableCC 3.2 - Read Me
SableCC version 3.2
ReadMe
|
Welcome to SableCC version 3.2.
Please read this document carefully.
Here are the minimal steps to get SableCC
running.
1) If you got sablecc-3.2.tar.gz or sablecc-3.2.zip (binary packages)
- Decompress the file sablecc-3.2.tar.gz or sablecc-3.2.zip:
tar -xzvf sablecc-3.2.tar.gz
or
jar -xvf sablecc-3.2.zip
- Go into the in sablecc-3.2 directory:
cd sablecc-3.2
- You will find an executable sablecc.jar file in the lib
directory:
java -jar lib/sablecc.jar
This is it. If you have Ant
installed on your system,
you can install SableCC with the
command:
ant -Dinstall.dir=destination install
Otherwise, you can manually install SableCC as follow:
You should first copy (and edit) the files lib/sablecc.jar and
bin/sablecc (GNU/Linux, Mac, Unix) or bin\sablecc.bat (Windows) to an
appropriate location, and set your PATH environment variable
appropriately.
2) If you got sablecc-3.2-src.tar.gz (source
package)
- Decompress the file sablecc-3.2-src.tar.gz:
tar -xzvf sablecc-3.2-src.tar.gz
- Go into the in sablecc-3.2 directory:
cd sablecc-3.2
- If you want an automatic build process, you need to have Ant installed on your system.
Simply type:
ant -Dinstall.dir=destination install
SableCC is covered by the GNU
Lesser General Public License. You can view the copyright notice and
the exact terms of the license in the files LICENSE,
AUTHORS and COPYING-LESSER.
You can find complete and detailed documentation on the SableCC framework and syntax at the
site http://sablecc.org/documentation.html .
The easiest way of obtaining help is to get on the SableCC mailing-list,
by visiting the site
http://sablecc.org/lists/control/listinfo/sablecc-user/ .
Many SableCC users around the
world are already on this mailing-list. This is the best pool of
information available to you.
You can also get professional consulting services from J-Meg inc. Simply get in touch with Etienne Gagnon
(egagnon@j-meg.com).
You are very welcome to express your appreciation of SableCC. If you
would like to make a financial donation to the SableCC project, you
can get in touch with Etienne Gagnon (egagnon@sablevm.org).
Thank you in advance.