/
mueval.cabal
104 lines (98 loc) · 3.07 KB
/
mueval.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
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
name: mueval
version: 0.9.4
synopsis: Safely evaluate pure Haskell expressions
description: Mueval is a Haskell interpreter. It uses the GHC API to evaluate arbitrary Haskell expressions. Importantly, mueval takes many precautions to defang and avoid \"evil\" code. It uses resource limits, whitelisted modules and Safe Haskell, special Show instances for IO, threads, processes, and changes of directory to sandbox the Haskell code. . It is, in short, intended to be a standalone version of Lambdabot's famous evaluation functionality. For examples and explanations, please see the README file. . Mueval is POSIX-only.
category: Development, Language
homepage: https://github.com/TerenceNg03/mueval#readme
bug-reports: https://github.com/TerenceNg03/mueval/issues
author: Gwern <gwern@gwern.net>
maintainer: Terence Ng <stoicism03@gmail.com>
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC==6.10.1
extra-source-files:
README.md
HCAR.tex
source-repository head
type: git
location: https://github.com/TerenceNg03/mueval
library
exposed-modules:
Mueval.ArgsParse
Mueval.Context
Mueval.Interpreter
Mueval.Parallel
Mueval.Resources
other-modules:
Paths_mueval
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -static
build-depends:
Cabal
, QuickCheck
, base >=4.5 && <5
, containers
, directory
, extensible-exceptions
, filepath
, hint
, mtl
, process
, show
, simple-reflect
, unix
default-language: Haskell2010
executable mueval
main-is: Main.hs
other-modules:
Paths_mueval
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -static -threaded -rtsopts -with-rtsopts=-N
build-depends:
Cabal
, QuickCheck
, base >=4.5 && <5
, containers
, directory
, extensible-exceptions
, filepath
, hint
, mtl
, mueval
, process
, show
, simple-reflect
, unix
default-language: Haskell2010
test-suite mueval-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_mueval
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -static -threaded -rtsopts -with-rtsopts=-N
build-depends:
Cabal
, QuickCheck
, base >=4.5 && <5
, containers
, directory
, extensible-exceptions
, filepath
, hint
, mtl
, mueval
, process
, show
, simple-reflect
, unix
default-language: Haskell2010