packages feed

pinchot-0.16.0.0: pinchot.cabal

-- This Cabal file generated using the Cartel library.
-- Cartel is available at:
-- http://www.github.com/massysett/cartel
--
-- Script name used to generate: genCabal.hs
-- Generated on: 2016-04-10 09:37:56.35801 EDT
-- Cartel library version: 0.14.2.8

name: pinchot
version: 0.16.0.0
cabal-version: >= 1.14
license: BSD3
license-file: LICENSE
build-type: Simple
copyright: 2015 Omari Norman
author: Omari Norman
maintainer: omari@smileystation.com
stability: Experimental
homepage: http://www.github.com/massysett/pinchot
bug-reports: http://www.github.com/massysett/pinchot/issues
synopsis: Write grammars, not parsers
description:
  Pinchot provides a simple language that you use to write a Haskell
  value that describes a context-free grammar.  Using this value, you can
  automatically generate data types corresponding to the grammar,
  as well as an Earley parser to parse strings in that grammar.
  .
  For more documentation, see the Haddocks for the main Pinchot module.
category: Development
extra-source-files:
  README

Library
  exposed-modules:
    Pinchot
    Pinchot.Earley
    Pinchot.Examples
    Pinchot.Examples.AllRulesRecord
    Pinchot.Examples.Earley
    Pinchot.Examples.Newman
    Pinchot.Examples.Postal
    Pinchot.Examples.RulesToOptics
    Pinchot.Examples.SyntaxTrees
    Pinchot.Examples.Terminalize
    Pinchot.Intervals
    Pinchot.Locator
    Pinchot.NonEmpty
    Pinchot.RecursiveDo
    Pinchot.Rules
    Pinchot.SyntaxTree
    Pinchot.SyntaxTree.Optics
    Pinchot.SyntaxTree.Wrappers
    Pinchot.Terminalize
    Pinchot.Types
  build-depends:
      base >= 4.8.0.0 && < 5
    , containers >= 0.5.6.2
    , transformers >= 0.4.2.0
    , template-haskell >= 2.10
    , Earley >= 0.11.0.1
    , lens >= 4.13
    , ListLike >= 4.2.1
  other-extensions:
    TemplateHaskell
  default-language: Haskell2010
  hs-source-dirs:
    lib

source-repository head
  type: git
  location: https://github.com/massysett/penny.git

Executable newman
  main-is: newman.hs
  if flag(executables)
    buildable: True
    other-modules:
      Pinchot
      Pinchot.Earley
      Pinchot.Examples
      Pinchot.Examples.AllRulesRecord
      Pinchot.Examples.Earley
      Pinchot.Examples.Newman
      Pinchot.Examples.Postal
      Pinchot.Examples.RulesToOptics
      Pinchot.Examples.SyntaxTrees
      Pinchot.Examples.Terminalize
      Pinchot.Intervals
      Pinchot.Locator
      Pinchot.NonEmpty
      Pinchot.RecursiveDo
      Pinchot.Rules
      Pinchot.SyntaxTree
      Pinchot.SyntaxTree.Optics
      Pinchot.SyntaxTree.Wrappers
      Pinchot.Terminalize
      Pinchot.Types
    hs-source-dirs:
      exe
    build-depends:
        base >= 4.8.0.0 && < 5
      , containers >= 0.5.6.2
      , transformers >= 0.4.2.0
      , template-haskell >= 2.10
      , Earley >= 0.11.0.1
      , lens >= 4.13
      , ListLike >= 4.2.1
    other-extensions:
      TemplateHaskell
    default-language: Haskell2010
    hs-source-dirs:
      lib
  else
    buildable: False

Flag executables
  description: Build executables
  default: False
  manual: True