name: postgresql-syntax
version: 0.4.0.2
category: Database, PostgreSQL, Parsing
synopsis: PostgreSQL AST parsing and rendering
description:
Postgres syntax tree and related utils extracted from the \"hasql-th\" package.
The API is in a rather raw \"guts out\" state with most documentation lacking,
but the codebase is well tested.
homepage: https://github.com/nikita-volkov/postgresql-syntax
bug-reports: https://github.com/nikita-volkov/postgresql-syntax/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2020, Nikita Volkov
license: MIT
license-file: LICENSE
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: git://github.com/nikita-volkov/postgresql-syntax.git
library
hs-source-dirs: library
default-extensions: ApplicativeDo, Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, DuplicateRecordFields, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language: Haskell2010
exposed-modules:
PostgresqlSyntax.Ast
PostgresqlSyntax.KeywordSet
PostgresqlSyntax.Parsing
PostgresqlSyntax.Rendering
PostgresqlSyntax.Validation
other-modules:
PostgresqlSyntax.CharSet
PostgresqlSyntax.Extras.TextBuilder
PostgresqlSyntax.Extras.HeadedMegaparsec
PostgresqlSyntax.Extras.NonEmpty
PostgresqlSyntax.Predicate
PostgresqlSyntax.Prelude
build-depends:
base >=4.12 && <5,
bytestring >=0.10 && <0.12,
case-insensitive >=1.2.1 && <2,
hashable >=1.3.5 && <2,
headed-megaparsec >=0.2.0.1 && <0.3,
megaparsec >=9.2 && <10,
parser-combinators >=1.3 && <1.4,
text >=1 && <3,
text-builder >=0.6.6.3 && <0.7,
unordered-containers >=0.2.16 && <0.3
test-suite tasty-test
type: exitcode-stdio-1.0
hs-source-dirs: tasty-test
main-is: Main.hs
default-extensions: ApplicativeDo, Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, DuplicateRecordFields, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language: Haskell2010
build-depends:
postgresql-syntax,
QuickCheck >=2.10 && <3,
quickcheck-instances >=0.3.22 && <0.4,
rerebase <2,
tasty >=1.2.3 && <2,
tasty-hunit >=0.10 && <0.11,
tasty-quickcheck >=0.10 && <0.11
test-suite hedgehog-test
type: exitcode-stdio-1.0
hs-source-dirs: hedgehog-test
default-extensions: ApplicativeDo, Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFoldable, DeriveFunctor, DeriveGeneric, DeriveTraversable, DuplicateRecordFields, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language: Haskell2010
main-is: Main.hs
other-modules:
Main.Gen
build-depends:
hedgehog >=1.0.1 && <2,
postgresql-syntax,
rerebase >=1.6.1 && <2