unison/parser-typechecker/unison-parser-typechecker.cabal

239 lines
5.1 KiB
Plaintext

name: unison-parser-typechecker
category: Compiler
version: 0.1
license: MIT
cabal-version: >= 1.8
license-file: LICENSE
author: Unison Computing, public benefit corp
maintainer: Paul Chiusano <paul.chiusano@gmail.com>, Runar Bjarnason <runarorama@gmail.com>, Arya Irani <arya.irani@gmail.com>
stability: provisional
homepage: http://unisonweb.org
bug-reports: https://github.com/unisonweb/unison/issues
copyright: Copyright (C) 2013-2018 Unison Computing, PBC and contributors
synopsis: Parser and typechecker for the Unison language
description:
build-type: Simple
extra-source-files:
data-files:
source-repository head
type: git
location: git://github.com/unisonweb/unison.git
-- `cabal install -foptimized` enables optimizations
flag optimized
manual: True
default: False
flag quiet
manual: True
default: False
library
hs-source-dirs: src
exposed-modules:
Unison.ABT
Unison.Blank
Unison.Builtin
Unison.Codecs
Unison.Codebase
Unison.Codebase.Branch
Unison.Codebase.Causal
Unison.Codebase.CommandLine
Unison.Codebase.CommandLine2
Unison.Codebase.Editor
Unison.Codebase.Editor.Actions
Unison.Codebase.FileCodebase
Unison.Codebase.NameEdit
Unison.Codebase.Runtime
Unison.Codebase.Runtime.JVM
Unison.Codebase.Serialization
Unison.Codebase.Serialization.V0
Unison.Codebase.TermEdit
Unison.Codebase.TypeEdit
Unison.Codebase.Watch
Unison.DataDeclaration
Unison.FileParser
Unison.FileParsers
Unison.Hash
Unison.Hashable
Unison.Kind
Unison.Lexer
Unison.Names
Unison.Parser
Unison.Parsers
Unison.Path
Unison.Paths
Unison.Pattern
Unison.PatternP
Unison.PrettyPrintEnv
Unison.PrintError
Unison.Reference
Unison.Referent
Unison.Result
Unison.Runtime.Rt0
Unison.Settings
Unison.Symbol
Unison.Term
Unison.TermParser
Unison.TermPrinter
Unison.Type
Unison.TypeParser
Unison.TypePrinter
Unison.TypeVar
Unison.Typechecker
Unison.Typechecker.Components
Unison.Typechecker.Context
Unison.Typechecker.Extractor
Unison.Typechecker.TypeError
Unison.Typechecker.TypeLookup
Unison.UnisonFile
Unison.Util.AnnotatedText
Unison.Util.ColorText
Unison.Util.Components
Unison.Util.Free
Unison.Util.Logger
Unison.Util.Menu
Unison.Util.Monoid
Unison.Util.Pretty
Unison.Util.Range
Unison.Util.Relation
Unison.Util.TQueue
Unison.Util.TransitiveClosure
Unison.Var
build-depends:
ansi-terminal,
async,
base,
base58-bytestring,
bifunctors,
bytes,
bytestring,
containers,
comonad,
cryptonite,
directory,
errors,
edit-distance,
extra,
filepath,
free,
fsnotify,
hashable,
haskeline,
io-streams,
lens,
ListLike,
memory,
monad-loops,
mtl,
murmur-hash,
network,
process,
megaparsec,
prelude-extras,
random,
safe,
split,
stm,
strings,
terminal-size,
text,
time,
transformers,
vector
ghc-options: -Wall -O0 -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
if flag(optimized)
ghc-options: -funbox-strict-fields
if flag(quiet)
ghc-options: -v0
executable bootstrap
main-is: Bootstrap.hs
hs-source-dirs: bootstrap
ghc-options: -Wall
build-depends:
base,
base58-bytestring,
bytes,
bytestring,
containers,
cryptonite,
filepath,
memory,
mtl,
prelude-extras,
text,
transformers,
vector,
unison-parser-typechecker
executable unison
main-is: Main.hs
hs-source-dirs: unison
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
build-depends:
base,
safe,
unison-parser-typechecker
executable prettyprintdemo
main-is: Main.hs
hs-source-dirs: prettyprintdemo
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
build-depends:
base,
safe,
text,
unison-parser-typechecker
executable unisonold
main-is: Main.hs
hs-source-dirs: unisonold
ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures
build-depends:
base,
safe,
unison-parser-typechecker
executable tests
main-is: Suite.hs
ghc-options: -W -fno-warn-name-shadowing -fno-warn-missing-pattern-synonym-signatures -threaded -rtsopts -with-rtsopts=-N -v0
hs-source-dirs: tests
other-modules:
Unison.Test.Common
Unison.Test.ColorText
Unison.Test.DataDeclaration
Unison.Test.FileParser
Unison.Test.Lexer
Unison.Test.Range
Unison.Test.RemainingWork
Unison.Test.TermParser
Unison.Test.TermPrinter
Unison.Test.Type
Unison.Test.TypePrinter
Unison.Test.Typechecker
Unison.Test.Typechecker.Components
Unison.Test.Typechecker.TypeError
build-depends:
base,
bytestring,
containers,
easytest,
errors,
filepath,
filemanip,
megaparsec,
mtl,
raw-strings-qq,
text,
transformers,
unison-parser-typechecker