
To use the XML generator run sablecc with classpath containing the
xml4sablecc.jar and argument -g ee.mare.indrek.sablecc.xml.XMLGenerator

The parser will be generated in a file named parser.xml

  $ export CLASSPATH=xml4sablecc.jar:$CLASSPATH
  $ sablecc -g ee.mare.indrek.sablecc.xml.XMLGenerator grammar.sablecc3

For convenience you might want to add these jar-s to your sablecc script.

