My favorites | Sign in
Project Logo
                
Show all Featured downloads:
cookcc-0.3.3.jar
Show all Featured wiki pages:
Documentation
People details
Project owners:
  superduperhengyuan

CookCC is a lexer and parser (LALR (1)) generator project, combined. It is written in Java, but the target languages can vary.

CookCC comes with two unique features, which were the original motivations for this work.

  1. CookCC uses a unique approach of storing and loading DFA tables in Java that significantly reduces the starting up time. Many efforts have been made to maximize the generated Java lexer and parser performances, painstakingly line-by-line, case-by-case fine turning the lexer and parser code. I believe that CookCC is the fastest lexer for Java (see the performance test).
  2. CookCC allows lexer/parser patterns and rules to be specified using Java annotation. This feature greatly simplifies and eases the writing of lexer and parser for Java.

CookCC requires JRE 1.5+ to run, but the generated Java code can be compiled and run with earlier versions of Java.

The current release is 0.3.3.

What's New

0.4 (Upcoming Release)

0.3.3

0.3.2

0.3.1

0.3

0.2

0.1









Hosted by Google Code