The hexpat package

[Tags: bsd3, library]

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


Properties

Versions0.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
Dependenciesbase, binary (>=0.4), bytestring, haskell98, mtl (>=1.1.0.0), parallel, text (>=0.1), utf8-string (>=0.3.3)
LicenseBSD3
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>
AuthorStephen Blackheath (blackh), Evan Martin, Matthew Pocock (drdozer)
Maintainerhttp://blacksapphire.com/antispam/
Stabilitybeta
CategoryXML
Home pagehttp://code.haskell.org/hexpat/
Upload dateWed Mar 11 12:22:25 UTC 2009
Uploaded byStephenBlackheath
DistributionsFreeBSD:0.20.3, NixOS:0.20.6
Downloads18386 total (1579 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees