-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgigaparsec.cabal
47 lines (41 loc) · 1.59 KB
/
gigaparsec.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cabal-version: 3.0
name: gigaparsec
version: 0.1.0.0
license: GPL-3.0-or-later
license-file: LICENSE
author: [email protected]
maintainer: Jaro Reinders
build-type: Simple
extra-doc-files: CHANGELOG.md
synopsis: Leightweight generalized parser combinators
category: Parsing
description:
Gigaparsec (Gpc) is a library providing generalized parser combinators (Gpc)
which are able to parse all context-free grammars completely. This includes
support for left-recursion and reporting all possible parses of ambiguous
grammars.
Gigaparsec is currently only a proof of concept. Of course it needs a much more
elaborate API, but before that I want to implement disambiguation strategies.
I have also not put any effort in making this library performant yet.
source-repository head
type: git
location: https://github.com/noughtmare/gigaparsec
common common
build-depends: base >= 4.14 && <5, containers
ghc-options: -Wall
default-language: GHC2021
library
import: common
exposed-modules: Gigaparsec, Gigaparsec.Core, Gigaparsec.Syntax
hs-source-dirs: src
build-depends: data-reify ^>= 0.6,
-- recover-rtti,
executable gigaparsec-examples
import: common
main-is: Main.hs
hs-source-dirs: examples
build-depends: gigaparsec
executable gigaparsec-experiments
import: common
main-is: Main.hs
hs-source-dirs: experiments