Path to this page:
./
textproc/hs-commonmark,
Pure Haskell commonmark parser
Branch: pkgsrc-2021Q2,
Version: 0.1.1.4nb1,
Package name: hs-commonmark-0.1.1.4nb1,
Maintainer: phoThis library provides the core data types and functions for parsing
commonmark (https://spec.commonmark.org). The parser is fully
commonmark-compliant and passes the test suite. It is designed to be
customizable and easily extensible. To customize the output, create an
AST, or support a new output format, one need only define some new
typeclass instances. It is also easy to add new syntax elements or
modify existing ones.
Accurate information about source positions is available for all block
and inline elements. Thus the library can be used to create an
accurate syntax highlighter or an editor with live preview.
The parser has been designed for robust performance even in
pathological cases that tend to cause stack overflows or exponential
slowdowns in other parsers, with parsing speed that varies linearly
with input length.
Master sites:
SHA1: 55e51c432ee53e9d8bf87e8c25cc3291ef78ec0b
RMD160: 643ee0a4d1533ff009777cf08a9d2fe6a144c58d
Filesize: 96.779 KB
Version history: (Expand)
- (2021-07-01) Package added to pkgsrc.se, version hs-commonmark-0.1.1.4nb1 (created)