packages feed

inchworm-1.1.1.2: inchworm.cabal

name:           inchworm
version:        1.1.1.2
license:        MIT
license-file:   LICENSE
author:         The Inchworm Development Team
maintainer:     Ben Lippmeier <benl@ouroborus.net>
build-Type:     Simple
cabal-Version:  >=1.6
stability:      experimental
homepage:       https://github.com/discus-lang/inchworm
category:       Parsing
synopsis:       Simple parser combinators for lexical analysis.

description:    Parser combinator framework specialized to lexical analysis.
                Tokens are specified via simple fold functions, and we include
                baked in source location handling.

                Comes with matchers for standard lexemes like integers,
                comments, and Haskell style strings with escape handling.

                No dependencies other than the Haskell 'base' library.

                If you want to parse expressions instead of tokens then try
                try the @parsec@ or @attoparsec@ packages, which have more
                general purpose combinators.

extra-source-files:
 Readme.md
 Changelog.md
 examples/lispy/*.hs
 examples/mlish/*.hs
 examples/mlish/Scanner/*.hs

source-repository head
 type:     git
 location: https://github.com/discus-lang/inchworm.git

library
  build-Depends:
        base            >= 4.8   && < 4.13

  exposed-modules:
        Text.Lexer.Inchworm.Char
        Text.Lexer.Inchworm.Scanner
        Text.Lexer.Inchworm.Source
        Text.Lexer.Inchworm

  other-modules:
        Text.Lexer.Inchworm.Combinator


  ghc-options:
        -Wall
        -fno-warn-orphans
        -fno-warn-type-defaults
        -fno-warn-missing-methods
        -fno-warn-redundant-constraints

  extensions:
        ParallelListComp
        PatternGuards
        RankNTypes
        FlexibleContexts
        KindSignatures
        BangPatterns