2019-06-13 21:20:22 +03:00
|
|
|
cabal-version: 2.4
|
2019-06-03 18:34:15 +03:00
|
|
|
|
|
|
|
name: semantic-core
|
|
|
|
version: 0.0.0.0
|
|
|
|
synopsis: Semantic core intermediate language
|
2019-06-11 18:26:47 +03:00
|
|
|
description: Core intermediate language for program analysis using abstract definitional interpretation.
|
2019-06-11 18:07:57 +03:00
|
|
|
homepage: https://github.com/github/semantic/tree/master/semantic-core#readme
|
2019-06-11 18:23:38 +03:00
|
|
|
bug-reports: https://github.com/github/semantic/issues
|
2019-06-03 18:34:15 +03:00
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
2019-06-11 18:07:57 +03:00
|
|
|
author: The Semantic authors
|
|
|
|
maintainer: opensource+semantic@github.com
|
|
|
|
copyright: (c) 2019 GitHub, Inc.
|
2019-06-03 18:34:15 +03:00
|
|
|
category: Language
|
|
|
|
build-type: Simple
|
2019-06-11 18:25:20 +03:00
|
|
|
stability: alpha
|
2019-06-03 18:34:15 +03:00
|
|
|
extra-source-files: README.md
|
|
|
|
|
2019-10-10 21:48:23 +03:00
|
|
|
tested-with:
|
|
|
|
GHC == 8.6.5
|
2019-06-03 18:34:15 +03:00
|
|
|
|
2019-10-10 21:45:40 +03:00
|
|
|
common common
|
|
|
|
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
|
|
|
|
|
2019-06-03 18:34:15 +03:00
|
|
|
library
|
2019-10-10 21:45:40 +03:00
|
|
|
import: common
|
|
|
|
hs-source-dirs: src
|
2019-10-10 21:42:41 +03:00
|
|
|
exposed-modules:
|
2019-10-10 22:07:49 +03:00
|
|
|
Core.Core
|
2019-10-11 20:50:40 +03:00
|
|
|
Core.Parser
|
|
|
|
Core.Pretty
|
2019-10-11 17:46:59 +03:00
|
|
|
Core.Eval
|
2019-10-10 22:07:49 +03:00
|
|
|
Core.Name
|
2019-10-10 21:43:01 +03:00
|
|
|
build-depends:
|
2019-12-13 23:48:49 +03:00
|
|
|
base >= 4.13 && < 5
|
2019-11-07 23:48:57 +03:00
|
|
|
, fused-effects ^>= 1.0
|
2019-10-10 22:14:37 +03:00
|
|
|
, fused-syntax
|
2020-01-17 21:46:17 +03:00
|
|
|
, hashable
|
2019-10-10 21:43:01 +03:00
|
|
|
, parsers ^>= 0.12.10
|
2019-10-11 00:33:56 +03:00
|
|
|
, pathtype ^>= 0.8.1
|
2019-12-18 19:23:29 +03:00
|
|
|
, prettyprinter >= 1.2.1 && < 2
|
2019-10-10 21:43:01 +03:00
|
|
|
, prettyprinter-ansi-terminal ^>= 1.1.1
|
2019-10-11 19:52:32 +03:00
|
|
|
, semantic-analysis ^>= 0
|
2020-03-23 23:40:50 +03:00
|
|
|
, semantic-source ^>= 0.1.0
|
2019-10-10 21:43:01 +03:00
|
|
|
, text ^>= 1.2.3.1
|
2019-12-10 21:32:56 +03:00
|
|
|
, trifecta >= 2 && < 2.2
|
2019-10-10 21:43:01 +03:00
|
|
|
, unordered-containers ^>= 0.2.10
|
2019-06-03 18:34:15 +03:00
|
|
|
|
2019-10-10 21:51:40 +03:00
|
|
|
test-suite test
|
2019-10-10 21:45:40 +03:00
|
|
|
import: common
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: test
|
2019-10-11 01:05:50 +03:00
|
|
|
main-is: Test.hs
|
2019-10-10 21:45:40 +03:00
|
|
|
other-modules: Generators
|
|
|
|
build-depends:
|
|
|
|
base
|
2019-10-11 19:55:23 +03:00
|
|
|
, semantic-analysis
|
2019-10-10 21:45:40 +03:00
|
|
|
, semantic-core
|
2020-01-28 20:42:42 +03:00
|
|
|
, semantic-source
|
2019-10-10 21:45:40 +03:00
|
|
|
, fused-effects
|
2019-10-11 03:43:00 +03:00
|
|
|
, fused-syntax
|
2019-10-10 21:45:40 +03:00
|
|
|
, hedgehog ^>= 1
|
|
|
|
, tasty >= 1.2 && <2
|
|
|
|
, tasty-hedgehog ^>= 1.0.0.1
|
|
|
|
, tasty-hunit >= 0.10 && <1
|
|
|
|
, trifecta
|