dhall-lex-0.2.0.0: dhall-lex.cabal
cabal-version: 1.18
name: dhall-lex
version: 0.2.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Vanessa McHale
maintainer: vamchale@gmail.com
author: Vanessa McHale
bug-reports: https://hub.darcs.net/vmchale/dhall-lex/issues
synopsis: Lexer for the Dhall language
description:
Lexer for Dhall written with [Alex](https://www.haskell.org/alex/doc/html/index.html). This package has few dependencies and is fast.
category: Lexers, Language, Dhall
build-type: Simple
data-files:
test/data/*.dhall
extra-doc-files: README.md
source-repository head
type: darcs
location: https://hub.darcs.net/vmchale/dhall-lex
flag development
description:
Enable `-Werror`
default: False
manual: True
library
exposed-modules:
Language.Dhall.Lexer
build-tools: alex -any
hs-source-dirs: src
other-modules:
Language.Dhall.Lexer.Mod
Language.Dhall.Lexer.Types
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.9 && <5,
array -any,
bytestring -any,
deepseq -any,
scientific -any
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat
test-suite dhall-lex-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
base -any,
dhall-lex -any,
hspec -any,
bytestring -any,
hspec-dirstream >=1.0.0.0
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat
benchmark dhall-lex-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base -any,
dhall-lex -any,
criterion -any,
bytestring -any
if flag(development)
ghc-options: -Werror
if impl(ghc >=8.0)
ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wcompat