packages feed

godot-megaparsec-0.2.0.0: godot-megaparsec.cabal

cabal-version:      2.4
name:               godot-megaparsec
version:            0.2.0.0

-- A short (one-line) description of the package.
synopsis:           Megaparsec parser for Godot `tscn` and `gdns` files.

-- A longer description of the package.
description:
  Megaparsec parser for Godot `tscn` and `gdns` files.
  Currently only supports auto-generated files (i.e. files generated by the editor).
  Probably could parse other resource files, as they share similar formats.

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
license:            BSD-3-Clause
author:             Winston Hartnett
maintainer:         winstonhartnett@gmail.com

-- A copyright notice.
-- copyright: BSD3-CLAUSE
category:           library
extra-source-files: CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/WinstonHartnett/godot-megaparsec.git

library
  exposed-modules:
    Godot.Parser.Resource
    Godot.Parser.Resource.Lens

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:
  ghc-options:      -Wall
  build-depends:
    , base                  >= 4.14.0 && < 5
    , generic-lens          >= 2.2.0 && < 2.3
    , lens                  >= 5.0.1 && < 5.1
    , megaparsec            >= 9.2.0 && < 9.3
    , text                  >= 1.2.4 && < 1.3
    , unordered-containers  >= 0.2.14 && < 0.3

  hs-source-dirs:   src
  default-language: Haskell2010

executable bench
  hs-source-dirs:   bench
  main-is:          Main.hs
  default-language: Haskell2010
  ghc-options:      -Wall
  build-depends:
    , base                  >= 4.14.0 && < 5
    , criterion             >= 1.5.11 && < 1.6
    , godot-megaparsec
    , megaparsec            >= 9.2.0 && < 9.3
    , text                  >= 1.2.4 && < 1.3