-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgreentext.cabal
99 lines (93 loc) · 2.01 KB
/
greentext.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: 1.12
name: greentext
version: 0.1.0.0
synopsis: Greentext interpreter in haskell
description: Please see the README on GitHub at <https://github.com/yokodake/greentext#readme>
category: Programming Language
homepage: https://github.com/yokodake/greentext#readme
bug-reports: https://github.com/yokodake/greentext/issues
author: Yokodake
maintainer: [email protected]
copyright: 2020 Yokodake
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
src/Lexer.x
src/Parser.y
source-repository head
type: git
location: https://github.com/yokodake/greentext
library
exposed-modules:
Driver
, Ast
, Code
, Config
, Debug
, Emit
, Gtc
, Interp
, Lexer
, Parser
, Repl
, Stack
, Utils
hs-source-dirs:
src
ghc-options: -Wall -Wno-name-shadowing
build-tools:
alex
, happy
build-depends:
base >= 4.7 && <5
, array
, bytestring >= 0.11 && < 0.12
, containers
-- required for MonadMask from haskeline API
, exceptions
, filepath
, haskeline
, mason
, microlens
, microlens-th
, mtl
, template-haskell
, transformers
, vector
default-language: Haskell2010
default-extensions:
BangPatterns
, BinaryLiterals
, DerivingStrategies
, DerivingVia
, GeneralisedNewtypeDeriving
, NamedFieldPuns
, ScopedTypeVariables
, TypeApplications
, KindSignatures
if os(windows) {
build-depends: Win32 < 2.10
}
executable gt
main-is: Main.hs
hs-source-dirs:
exe
default-language: Haskell2010
build-depends:
base >= 4.7 && <5
, greentext
ghc-options: -threaded -Wall
test-suite greentext-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, greentext
, hspec
default-language: Haskell2010