[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SableCC 2.17.1



Hi!

A new experimental version of SableCC has been released, with quite
interesting new features.

Please test it and send your feedback on the SableCC mailing list.

New features:
- automatic generation of tools
- performance enhancements
- jikes compiler compatibility

Automatic generation of tools
-----------------------------

If you type "java -jar sablecc.jar grammar --with-tools" SableCC
generates utility classes in the "[grammarpackage].tool" package.  The
most interesting class is the "PrintTree.java" class.

For example, with the MiniBasic example, you can do:

java -jar sablecc.jar minibasic.txt
javac minibasic/tool/PrintTree.java
java minibasic.tool.PrintTree --gui test.basic

This will display a GUI with the typed AST of the test.basic input file.

Quite amazing.

Thanks to Mariusz Nowostawski and Professor Jeffrey Van Baalen for this
nice visual tool.

Have fun!

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: egagnon@j-meg.com
Author of SableCC:                             http://www.sablecc.org/
and SableVM:                                   http://www.sablevm.org/