Take a look at:

http://clojure.googlegroups.com/web/monad-parser.clj

It's the code from "Monadic Parsing in Haskell" written in Clojure.
It'd have to be modified slightly to work with the new
clojure.contrib.monads.  But that would be easy to do.

jim

On Feb 3, 8:42 pm, sbkogs <sbkoga...@gmail.com> wrote:
> Parsec is a very powerful parsing library for Haskell.  I was mainly
> attracted to Haskell because of this library (ala Pugs project which
> used Parsec to create a Perl6 parser).
>
> I am wondering if there is an ongoing effort to write similar library
> for Clojure.  I have seen a very nice implementation of Monads in
> Clojure.Contrib which can be used to build this library.  Having such
> powerful and easy way to build a parser could attract many more users
> to Clojure.  BTW, I have seen a parser combinator file by jim in the
> files section, which could be used as a stepping stone.
>
> If anybody is working on similar library, please drop me a line.  I
> have some bandwidth to spend towards such work/fun.
--~--~---------~--~----~------------~-------~--~----~
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
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