hexpat: wrapper for expat, the fast XML parser
Expat (http://expat.sourceforge.net/) is a stream-oriented XML parser written in C.
This package provides a Haskell binding for Expat, with a choice of tree or SAX-style representation, and it includes an XML formatter. It is extensible to any string type, with String, ByteString and Text provided out of the box.
The emphasis is on speed and simplicity. If you want more complete and powerful XML libraries, consider using HaXml or HXT instead.
Note that hexpat has undergone a major API change since 0.3.x.
Benchmark results on ghc 6.10.1 against HaXml for parsing a 4K xml file with non-threading runtime: HAXML: 2683 us, HEXPAT: low-level parse-no tree: 243 us, lazy-String: 1340 us, lazy-Text: 814 us, strict-String: 1194 us, strict-Text: 732 us
With -threaded: HAXML: 2691 us, HEXPAT: low-level parse-no tree: 472 us, lazy-String: 1575 us, lazy-Text: 1068 us, strict-String: 1396 us, strict-Text: 964 us
Modules
[Index]
Downloads
- hexpat-0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.15.1, 0.16, 0.17, 0.18, 0.18.1, 0.18.2, 0.18.3, 0.19, 0.19.1, 0.19.2, 0.19.3, 0.19.4, 0.19.5, 0.19.6, 0.19.7, 0.19.8, 0.19.9, 0.19.10, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.20.5, 0.20.6, 0.20.7, 0.20.8, 0.20.9, 0.20.10, 0.20.11, 0.20.12, 0.20.13 |
---|---|
Dependencies | base, binary (>=0.4), bytestring, haskell98, mtl (>=1.1.0.0), parallel, text (>=0.1), utf8-string (>=0.3.3) [details] |
License | BSD-3-Clause |
Copyright | (c) 2009 Stephen Blackheath <http://blacksapphire.com/antispam/>, (c) 2008 Evan Martin <martine@danga.com>, (c) 2009 Matthew Pocock <matthew.pocock@ncl.ac.uk> |
Author | Stephen Blackheath (blackh), Evan Martin, Matthew Pocock (drdozer) |
Maintainer | http://blacksapphire.com/antispam/ |
Category | XML |
Home page | http://code.haskell.org/hexpat/ |
Uploaded | by StephenBlackheath at 2009-03-11T12:22:25Z |
Distributions | FreeBSD:0.20.9, LTSHaskell:0.20.13, NixOS:0.20.13, Stackage:0.20.13 |
Reverse Dependencies | 27 direct, 262 indirect [details] |
Downloads | 62305 total (51 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |