2020-01-31 18:32:35 +03:00
|
|
|
cabal-version: 2.4
|
2020-01-31 01:11:12 +03:00
|
|
|
-- Initial package description 'semantic-codegen.cabal' generated by 'cabal
|
|
|
|
-- init'. For further documentation, see
|
|
|
|
-- http://haskell.org/cabal/users-guide/
|
|
|
|
|
|
|
|
name: semantic-codegen
|
|
|
|
version: 0.1.0.0
|
|
|
|
-- synopsis:
|
|
|
|
-- description:
|
|
|
|
-- bug-reports:
|
2020-01-31 01:23:00 +03:00
|
|
|
license: MIT
|
2020-01-31 01:11:12 +03:00
|
|
|
license-file: LICENSE
|
2020-01-31 01:23:00 +03:00
|
|
|
author: The Semantic Authors
|
|
|
|
maintainer: opensource+semantic@github.com
|
|
|
|
copyright: (c) 2019 GitHub, Inc.
|
|
|
|
category: Language
|
2020-01-31 01:11:12 +03:00
|
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
|
2020-01-31 01:23:00 +03:00
|
|
|
tested-with: GHC == 8.6.5
|
|
|
|
|
|
|
|
common haskell
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options:
|
|
|
|
-Weverything
|
|
|
|
-Wno-missing-local-signatures
|
|
|
|
-Wno-missing-import-lists
|
|
|
|
-Wno-implicit-prelude
|
|
|
|
-Wno-safe
|
|
|
|
-Wno-unsafe
|
|
|
|
-Wno-name-shadowing
|
|
|
|
-Wno-monomorphism-restriction
|
|
|
|
-Wno-missed-specialisations
|
|
|
|
-Wno-all-missed-specialisations
|
|
|
|
-Wno-star-is-type
|
|
|
|
if (impl(ghc >= 8.8))
|
|
|
|
ghc-options: -Wno-missing-deriving-strategies
|
|
|
|
|
|
|
|
library
|
|
|
|
import: haskell
|
|
|
|
exposed-modules: AST.Deserialize
|
|
|
|
AST.GenerateSyntax
|
|
|
|
AST.Grammar.TH
|
|
|
|
AST.Token
|
|
|
|
AST.Unmarshal
|
|
|
|
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2020-01-31 18:40:08 +03:00
|
|
|
build-depends: base >= 4.13
|
2020-01-31 01:23:00 +03:00
|
|
|
, aeson ^>= 1.4.2.0
|
|
|
|
, bytestring ^>= 0.10.8.2
|
|
|
|
, tree-sitter ^>= 0.8
|
2020-01-31 18:50:55 +03:00
|
|
|
, fused-effects ^>= 1.0
|
2020-01-31 01:23:00 +03:00
|
|
|
, semantic-source ^>= 0.0.2
|
|
|
|
, template-haskell ^>= 2.15
|
|
|
|
, text ^>= 1.2.3.1
|
|
|
|
, unordered-containers ^>= 0.2.10
|
|
|
|
, containers >= 0.6.0.1
|
|
|
|
, text ^>= 1.2.3.1
|
|
|
|
, filepath ^>= 1.4.1
|
|
|
|
|
|
|
|
hs-source-dirs: src
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2020-01-31 01:11:12 +03:00
|
|
|
executable semantic-codegen
|
2020-01-31 01:23:00 +03:00
|
|
|
import: haskell
|
2020-01-31 01:11:12 +03:00
|
|
|
main-is: Main.hs
|
|
|
|
-- other-modules:
|
|
|
|
-- other-extensions:
|
2020-01-31 18:40:08 +03:00
|
|
|
build-depends: base
|
2020-01-31 01:23:00 +03:00
|
|
|
, tree-sitter
|
|
|
|
, semantic-source
|
|
|
|
, bytestring
|
|
|
|
, aeson
|
|
|
|
, bytestring
|
|
|
|
, text
|
|
|
|
, unordered-containers
|
|
|
|
, containers
|
|
|
|
, filepath
|
|
|
|
default-language: Haskell2010
|
2020-01-31 01:11:12 +03:00
|
|
|
-- hs-source-dirs:
|
|
|
|
default-language: Haskell2010
|