]> Git — Sourcephile - haskell/symantic.git/blob - symantic-grammar/symantic-grammar.cabal
Polish for publication.
[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.0.2
22 -- PVP: +-+------- breaking API changes
23 -- | | +----- non-breaking API additions
24 -- | | | +--- code changes with no API change
25 version: 0.0.0.20170623
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: -Wall
44 -fwarn-incomplete-patterns
45 -fno-warn-tabs
46 -fprint-explicit-kinds
47 default-language: Haskell2010
48 exposed-modules:
49 Language.Symantic.Grammar
50 Language.Symantic.Grammar.BinTree
51 Language.Symantic.Grammar.ContextFree
52 Language.Symantic.Grammar.EBNF
53 Language.Symantic.Grammar.Fixity
54 Language.Symantic.Grammar.Meta
55 Language.Symantic.Grammar.Operators
56 Language.Symantic.Grammar.Regular
57 Language.Symantic.Grammar.Terminal
58 build-depends:
59 base >= 4.6 && < 5
60 , text
61
62 Test-Suite symantic-grammar-test
63 type: exitcode-stdio-1.0
64 default-extensions:
65 FlexibleContexts
66 FlexibleInstances
67 MultiParamTypeClasses
68 OverloadedStrings
69 ScopedTypeVariables
70 TypeFamilies
71 default-language: Haskell2010
72 ghc-options: -Wall
73 -fno-warn-tabs
74 -main-is Test
75 hs-source-dirs: Language/Symantic
76 main-is: Grammar/Test.hs
77 other-modules:
78 build-depends:
79 base >= 4.6 && < 5
80 , megaparsec
81 , symantic-grammar
82 , tasty >= 0.11
83 , tasty-hunit
84 , text
85 , transformers