-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstepeval.cabal
90 lines (71 loc) · 2.21 KB
/
stepeval.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
Cabal-Version: >= 1.6
Name: stepeval
Version: 0.2
Category: Language
Synopsis: Evaluating a Haskell expression step-by-step
Description:
stepeval operates on haskell-src-exts ASTs, performing a single
evaluation step (e.g. pattern matching, function application) at a
time.
.
stepeval comes bundled with an executable that can operate as a
command-line utility or a CGI script. In either case it takes an
expression input as a string and displays each step of its
evaluation, until it reaches weak head normal form or, in the case of
the CGI script, a time limit expires.
Author: Ben Millwood <[email protected]>
Maintainer: Ben Millwood <[email protected]>
Copyright: 2010-2011 Ben Millwood
License: BSD3
License-file: LICENSE
Build-type: Simple
Tested-with: GHC == 6.12.3, GHC == 7.0.1
Extra-source-files: testsuite/*.step testsuite/*.eval
Flag program
Description: Build the CLI/CGI tool
Default: True
Flag test
Description: Build the testing application
Default: False
Library
Exposed-modules: Language.Haskell.Stepeval
Other-modules: Parenthise
Build-Depends:
base >= 4 && < 4.7,
containers >= 0.1 && < 0.6,
haskell-src-exts >= 1.11 && < 1.14,
syb >= 0.1 && < 0.4
GHC-Options: -W
Hs-Source-Dirs: src
Executable stepeval
Main-is: Main.hs
if flag(program)
Hs-Source-Dirs: src
Other-Modules: Language.Haskell.Stepeval, Parenthise
Build-Depends:
base >= 4 && < 4.7,
containers >= 0.1 && < 0.6,
haskell-src-exts >= 1.11 && < 1.14,
syb >= 0.1 && < 0.4
GHC-Options: -W
else
Buildable: False
Executable test
Main-is: Test.hs
if flag(test)
Hs-Source-Dirs: src testsuite
Other-Modules: Language.Haskell.Stepeval, Parenthise
Build-Depends:
base >= 4 && < 4.7,
containers >= 0.1 && < 0.6,
directory >= 1.0 && < 1.3,
filepath >= 1.1 && < 1.4,
haskell-src-exts >= 1.11 && < 1.14,
syb >= 0.1 && < 0.4,
transformers >= 0.2 && < 0.4
GHC-Options: -W
else
Buildable: False
Source-Repository head
type: git
location: git://github.com/benmachine/stepeval.git