Download Latest Version CocoS-0.7.zip (284.3 kB)
Email in envelope

Get an email when there's a new version of Coco/S Parser Generator

Home / beta
Name Modified Size InfoDownloads / Week
Parent folder
readme.txt 2014-10-27 1.1 kB
CocoS-0.7-with-sources.zip 2014-10-27 346.3 kB
CocoS-0.7.zip 2014-10-27 284.3 kB
Totals: 3 Items   631.7 kB 0
Coco/S Parser Generator 0.7

Coco/S is a development effort to build a SAX style callback API on top of 
the mature Coco/R (http://www.ssw.uni-linz.ac.at/Research/Projects/Coco/) parser generator.

Call Coco/S with the following command: 

:> java -jar CocoS.jar <grammar-file>

Where grammar-file is the language definition and the -o parameter specifies where the
generated sources should be written to. Read the supplied documentation for details.

Notable differences to Coco/R:

* Coco/S creates a ParserListener along with Scanner and Parser class. This listener class
  can be extended to implement the language semantics.
  
* The compiler supports a property declarations before the declaration of the character sets.
  
* There is no default whitespace definition anymore. All whitespace, including ' ' (space) must
  explicitly be defined through the WHITESPACE directive.
  
* The L(1) conflict resolver mechanism has been eased to allow a declarative syntax for simple
  checks needed for L(k) parser.
  
Read the documentation at http://cocos-parsergen.sourceforge.net/ for more detailed information.
Source: readme.txt, updated 2014-10-27