-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtinyapl.cabal
137 lines (119 loc) · 4.31 KB
/
tinyapl.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
cabal-version: 3.0
name: tinyapl
version: 0.11.1.0
synopsis: TinyAPL is a tiny APL dialect
-- A longer description of the package.
-- description:
homepage: https://tinyapl.rubenverg.com
-- A URL where users can report bugs.
bug-reports: https://github.com/rubenverg/tinyapl/issues
license: MIT
license-file: LICENSE
author: Madeline Vergani
maintainer: [email protected]
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
, std/**/*.tinyapl
common warnings
ghc-options: -W
library
import: warnings
exposed-modules: TinyAPL.Glyphs
, TinyAPL.ArrayFunctionOperator
, TinyAPL.CoreQuads
, TinyAPL.CoreQuads.Math
, TinyAPL.CoreQuads.Unicode
, TinyAPL.Complex
, TinyAPL.Error
, TinyAPL.Functions
, TinyAPL.Highlighter
, TinyAPL.Interpreter
, TinyAPL.Parser
, TinyAPL.Primitives
, TinyAPL.Random
, TinyAPL.StandardLibrary
, TinyAPL.Util
, TinyAPL.Gamma.Factorial
, TinyAPL.Gamma.Gamma
, TinyAPL.Gamma.Gamma.Incomplete
, TinyAPL.Gamma.Gamma.Lanczos
, TinyAPL.Gamma.Gamma.Stirling
other-modules: TinyAPL.StandardLibrary.Internal
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: base ^>=4.20.0.0
, megaparsec ^>=9.6.1
, mtl ^>=2.3.1
, random ^>=1.2.1.2
, time ^>=1.12
, matrix ^>=0.3.6.3
, continued-fractions ^>=0.10.0.2
, converge ^>=0.1.0.1
, vector ^>=0.13.1.0
, parsers ^>=0.12.11
, split ^>=0.2.5
, filepath ^>=1.5.2.0
, directory ^>=1.3.8.3
, deepseq ^>=1.5.0.0
, cereal ^>=0.5.8.3
, bytestring ^>=0.12.1.0
, text ^>=2.1.1
, exceptions ^>=0.10.7
if !os(wasi)
build-depends: template-haskell ^>=2.22.0.0
hs-source-dirs: src
, gamma
default-language: Haskell2010
if os(wasi)
c-sources: cbits/wasm_init_stub.c
executable tinyapl
import: warnings
main-is: Main.hs
-- Modules included in this executable, other than Main.
other-modules: TinyAPL.CLI
, TinyAPL.Files
, TinyAPL.Quads.File
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: base ^>=4.20.0.0
, deepseq
, exceptions
, tinyapl
hs-source-dirs: app
default-language: Haskell2010
if os(wasi)
ghc-options: -W -optl-mexec-model=reactor "-optl-Wl,--export=_start"
c-sources: cbits/wasm_init.c
executable tinyapl-js
import: warnings
main-is: Main.hs
other-modules: JSBridge
build-depends: base ^>=4.20.0.0
, ghc-experimental ^>=0.1.0.0
, deepseq
, tinyapl
hs-source-dirs: js/src
default-language: Haskell2010
if os(wasi)
ghc-options: -W -no-hs-main -optl-mexec-model=reactor "-optl-Wl,--export=hs_start"
c-sources: cbits/wasm_init.c
else
build-depends:ghc-wasm-compat
ghc-options: -W -fplugin GHC.Wasm.FFI.Plugin
test-suite tinyapl-tests
import: warnings
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: TinyAPL.ArraySpec
, TinyAPL.ParserSpec
, TinyAPL.PrimitivesSpec
build-depends: base ^>=4.20.0.0
, hspec ^>=2.11.7
, hspec-discover ^>=2.11.7
, tinyapl
build-tool-depends:
hspec-discover:hspec-discover >= 2.11.7