I am pleased to announce a new release of
PARSEC, a fast monadic parser library for Haskell.
The PARSEC library is written for practice and
uses
some novel techniques to improve its speed
and to give good error
messages. It ships with extensive
support libraries and documentation.
PARSEC is distributed
with GHC but GHC 5.02 unfortunately includes an older
version.
I would like to thank the many(!) people that have
written
me with advice and comments that improved the library.
Have fun,
Daan Leijen.
-------------------------------------------------------------
New
features:
* The ability to use a seperate lexer. The parsers
work on any kind of token stream instead of just
characters.
* A user definable state, very convenient to
maintain
a symbol table.
* A module to parse permutation phrases
[1].
* A parameterized lexical analyser
module.
* New combinators like "sepEndBy"
-------------------------------------------------------------
[1]
Arthur Baars, Andres Loh and Doaitse Swierstra
"Parsing
Permutation Phrases"
Proceedings of the Haskell Workshop
2001.