]> Git — Sourcephile - haskell/symantic.git/blob - symantic-grammar/symantic-grammar.cabal
Add lower version bounds to all dependencies.
[haskell/symantic.git] / symantic-grammar / symantic-grammar.cabal
1 author: Julien Moutinho <julm+symantic@autogeree.net>
2 bug-reports: Julien Moutinho <julm+symantic@autogeree.net>
3 build-type: Simple
4 cabal-version: >= 1.24
5 category: Language
6 description:
7 This library defines an embedded DSL for regular or context-free grammars,
8 in the <http://okmij.org/ftp/tagless-final/ Tagless-Final> way (aka. the /symantic/ way).
9 .
10 See @Test.hs@ or source code of <https://hackage.haskell.org/package/symantic symantic>
11 and <https://hackage.haskell.org/package/symantic-lib symantic-lib> for examples of use.
12 extra-source-files:
13 extra-tmp-files:
14 -- homepage:
15 license: GPL-3
16 license-file: COPYING
17 maintainer: Julien Moutinho <julm+symantic@autogeree.net>
18 name: symantic-grammar
19 stability: experimental
20 synopsis: Library for symantic grammars.
21 tested-with: GHC==8.2.2
22 -- PVP: +-+------- breaking API changes
23 -- | | +----- non-breaking API additions
24 -- | | | +--- code changes with no API change
25 version: 0.3.1.20180213
26
27 Source-Repository head
28 location: git://git.autogeree.net/symantic
29 type: git
30
31 Library
32 default-extensions:
33 DataKinds
34 FlexibleContexts
35 FlexibleInstances
36 GeneralizedNewtypeDeriving
37 KindSignatures
38 LambdaCase
39 MultiParamTypeClasses
40 OverloadedStrings
41 ScopedTypeVariables
42 StandaloneDeriving
43 ghc-options:
44 -Wall
45 -Wincomplete-uni-patterns
46 -Wincomplete-record-updates
47 -fno-warn-tabs
48 -fhide-source-paths
49 default-language: Haskell2010
50 exposed-modules:
51 Language.Symantic.Grammar
52 Language.Symantic.Grammar.BinTree
53 Language.Symantic.Grammar.ContextFree
54 Language.Symantic.Grammar.EBNF
55 Language.Symantic.Grammar.Fixity
56 Language.Symantic.Grammar.Meta
57 Language.Symantic.Grammar.Operators
58 Language.Symantic.Grammar.Regular
59 Language.Symantic.Grammar.Terminal
60 Language.Symantic.Grammar.Source
61 Language.Symantic.Grammar.Error
62 build-depends:
63 base >= 4.6 && < 5
64 , text >= 1.2
65
66 Test-Suite symantic-grammar-test
67 type: exitcode-stdio-1.0
68 default-extensions:
69 FlexibleContexts
70 FlexibleInstances
71 MultiParamTypeClasses
72 OverloadedStrings
73 ScopedTypeVariables
74 TypeFamilies
75 default-language: Haskell2010
76 ghc-options: -Wall
77 -fno-warn-tabs
78 -main-is Test
79 hs-source-dirs: Language/Symantic
80 main-is: Grammar/Test.hs
81 other-modules:
82 build-depends:
83 symantic-grammar
84 , base >= 4.6 && < 5
85 , megaparsec >= 6.3
86 , tasty >= 0.11
87 , tasty-hunit >= 0.9
88 , text >= 1.2
89 , transformers >= 0.5