Parsec is a free monadic parser combinator library for
Haskell.
Allthough combinator parsing is well known in literature, most libraries
are only implemented for personal use or
for small research examples. Parsec is designed from scratch as
an industrial-strength parser library.
It is simple, safe, well documented, has extensive libraries and good error messages.
It is also fast, doing thousands of lines per second on todays machines,
which might make it an acceptable alternative to bottom-up parser generators like Happy.
I would like to see this library as widely used as possible.
It is therefore distributed with an unrestrictive
BSD style license. If there is any
problem using this software with this license, I would
like to hear about it and see if we can work out a solution.
Copyright 1999-2000, Daan Leijen. All rights reserved.
Redistribution and use in source and binary forms, with
or without modification, are permitted provided that the
following conditions are met:
-
Redistributions of source code must retain the above
copyright notice, this list of conditions and the
following disclaimer.
-
Redistributions in binary form must reproduce the
above copyright notice, this list of conditions and the
following disclaimer in the documentation and/or other
materials provided with the distribution.
This software is provided by the copyright holders “as
is” and any express or implied warranties, including, but not
limited to, the implied warranties of merchantability and
fitness for a particular purpose are disclaimed. In no event
shall the copyright holders be liable for any direct,
indirect, incidental, special, exemplary, or consequential
damages (including, but not limited to, procurement of
substitute goods or services; loss of use, data, or profits;
or business interruption) however caused and on any theory of
liability, whether in contract, strict liability, or tort
(including negligence or otherwise) arising in any way out of
the use of this software, even if advised of the possibility
of such damage.
Show the world that you are a type-safe developer! Copy and paste the following
HTML in your web page:
<a href="http://www.cs.uu.nl/~daan/parsec.html">
<img src="http://www.cs.uu.nl/~daan/images/parsec.gif"
alt="Parsec logo" hspace=20 border=0
style="float: right; border: none; padding-left: 4pt">
</a>

last update: "Oct 21 2003"