@hackage mangrove0.1.0.0
A parser for web documents according to the HTML5 specification.
Categories
License
MPL-2.0
Maintainer
sam@eitilt.life
Links
Versions
- 0.1.0.0 Fri, 16 Apr 2021
Installation
Tested Compilers
Dependencies (11)
- aeson <1.6
- base >=4.10 && <4.15
- bytestring <0.11
- containers <0.7
- filepath <1.5
- text <1.3 Show all…
Dependents (0)
Package Flags
dev
(off by default)
Trigger stricter behaviour for development
html5lib
(off by default)
Enable the html5lib tests, which require manually downloading the test data.
wpt
(off by default)
Enable integration with web-platform-tests suite, greatly expanding the test surface at the expense of requiring the manual download of the (large) test data repository.
About
'mangrove' provides an HTML5-compatible parser for web documents, implemented
in Haskell. In keeping with the immutable data paradigms, an emphasis has been
placed on avoiding side effects and mutable structures rather than strictly
following the official algorithms. The resulting document tree can be returned
to willow to be styled and rendered.
This readme is rather sparse, as it has been written for a subfolder of the complete repository; for full info on the project, see the primary readme in either this directory, its parent, or the online host, whichever of those links may work.
Coverage reporting
Unfortunately, the invocation of hpc by cabal-install <= 3.4.0.0 doesn't work
properly when multiple packages are developed as part of the same project.
Until the next version is released, I recommend that you don't enable coverage
reports for mangrove, in order for the tests themselves to run correctly.