packages feed

Shellac-0.9.9: Shellac.cabal

Name:           Shellac
Cabal-Version:  >= 1.22
Build-Type:     Simple
Version:        0.9.9
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://rwd.rdockins.name/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.

Library
  Hs-Source-Dirs: src
  Build-Depends:
    base == 4.*,
    mtl,
    directory

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

  Default-Language: Haskell2010
  Default-Extensions:
     MultiParamTypeClasses
     FunctionalDependencies
     ExistentialQuantification
     CPP
     ScopedTypeVariables
     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