File: Shellac.cabal

package info (click to toggle)
haskell-shellac 0.9.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 140 kB
  • sloc: haskell: 1,128; makefile: 2
file content (65 lines) | stat: -rw-r--r-- 1,954 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Name:           Shellac
Cabal-Version:  >= 1.2.3
Build-Type:     Simple
Version:        0.9.5.1
License:        BSD3
License-File:   LICENSE
Author:         Robert Dockins
Maintainer:     robdockins AT fastmail DOT fm
Category:       User Interfaces
Stability:      Beta
Synopsis:       A framework for creating shell envinronments
Homepage:       http://www.cs.princeton.edu/~rdockins/shellac/home/
Description:
  Shellac is a framework for building read-eval-print style shells.
  Shells are created by declaratively defining a set of shell commands
  and an evaluation function.  Shellac supports multiple shell backends,
  including a 'basic' backend which uses only Haskell IO primitives and
  a full featured 'readline' backend based on the the Haskell readline
  bindings found in the standard libraries.
  This library attempts to allow users to write shells at a high level
  and still enjoy the advanced features that may be available from a
  powerful line editing package like readline.

flag base4

Library
  Hs-Source-Dirs: src
  Build-Depends: base < 5, mtl, directory

  if flag(base4)
     Build-Depends: base >= 4
     CPP-Options: -DBASE4
  else
     Build-Depends: base < 4

  if impl(ghc >= 6.8) && impl(ghc < 6.10)
     Extensions: PatternSignatures

  if os(windows)
     CPP-Options: -DBUILD_WINDOWS
  else
     Build-Depends: unix

  Extensions:
     MultiParamTypeClasses
     FunctionalDependencies
     ExistentialQuantification
     CPP
     UndecidableInstances
     GeneralizedNewtypeDeriving
     FlexibleInstances
     ScopedTypeVariables

  Exposed-modules:
     System.Console.Shell
     System.Console.Shell.Backend
     System.Console.Shell.Backend.Basic
     System.Console.Shell.ShellMonad
  Other-modules:
     System.Console.Shell.Regex
     System.Console.Shell.PPrint
     System.Console.Shell.Types
     System.Console.Shell.RunShell
     System.Console.Shell.Commands
     System.Console.Shell.ConsoleHandler