packages feed

language-lua-0.11.0.1: language-lua.cabal

Name:                language-lua

Description:
    Lua 5.3 lexer, parser and pretty-printer.

Version:             0.11.0.1
Synopsis:            Lua parser and pretty-printer
Homepage:            http://github.com/glguy/language-lua
Bug-reports:         http://github.com/glguy/language-lua/issues
License:             BSD3
License-file:        LICENSE
Author:              Ömer Sinan Ağacan, Eric Mertens
Maintainer:          Eric Mertens <emertens@gmail.com>
Category:            Language
Build-type:          Simple
Stability:           Experimental
Cabal-version:       >= 1.10

Extra-source-files:  src/Text/PrettyPrint/LICENSE
                     tests/numbers
                     tests/strings
                     tests/string-literal-roundtrip.lua
                     lua-5.3.1-tests/*.lua
                     README.md
                     CHANGELOG.md

Source-repository head
  Type:              git
  Location:          git://github.com/osa1/language-lua.git

Library
  Hs-source-dirs:    src
  Default-language:  Haskell2010

  Exposed-modules:   Language.Lua
                     Language.Lua.Token
                     Language.Lua.StringLiteral
                     Language.Lua.Syntax
                     Language.Lua.Parser
                     Language.Lua.PrettyPrinter
                     Language.Lua.Annotated
                     Language.Lua.Annotated.Syntax
                     Language.Lua.Annotated.Parser
                     Language.Lua.Annotated.Lexer
                     Language.Lua.Annotated.Simplify

  Other-modules:     Text.PrettyPrint.Leijen,
                     Language.Lua.LexerUtils,
                     Language.Lua.Utils

  Build-depends:     base >= 4.5 && < 4.14,
                     deepseq,
                     array >= 0.4 && < 0.6,
                     bytestring >= 0.10 && < 0.11,
                     text >= 1.2 && < 1.3,
                     alex-tools >= 0.4 && < 0.5

  Build-tools:       alex, happy

  ghc-options:       -Wall

Test-Suite tests
  Type:              exitcode-stdio-1.0
  Default-language:  Haskell2010
  Hs-source-dirs:    tests
  Main-is:           Main.hs
  Build-depends:     base >= 4.5 && < 4.14,
                     deepseq,
                     directory,
                     filepath,
                     language-lua,
                     bytestring >= 0.10 && < 0.11,
                     QuickCheck,
                     tasty,
                     tasty-hunit,
                     text,
                     tasty-quickcheck

  ghc-options:       -Wall

Benchmark bench
  type:              exitcode-stdio-1.0
  default-language:  Haskell2010
  main-is:           Main.hs
  hs-source-dirs:    bench
  ghc-options:       -Wall

  build-depends:     base,
                     criterion,
                     directory,
                     filepath,
                     text,
                     language-lua