man sablecc (Commandes) - object-oriented compiler framework

NAME

sablecc - object-oriented compiler framework

SYNOPSIS

sablecc [ -d destination ] file...

sablecc -license

DESCRIPTION

SableCC is an object-oriented framework that generates compilers (and interpreters) in the Java programming language. This framework is based on two fundamental design decisions. Firstly, the framework uses object-oriented techniques to automatically build a strictly typed abstract syntax tree that matches the grammar of the compiled language and simplifies debugging. Secondly, the framework generates tree-walker classes using an extended version of the visitor design pattern which enables the implementation of actions on the nodes of the abstract syntax tree using inheritance. These two design decisions lead to a tool that supports a shorter development cycle for constructing compilers.

SEE ALSO

You can find additional documentation at: http://www.sablecc.org/

BUGS

It is recommended to use the SableVM virtual machine for running SableCC. Other virtual machines might run out of memory when processing large grammars. If you really want to use another virtual machine and process large grammars, you should request more memory using command-line options of your virtual machine, e.g.:

$ java -mx1024m -jar /usr/share/java/sablecc.jar largegrammar.sablecc