5c253c6cb21b9565fe492c235f631155c7d6edb8
[harpy.git] / harpy.cabal
1 Cabal-version:  >=1.2
2 Build-type: Simple
3 Name:           harpy
4 Version:        0.4.3.0
5 License:        GPL
6 License-file:   COPYING
7 Author:         Dirk Kleeblatt <klee@cs.tu-berlin.de>
8                 Martin Grabmueller <martin.grabmueller@eleven.de>
9 Maintainer:     klee@cs.tu-berlin.de, martin.grabmueller@eleven.de
10 Homepage:       http://uebb.cs.tu-berlin.de/harpy/
11 Category:       Code Generation
12 Synopsis:       Runtime code generation for x86 machine code
13 Description:    The package contains the following components:
14         .
15         * An x86 assembler.  We provide both low-level code generation in
16           module "Harpy.X86CodeGen" as well as a (slightly) higher-level
17           implementation in module "Harpy.X86Assembler", which figures out
18           addressing modes based on an instruction's operand types.
19         .
20         * An x86 disassembler which knows most of the opcodes available on
21           modern x86 processors and can display its output both in the style
22           used in Intel documents an in AT&T style, like the GNU tools. The
23           disassembler can be found in module "Harpy.X86Disassembler".  The
24           disassembler is re-exported from the disassembler package for
25           compatibility with earlier Harpy releases.
26         .
27         * Some abstractions over the abovementioned code generation modules,
28           such as automatic label management and code generation
29           combinators (for if-then-else statements, while-loops, functions)
30           (module "Harpy.X86CGCombinators").
31         .
32         * All the above modules use the code generation monad defined in module
33           "Harpy.CodeGenMonad".
34         .
35         * The Darcs repo and two tutorials on using Harpy can be found at
36           Harpy's homepage: <http://uebb.cs.tu-berlin.de/harpy/>
37 Stability:      Experimental
38
39 Extra-source-files: 
40     NEWS README Makefile
41     doc/Makefile doc/tutorial.lhs doc/larger-tutorial.lhs
42     examples/evaluator/ArithTypes.hs examples/evaluator/ArithParser.hs
43     examples/evaluator/Evaluator.hs
44
45 Library
46   Build-depends:
47     base >= 4 && < 5,
48     parsec >= 1 && < 3,
49     mtl >= 1 && < 2,
50     template-haskell >= 2 && < 3,
51     pretty >= 1 && < 2,
52     containers >= 0.3 && < 1,
53     array >= 0.3 && < 1,
54     disassembler >= 0.1.0.1
55   Exposed-Modules:
56     Harpy,
57     Harpy.X86CodeGen,
58     Harpy.X86Assembler,
59     Harpy.CodeGenMonad,
60     Harpy.Call,
61     Harpy.X86Disassembler,
62     Harpy.X86CGCombinators
63   Extensions: 
64     ForeignFunctionInterface, MultiParamTypeClasses, 
65     TemplateHaskell, CPP, FlexibleContexts, FlexibleInstances,
66     RankNTypes
67