textproc/hs-commonmark - The NetBSD Packages Collection

Pure Haskell commonmark parser

This 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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

textproc/hs-unicode-data textproc/hs-unicode-transforms lang/ghc96 textproc/hs-unicode-data textproc/hs-unicode-transforms

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64hs-commonmark-0.2.4nb1.tgz
NetBSD 10.0aarch64hs-commonmark-0.2.2nb1.tgz
NetBSD 10.0aarch64hs-commonmark-0.2.4nb1.tgz
NetBSD 10.0x86_64hs-commonmark-0.2.4nb1.tgz
NetBSD 10.0x86_64hs-commonmark-0.2.4nb1.tgz
NetBSD 8.0x86_64hs-commonmark-0.2.2nb1.tgz
NetBSD 9.0aarch64hs-commonmark-0.2.4nb1.tgz
NetBSD 9.0aarch64hs-commonmark-0.2.2nb1.tgz
NetBSD 9.0aarch64hs-commonmark-0.2.4nb1.tgz
NetBSD 9.0x86_64hs-commonmark-0.2.4nb1.tgz
NetBSD 9.0x86_64hs-commonmark-0.2.4nb1.tgz
NetBSD 9.3x86_64hs-commonmark-0.2.4nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.