packages feed

hlex-1.0.1: hlex.cabal

cabal-version: 1.12

name:           hlex
version:        1.0.1
synopsis:       Simple Lexer Creation
description:    This package provides the tools to create a simple lexer.
category:       lexer
homepage:       https://github.com/SebTee/hlex#readme
bug-reports:    https://github.com/SebTee/hlex/issues
author:         Sebastian Tee
maintainer:     Sebastian Tee
copyright:      2023 Sebastian Tee
license:        MIT
license-file:   LICENSE
build-type:     Simple


extra-source-files:
  README.md
  CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/SebTee/hlex

library
  exposed-modules:
      Hlex
  other-modules:
      Paths_hlex
  hs-source-dirs:
      src
  ghc-options:
      -Wall
      -Wcompat
      -Widentities
      -Wincomplete-record-updates
      -Wincomplete-uni-patterns
      -Wmissing-export-lists
      -Wmissing-home-modules
      -Wpartial-fields
      -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , regex-tdfa ==1.3.*
  default-language: Haskell2010

test-suite Hlex-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      ExampleLang
      Exceptions
      Successes
      TestResources
      Paths_hlex
  hs-source-dirs:
      test
  ghc-options:
      -Wall
      -Wcompat
      -Widentities
      -Wincomplete-record-updates
      -Wincomplete-uni-patterns
      -Wmissing-export-lists
      -Wmissing-home-modules
      -Wpartial-fields
      -Wredundant-constraints
      -threaded
      -rtsopts
      -with-rtsopts=-N
  build-depends:
      HUnit ==1.6.*
    , hlex
    , base >=4.7 && <5
    , regex-tdfa ==1.3.*
  default-language: Haskell2010