-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmparseco.cabal
89 lines (84 loc) · 2.63 KB
/
mparseco.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
cabal-version: 3.0
-- Initial package description 'mparseco.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: mparseco
version: 0.1.0.0
synopsis: A minimal monadic parsing combinator library.
description: mperseco is a minimalist monadic parser combinator library. It is essentially an implementation of the parsing combinators from Philip Wadler's seminal paper "[Monads for functional programming](https://link.springer.com/chapter/10.1007/978-3-662-02880-3_8)". It can be seen as a minimal subset of Haskell's well known library "[parsec](https://hackage.haskell.org/package/parsec)".
homepage: https://github.com/eposse/mperseco
-- bug-reports:
-- license:
license-file: LICENSE
author: Ernesto Posse
maintainer: eposse@gmail.com
copyright: (c) 2021-2025 Ernesto Posse
category: Parsing
stability: experimental
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC == 8.8.3
library
exposed-modules: Mparseco
other-modules:
Mparseco.BasicParsers,
Mparseco.Core,
Mparseco.Tokenizer,
Mparseco.Utils
-- other-extensions:
build-depends: base ^>=4.13.0.0
hs-source-dirs: src
default-language: Haskell2010
test-suite mparseco-test
type: detailed-0.9
test-module: MparsecoTests
other-modules:
MparsecoTests.Properties,
MparsecoTests.Generators,
Mparseco,
Mparseco.BasicParsers,
Mparseco.Core,
Mparseco.Tokenizer,
Mparseco.Utils
hs-source-dirs: tests, src
build-depends:
base ^>=4.13.0.0,
Cabal ^>= 3.0.0.0,
QuickCheck,
cabal-test-quickcheck,
mparseco
default-language: Haskell2010
executable miscexamples
main-is: MiscExamples.hs
other-modules:
Mparseco,
Mparseco.BasicParsers,
Mparseco.Core,
Mparseco.Tokenizer,
Mparseco.Utils,
MparsecoTests.Generators
build-depends:
base ^>=4.13.0.0,
Cabal ^>= 3.0.0.0,
QuickCheck,
cabal-test-quickcheck,
mparseco
hs-source-dirs: examples/misc, src, tests
default-language: Haskell2010
executable exprexample
main-is: ExprExample.hs
other-modules:
Mparseco,
Mparseco.BasicParsers,
Mparseco.Core,
Mparseco.Tokenizer,
Mparseco.Utils,
MparsecoTests.Generators,
Expr,
FullyParenthesisedExprParser
build-depends:
base ^>=4.13.0.0,
Cabal ^>= 3.0.0.0,
QuickCheck,
cabal-test-quickcheck,
mparseco
hs-source-dirs: examples/expr, src, tests
default-language: Haskell2010