Just saw this project http://code.google.com/p/cookcc/
"CookCC is a lexer and parser generator project, combined. It is
written in Java, but the target languages can vary. It uses a template
approach to generate source codes, so it is quite easy to add a new
target language. CookCC also comes with a suite of test cases to
assist creating and testing new target languages.

The current release is 0.3.1.

A unique feature of CookCC is allowing lexer/parser to be specified
using Java annotation. This feature greatly simplifies and eases the
writing of lexer and parser for Java."

As expected, the simple example looks simple, and rather pleasing:
http://code.google.com/p/cookcc/source/browse/trunk/tests/javaap/calc/Calculator.java

Neat use of annotations, IMO.

Patrick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to