Parsec3

阅读更多

Parsec3和它的上一个版本变了不少,官方说法是应用范围更广了。

 

写道
This is a first release of the Parsec 3, the Google Summer of Code of
Paolo Martini.

The main changes are:
* The Parser monad has been generalized into a ParserT monad
transformer.

* The parsers have been generalized to work over a stream of any
type, in particular, with byte strings.

* There is Haddock documentation for almost all functions in the
Text.Parsec tree.

* The Parser monad now has Applicative/Alternative instances

* A "compatibility" Text.ParserCombinators.Parsec tree for the old
Parsec. It's not perfect, but it should work with most Parsec 2
code.

 

简单的教程在附件parsec3.tut.hs,参见

http://geekrelief.wordpress.com/2008/09/12/parsec-3-tutorial-code/

 

http://gist.github.com/89786

  • gist89786-77566b44f4758f3955c96f3ccebfe6af264cf381.tar.gz (1.8 KB)
  • 下载次数: 1

你可能感兴趣的:(WordPress,Google)