-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforther.cabal
101 lines (90 loc) · 2.1 KB
/
forther.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
100
cabal-version: 3.0
name: forther
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.0.0.1
license: MIT
license-file: LICENSE
author: 0xmycf
maintainer: [email protected]
copyright: 2023 0xmycf
build-type: Simple
extra-doc-files: CHANGELOG.md
common extensions
default-extensions:
OverloadedRecordDot
MultiWayIf
BlockArguments
DerivingStrategies
LambdaCase
OverloadedStrings
OverloadedLabels
RecordWildCards
ExplicitNamespaces
GADTs
DataKinds
TypeFamilies
DeriveAnyClass
TemplateHaskell
common ghc-options
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -ddump-simpl -ddump-to-file
common ghc-options-lib
ghc-options: -Wall -ddump-simpl -ddump-to-file
common ghc-options-test
ghc-options: -Wall -Wno-unused-imports
common base-dep
build-depends:
base ^>=4.18.2.0
executable forther
import: ghc-options
import: extensions
import: base-dep
import: base-dep
main-is: Main.hs
build-depends:
forther
hs-source-dirs: app
default-language: GHC2021
library
import: ghc-options-lib
import: extensions
exposed-modules:
-- data structures
BinTree
Stack
-- util
Save
-- monads
Result
State
IOPeekBuffer
MonadLift
HasState
-- forther
-- Dictionary
Token
-- lexing and parsing
Lexer
CharProducer
-- repl
Repl.Types
Repl.Repl
Repl.Machine
build-depends:
base ^>=4.18.2.0
, deepseq
hs-source-dirs: src
default-language: GHC2021
test-suite test-forther
import: ghc-options-test
import: extensions
import: base-dep
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends:
, forther
, QuickCheck
, hspec
default-language: GHC2021