packages feed

libcspm-0.2.1: libcspm.cabal

Name: libcspm
License: BSD3
License-File: LICENSE.txt
Copyright: (c) 2011 Thomas Gibson-Robinson
Author: Thomas Gibson-Robinson <thomas.gibsonrobinson@gmail.com>
Maintainer: Thomas Gibson-Robinson <thomas.gibsonrobinson@gmail.com>
Bug-reports: https://github.com/tomgr/libcspm/issues
Homepage: https://github.com/tomgr/libcspm
Category: Concurrency
Build-type: Simple
Cabal-version: >=1.9.2
Synopsis: A library providing a parser, type checker and evaluator for CSPM.
Description:
    This library provides a parser, type checker and evaluator for machine CSP.
    The parser is designed to be compatible with FDR2 and, in particular, deals
    with the ambiguity between greater than and end of sequence in the same way
    (as far as possible, see "CSPM.Parser" for more information). The 
    typechecker is as liberal as it is possible to make a typechecker without
    making typechecking undecidable. Documentation on the type system is
    forthcoming. The evaluator is relatively experimental, but should be able
    to evaluate any CSPM expression that FDR2 can. The output of this phase
    (if a process is evaluated) is a tree of CSP (note not CSPM) operator 
    applications which should be suitable for input into a refinement checker, 
    or other process algebraic tool.
    .
    The main module of interest will be the "CSPM" module. This packages up 
    most of the functionality of the library in an easy to use, relatively
    high level format. See "CSPM" for an example of how to use this module.
    .
    Version Numbering Policy: point releases (i.e. from @x.y.z@ to @x.y.z'@)
    are guaranteed to be backwards compatible. Minor releases (i.e. 
    from @x.y.z@ to @x.y'.z'@) will not be backwards compatible, but should be
    relatively easy to port to. Major changes (i.e. from @x.y.z@ to @x'.y'.z'@)
    will not be backwards compatible and may include large API redesigns.
Version: 0.2.1
Extra-source-files: 
    README.md,
    CHANGELOG.txt

Source-Repository head
    type:     git
    location: https://github.com/tomgr/libcspm
  
Source-repository this
    type:     git
    location: https://github.com/tomgr/libcspm
    tag: release-0.2.1

Library
    Build-Depends:
        base >= 4 && < 5,
        bytestring >= 0.9,
        filepath >= 1.2, 
        array >= 0.3, 
        containers >= 0.4, 
        mtl >= 2.0, 
        pretty >= 1.0,
        directory >= 1.0,
        graph-wrapper >= 0.2,
        value-supply >= 0.6

    Exposed-Modules:
        CSPM,
        CSPM.Compiler.Events,
        CSPM.Compiler.Map,
        CSPM.Compiler.Processes,
        CSPM.Compiler.Set,
        CSPM.DataStructures.Literals,
        CSPM.DataStructures.Names,
        CSPM.DataStructures.Syntax,
        CSPM.DataStructures.Tokens,
        CSPM.DataStructures.Types,
        CSPM.Desugar,
        CSPM.Evaluator,
        CSPM.Evaluator.BuiltInFunctions,
        CSPM.Evaluator.DeclBind,
        CSPM.Evaluator.Environment,
        CSPM.Evaluator.Exceptions,
        CSPM.Evaluator.Expr,
        CSPM.Evaluator.Module,
        CSPM.Evaluator.Monad,
        CSPM.Evaluator.PatBind,
        CSPM.Evaluator.Values,
        CSPM.Evaluator.ValueSet
        CSPM.Parser,
        CSPM.Parser.Exceptions,
        CSPM.Parser.Lexer,
        CSPM.Parser.Monad,
        CSPM.Parser.Parser,
        CSPM.PrettyPrinter,
        CSPM.Prelude,
        CSPM.Renamer,
        CSPM.TypeChecker,
        CSPM.TypeChecker.BuiltInFunctions,
        CSPM.TypeChecker.Common,
        CSPM.TypeChecker.Compressor,
        CSPM.TypeChecker.Decl,
        CSPM.TypeChecker.Dependencies,
        CSPM.TypeChecker.Environment,
        CSPM.TypeChecker.Exceptions,
        CSPM.TypeChecker.Expr,
        CSPM.TypeChecker.InteractiveStmt,
        CSPM.TypeChecker.Module,
        CSPM.TypeChecker.Monad,
        CSPM.TypeChecker.Pat,
        CSPM.TypeChecker.Unification,
        Util.Annotated,
        Util.Exception,
        Util.HierarchicalMap,
        Util.List,
        Util.Monad,
        Util.PartialFunctions,
        Util.Prelude,
        Util.PrettyPrint
    
    Other-Modules:
        Paths_libcspm
    
    Hs-Source-Dirs: src
    
    Extensions: DoAndIfThenElse

Test-Suite unit-tests
    Type: exitcode-stdio-1.0
    Main-is: Main.hs

    Extensions: DoAndIfThenElse
    
    Hs-Source-Dirs: tests
    
    Build-depends: 
        base,
        libcspm,
        filepath >= 1.2, 
        mtl >= 2.0,
        directory >= 1.0