packages feed

dotparse-0.0.1: dotparse.cabal

cabal-version:   2.4
name:            dotparse
version:         0.0.1
synopsis:        dot language parsing and printing.
description:     This package provides parsing and printing of the dot language.

  .
  == Usage
  .
  >>> :set -XOverloadedLabels
  >>> :set -XOverloadedStrings
  >>> import DotParse
  >>> import Chart
  >>> import DotParse.Examples (exInt)
  >>> ex <- processGraph exInt
  >>> writeChartSvg "other/ex.svg" (graphToChartWith defaultChartConfig ex)
  .
  ![usage example](docs/other/ex.svg)
  .

category:        project
author:          Tony Day
maintainer:      tonyday567@gmail.com
copyright:       Tony Day (c) 2022
license:         BSD-3-Clause
homepage:        https://github.com/tonyday567/dotparse#readme
bug-reports:     https://github.com/tonyday567/dotparse/issues
build-type:      Simple
extra-doc-files: other/*.svg

source-repository head
  type:     git
  location: https://github.com/tonyday567/dotparse

library
  hs-source-dirs:     src
  default-extensions:
  ghc-options:
    -Wall -Wcompat -Wincomplete-record-updates
    -Wincomplete-uni-patterns -Wredundant-constraints -fwrite-ide-info
    -hiedir=.hie

  build-depends:
    , algebraic-graphs    ^>=0.6
    , base                >=4.7    && <5
    , bytestring          ^>=0.11.3
    , chart-svg           ^>=0.3
    , containers          ^>=0.6
    , flatparse           ^>=0.3.2
    , neat-interpolation  ^>=0.5.1
    , numhask             ^>=0.10
    , numhask-space       ^>=0.10
    , optics-core         ^>=0.4
    , process-extras      ^>=0.7.4
    , template-haskell    >=2.16 && < 2.20
    , text                ^>=1.2
    , these               ^>=1.1.1

  exposed-modules:
    DotParse
    DotParse.Examples
    DotParse.Examples.NumHask
    DotParse.FlatParse
    DotParse.FlatParse.TH
    DotParse.Types

  other-modules:
  default-language:   Haskell2010