Hello Roly As Daniel Fischer says, there might not be a library to do this.
I would be tempted to start with a simple parser combinator library and do something with the 'answer type' so it supports string rewriting. Dave Bayer was working with one in this thread on Beginners: http://www.haskell.org/pipermail/beginners/2010-February/003399.html See my comment here: http://www.haskell.org/pipermail/beginners/2010-February/003433.html Best wishes Stephen _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe