May I also suggest a look at VisualLangLab (http://vll.java.net/)?
It's a completely visual environment for developing (see
http://vll.java.net/EditingTheGrammarTree.html) and testing (see
http://vll.java.net/TestingParsers.html) parsers without using code/
scripts of any kind. Under the hood, its parsers use a Java version of
Scala's parser combinator library.

The developed parsers can be saved (as an XML file) that can be opened
again for further editing, testing, etc. The saved XML file can also
be loaded by any client program using a well-documented API (see
http://vll.java.net/UsingTheAPI.html) that is usable from any JVM
language.

But if you must have a library, the classes under
"net.java.vll.vll4j.combinator" are the ones you need. They are named
after the classes in the Scala parser combinator library, and work the
same way (except the "internal DSL" functionality).

A tutorial that explores the scenarios and examples in chapter 3 (A
Quick Tour for the Impatient) of the book The Definitive ANTLR
Reference can be found here: http://vll.java.net/examples/a-quick-tour.html

There is just one small executable jar you need (double-click to start
the IDE). It also contains several bundled examples that you can
tinker with, and the same jar works as the API for client programs:
http://java.net/projects/vll/downloads/download/VLL4J.jar

- Sanjay

On Jan 29, 1:44 pm, Roman Perepelitsa <roman.perepeli...@gmail.com>
wrote:
> Thanks for all the suggestions! They'll keep me going for a weekend.
>
> Roman Perepelitsa.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to