-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfancon.cabal
99 lines (91 loc) · 3.14 KB
/
fancon.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
cabal-version: 2.2
name: fancon
version: 0.0.0.1
homepage: https://github.com/Anrock/fancon#readme
build-type: Simple
extra-source-files: README.md
common warnings
ghc-options: -Weverything
-Wno-missing-exported-signatures
-Wmissing-signatures
-Wno-implicit-prelude
-Wno-missing-import-lists
-Wno-missed-specialisations
-Wno-all-missed-specialisations
-Wno-unsafe
-Wno-safe
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-missing-deriving-strategies
-Wno-missing-safe-haskell-mode
-Wno-missing-kind-signatures
common ghc-options
ghc-options: -O2 -threaded
common polysemy
ghc-options: -flate-specialise -fspecialise-aggressively -fplugin=Polysemy.Plugin
build-depends: polysemy
, polysemy-plugin
default-extensions: FlexibleContexts
, GADTs
, LambdaCase
, PolyKinds
, RankNTypes
, ScopedTypeVariables
, TypeOperators
, TypeFamilies
common language
default-language: Haskell2010
default-extensions: QuasiQuotes
, OverloadedStrings
, OverloadedLists
, TupleSections
, NamedFieldPuns
, DuplicateRecordFields
, NamedFieldPuns
, LambdaCase
, TemplateHaskell
, BinaryLiterals
, NumericUnderscores
, BlockArguments
, RecordWildCards
, ImportQualifiedPost
, TypeApplications
, DataKinds
common deps
build-depends: base >= 4.7 && < 5
, megaparsec
, bytestring
, text
, interpolate
library
import: warnings, ghc-options, language, deps, polysemy
hs-source-dirs: lib
exposed-modules: Fancon
, Fancon.Assemble
, Fancon.Link
, Fancon.Bus
other-modules: Fancon.Memory
, Fancon.Instruction
, Fancon.Instruction.Internal
, Fancon.Instruction.Validate
, Fancon.Emit
, Fancon.Parse
, Fancon.Symboltable
, Fancon.Symboltable.Validation
build-depends: vector
, containers
, bv-sized
, parameterized-utils
test-suite test
import: warnings, ghc-options, language
ghc-options: -Wno-incomplete-patterns -Wno-incomplete-uni-patterns
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends: base, fancon, tasty, tasty-hunit, bytestring, text
executable fancon
import: ghc-options, warnings, language, deps
hs-source-dirs: src
main-is: Main.hs
build-depends: fancon, optparse-applicative
other-modules: Arguments