packages feed

snail-0.1.2.2: snail.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.3.
--
-- see: https://github.com/sol/hpack

name:           snail
version:        0.1.2.2
synopsis:       A programming language with no semantics
description:    An s-expression parser and abstract syntax tree for a programming language with no semantics. If you wanted to write an interpreter or compiler you convert the AST into your own.
category:       Parsing
homepage:       https://github.com/chiroptical/snail#readme
bug-reports:    https://github.com/chiroptical/snail/issues
author:         Barry Moore II
maintainer:     chiroptical@gmail.com
copyright:      Barry Moore II
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md
data-files:
    snail-files/basic.snail
    snail-files/fail-comment.snail
    snail-files/fail-empty.snail
    snail-files/fail-nil.snail
    snail-files/fail-quotes-2.snail
    snail-files/fail-quotes-3.snail
    snail-files/fail-quotes.snail
    snail-files/fail.snail
    snail-files/nil.snail
    test/files/fennel-reference.fnl
    test/files/learnxyz.cl
    test/files/r5rs_pitfalls.scm

source-repository head
  type: git
  location: https://github.com/chiroptical/snail

library
  exposed-modules:
      Snail
      Snail.Ast
      Snail.Characters
      Snail.IO
      Snail.Lexer
      Snail.ToText
  other-modules:
      Paths_snail
  hs-source-dirs:
      src
  default-extensions:
      FlexibleContexts
      ImportQualifiedPost
      LambdaCase
      OverloadedStrings
      TypeApplications
  build-depends:
      QuickCheck >=2.14.3 && <2.20
    , base >=4.15 && <5
    , containers >=0.6.7 && <0.8
    , megaparsec >=9.5.0 && <9.9
    , mtl >=2.3.1 && <2.4
    , text >=2.0.2 && <2.2
    , text-display >=0.0.5 && <0.1 || >=1.0 && <1.1
  default-language: Haskell2010

executable snail
  main-is: Main.hs
  other-modules:
      Paths_snail
  hs-source-dirs:
      example
  default-extensions:
      FlexibleContexts
      ImportQualifiedPost
      LambdaCase
      OverloadedStrings
      TypeApplications
  build-depends:
      QuickCheck >=2.14.3 && <2.20
    , base >=4.15 && <5
    , containers >=0.6.7 && <0.8
    , megaparsec >=9.5.0 && <9.9
    , mtl >=2.3.1 && <2.4
    , snail
    , text >=2.0.2 && <2.2
    , text-display >=0.0.5 && <0.1 || >=1.0 && <1.1
  default-language: Haskell2010

test-suite snail-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Gen
      Snail.IOSpec
      Snail.LexerSpec
      Snail.ToTextSpec
      Paths_snail
  hs-source-dirs:
      test
  default-extensions:
      FlexibleContexts
      ImportQualifiedPost
      LambdaCase
      OverloadedStrings
      TypeApplications
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit >=1.6.2 && <1.7
    , QuickCheck >=2.14.3 && <2.20
    , base >=4.15 && <5
    , containers >=0.6.7 && <0.8
    , hspec >=2.11.8 && <2.12
    , hspec-discover >=2.11.8 && <2.12
    , megaparsec >=9.5.0 && <9.9
    , mtl >=2.3.1 && <2.4
    , raw-strings-qq ==1.1.*
    , snail
    , text >=2.0.2 && <2.2
    , text-display >=0.0.5 && <0.1 || >=1.0 && <1.1
  default-language: Haskell2010