$ cat pkg/DESCR scanner is a fast non-backtracking incremental combinator parsing library for bytestrings. It is often convenient to use backtracking to parse some sophisticated input. Unfortunately it kills performance, so usually you should avoid backtracking. Often (actually always, but it could be too hard sometimes) you can implement your parser without any backtracking. It that case all the bookkeeping usual parser combinators do becomes unnecessary. The scanner library is designed for such cases. It is often 2 times faster than attoparsec. OK kili@
20 lines
392 B
Makefile
20 lines
392 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2016/04/21 07:54:59 dcoppa Exp $
|
|
|
|
COMMENT = incremental combinator parsing for bytestrings
|
|
|
|
DISTNAME = scanner-0.2
|
|
CATEGORIES = textproc
|
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
|
|
|
# BSD3
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/ghc
|
|
|
|
MODGHC_BUILD = cabal hackage haddock register
|
|
|
|
MODGHC_PACKAGE_KEY = 1bbxNdObExzDB5IPNgXV6R
|
|
|
|
.include <bsd.port.mk>
|