-
Notifications
You must be signed in to change notification settings - Fork 1
/
gigaparsec.cabal
71 lines (61 loc) · 2.24 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
cabal-version: 3.0
name: gigaparsec
version: 0.1.0.0
license: AGPL-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.
tested-with: GHC ==9.2.7
source-repository head
type: git
location: https://github.com/noughtmare/gigaparsec
common common
build-depends: base >= 4.14 && <5, containers, text, some
ghc-options: -Wall
default-language: GHC2021
library
import: common
exposed-modules: Gigaparsec, Gigaparsec.Core
hs-source-dirs: src
executable gpc-examples
import: common
main-is: Main.hs
hs-source-dirs: examples
build-depends: gigaparsec
test-suite gpc-test
import: common
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: test.hs
build-depends: tasty, tasty-hunit, gigaparsec
executable gpc-experiment1
import: common
main-is: Experiment1.hs
hs-source-dirs: experiments
library gpc-experiment2
import: common
exposed-modules: Experiment2
hs-source-dirs: experiments
build-depends: containers, some, mtl
executable gpc-experiment3
import: common
main-is: Experiment3.hs
hs-source-dirs: experiments
build-depends: containers, some, mtl, tasty-bench-fit, deepseq, text
-- executable gpc-experiment4
-- import: common
-- main-is: Experiment4.hs
-- hs-source-dirs: experiments
-- build-depends: containers, some, mtl, tasty-bench-fit, deepseq, text