sablecc.github.io

SableCC Documentation

Tutorials

Concrete to Abstract Syntax Trees (CST -> AST)

Using SableCC in Eclipse

Here is a nice tutorial on how to setup SableCC in your Eclipse development environment: http://web.archive.org/web/20090318023544/http://www.comp.nus.edu.sg/~sethhetu/rooms/Tutorials/EclipseAndSableCC.html.

Alternative Output (SableCC 3.x)

Indrek Mandre has developed an alternative output module for SableCC 3.x which generates C#, C++, O’Caml, Python, C, dotgraph, and xml code.

See: http://www.mare.ee/indrek/sablecc/.

Definitive Reference

The original thesis:

Other Documentation (Old Site)

The documentation page of the old site is located at http://sablecc.sourceforge.net/documentation.html.

Compiler Design Textbooks Which Use SableCC

Appel, Andrew, Modern Compiler Implementation in Java (2nd edition), Cambridge University Press, 2002.

Bergmann, Seth D., Compiler Design: Theory, Tools, and Examples, (available free at http://cs.rowan.edu/~bergmann/books)