]> Git — Sourcephile - haskell/symantic.git/blob - symantic-grammar/symantic-grammar.cabal
Massive rewrite to better support rank-1 polymorphic types.
[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.20170611
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.Error
54 Language.Symantic.Grammar.Fixity
55 Language.Symantic.Grammar.Operators
56 Language.Symantic.Grammar.Regular
57 Language.Symantic.Grammar.Source
58 Language.Symantic.Grammar.Terminal
59 build-depends:
60 base >= 4.6 && < 5
61 , text
62
63 Test-Suite symantic-grammar-test
64 type: exitcode-stdio-1.0
65 default-extensions:
66 FlexibleContexts
67 FlexibleInstances
68 MultiParamTypeClasses
69 OverloadedStrings
70 ScopedTypeVariables
71 TypeFamilies
72 default-language: Haskell2010
73 ghc-options: -Wall
74 -fno-warn-tabs
75 -main-is Test
76 hs-source-dirs: Language/Symantic
77 main-is: Grammar/Test.hs
78 other-modules:
79 build-depends:
80 base >= 4.6 && < 5
81 , megaparsec
82 , symantic-grammar
83 , tasty >= 0.11
84 , tasty-hunit
85 , text
86 , transformers