-author: Julien Moutinho <julm+symantic@autogeree.net>
+name: symantic-grammar
+-- PVP: +-+------- breaking API changes
+-- | | +----- non-breaking API additions
+-- | | | +--- code changes with no API change
+version: 0.3.0.20180213
+category: Language
+synopsis: Library for symantic grammars.
+description: This library defines an embedded DSL for regular or context-free grammars,
+ in the <http://okmij.org/ftp/tagless-final/ Tagless-Final> way (aka. the /symantic/ way).
+ .
+ See @Test.hs@ or source code of <https://hackage.haskell.org/package/symantic symantic>
+ and <https://hackage.haskell.org/package/symantic-lib symantic-lib> for examples of use.
+extra-doc-files:
+license: GPL-3
+license-file: COPYING
+stability: experimental
+author: Julien Moutinho <julm+symantic@autogeree.net>
+maintainer: Julien Moutinho <julm+symantic@autogeree.net>
bug-reports: Julien Moutinho <julm+symantic@autogeree.net>
+-- homepage:
+
build-type: Simple
cabal-version: >= 1.24
-category: Language
-description:
- This library defines an embedded DSL for regular or context-free grammars,
- in the <http://okmij.org/ftp/tagless-final/ Tagless-Final> way (aka. the /symantic/ way).
- .
- See @Test.hs@ or source code of <https://hackage.haskell.org/package/symantic symantic>
- and <https://hackage.haskell.org/package/symantic-lib symantic-lib> for examples of use.
+tested-with: GHC==8.2.2
extra-source-files:
+ stack.yaml
extra-tmp-files:
--- homepage:
-license: GPL-3
-license-file: COPYING
-maintainer: Julien Moutinho <julm+symantic@autogeree.net>
-name: symantic-grammar
-stability: experimental
-synopsis: Library for symantic grammars.
-tested-with: GHC==8.0.2
--- PVP: +-+------- breaking API changes
--- | | +----- non-breaking API additions
--- | | | +--- code changes with no API change
-version: 0.2.1.20170818
Source-Repository head
location: git://git.autogeree.net/symantic
type: git
Library
- default-extensions:
- DataKinds
- FlexibleContexts
- FlexibleInstances
- GeneralizedNewtypeDeriving
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- OverloadedStrings
- ScopedTypeVariables
- StandaloneDeriving
- ghc-options: -Wall
- -fwarn-incomplete-patterns
- -fno-warn-tabs
- -fprint-explicit-kinds
- default-language: Haskell2010
exposed-modules:
Language.Symantic.Grammar
Language.Symantic.Grammar.BinTree
Language.Symantic.Grammar.Terminal
Language.Symantic.Grammar.Source
Language.Symantic.Grammar.Error
+ default-language: Haskell2010
+ default-extensions:
+ DataKinds
+ FlexibleContexts
+ FlexibleInstances
+ GeneralizedNewtypeDeriving
+ KindSignatures
+ LambdaCase
+ MultiParamTypeClasses
+ OverloadedStrings
+ ScopedTypeVariables
+ StandaloneDeriving
+ ghc-options:
+ -Wall
+ -Wincomplete-uni-patterns
+ -Wincomplete-record-updates
+ -fno-warn-tabs
+ -fhide-source-paths
build-depends:
- base >= 4.6 && < 5
- , text
+ base >= 4.6 && < 5
+ , text >= 1.2
Test-Suite symantic-grammar-test
type: exitcode-stdio-1.0
+ hs-source-dirs: test
+ main-is: Main.hs
+ other-modules:
+ HUnit
+ default-language: Haskell2010
default-extensions:
FlexibleContexts
FlexibleInstances
OverloadedStrings
ScopedTypeVariables
TypeFamilies
- default-language: Haskell2010
- ghc-options: -Wall
- -fno-warn-tabs
- -main-is Test
- hs-source-dirs: Language/Symantic
- main-is: Grammar/Test.hs
- other-modules:
+ ghc-options:
+ -Wall
+ -Wincomplete-uni-patterns
+ -Wincomplete-record-updates
+ -fno-warn-tabs
+ -fhide-source-paths
build-depends:
- base >= 4.6 && < 5
- , megaparsec
- , symantic-grammar
- , tasty >= 0.11
- , tasty-hunit
- , text
- , transformers
+ symantic-grammar
+ , base >= 4.6 && < 5
+ , megaparsec >= 6.3
+ , tasty >= 0.11
+ , tasty-hunit >= 0.9
+ , text >= 1.2
+ , transformers >= 0.5