First:

http://github.com/richard-lyman/amotoen

Second:

Amotoen is a Clojure library that supports PEG style definitions of
grammars that can produce parsers. While there are academic papers
available that rigorously define PEG, I've found that PEGs, or Parsing
Expression Grammar(s), are best explained by the related Wikipedia
page.

The clj-peg library was a predecessor to Amotoen and as such, Amotoen
keeps the feel of the syntax in clj-peg. There are, however,
significant differences between using clj-peg and using Amotoen. The
most significant of those differences can be found in the lack of
macros, gen-class, or gen-interface. The clj-peg library used the
dirty three in the core, and Amotoen avoids all of them entirely.

Amotoen uses runtime processing of a given grammar, where clj-peg used
macro time expansion of a grammar. Amotoen uses protocols instead of
interfaces. Amotoen uses internally defined Throwables instead of
gen-classed Errors. All of these changes result in far greater ease of
use as well as increased maintainence.

Third:

The candy... there is a JSON grammar that is mostly done, as well as a
Markdown grammar that is the shortest I've seen but is mostly not
done.

-Rich

-- 
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