packages feed

snail-0.1.2.0: snail.cabal

cabal-version: 1.12

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

name:           snail
version:        0.1.2.0
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:
      ImportQualifiedPost
      LambdaCase
      OverloadedStrings
  build-depends:
      QuickCheck >=2.14.3 && <2.15
    , base >=4.15 && <5
    , containers >=0.6.7 && <0.7
    , megaparsec >=9.3.1 && <9.4
    , mtl >=2.2.2 && <2.3
    , text >=2.0.2 && <2.1
    , text-display >=0.0.5 && <0.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:
      ImportQualifiedPost
      LambdaCase
      OverloadedStrings
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HUnit >=1.6.2 && <1.7
    , QuickCheck >=2.14.3 && <2.15
    , base >=4.15 && <5
    , containers >=0.6.7 && <0.7
    , hspec >=2.10.10 && <2.11
    , hspec-discover >=2.10.10 && <2.11
    , megaparsec >=9.3.1 && <9.4
    , mtl >=2.2.2 && <2.3
    , raw-strings-qq ==1.1.*
    , snail
    , text >=2.0.2 && <2.1
    , text-display >=0.0.5 && <0.1
  default-language: Haskell2010