File: mueval.cabal

package info (click to toggle)
haskell-mueval 0.9.1.1.2-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 164 kB
  • ctags: 1
  • sloc: haskell: 429; sh: 85; makefile: 4
file content (51 lines) | stat: -rw-r--r-- 2,078 bytes parent folder | download
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
name:                mueval
version:             0.9.1.1.2

license:             BSD3
license-file:        LICENSE
author:              Gwern
maintainer:          Gwern <gwern@gwern.net>

category:            Development, Language
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.
homepage:            https://github.com/gwern/mueval

build-type:          Simple
cabal-version:       >= 1.6
tested-with:         GHC==6.10.1

data-files:          README.md, HCAR.tex
extra-source-files:  build.sh, tests.sh

library
        exposed-modules:     Mueval.Parallel, Mueval.Context, Mueval.Interpreter,
                             Mueval.ArgsParse, Mueval.Resources
        build-depends:       base>=4 && < 5, containers, directory, mtl>2, filepath, unix, process,
                             hint>=0.5.0, show>=0.3, Cabal, extensible-exceptions, simple-reflect,
                             QuickCheck
        ghc-options:         -Wall -static

executable mueval-core
           main-is:       main.hs
           build-depends: base
           ghc-options:   -Wall -static -threaded

executable mueval
           main-is:       watchdog.hs
           build-depends: base
           ghc-options:   -Wall -static -threaded

source-repository head
  type:     git
  location: git://github.com/gwern/mueval.git