packages feed

feldspar-compiler-0.1: feldspar-compiler.cabal

name:           feldspar-compiler
version:        0.1
cabal-version:  >= 1.2
build-type:     Simple
license:        BSD3
license-file:   LICENSE
copyright:      Copyright (c) 2009, ERICSSON AB
author:         Feldspar group,
                Eotvos Lorand University Faculty of Informatics
maintainer:     deva@inf.elte.hu
stability:      experimental
homepage:       http://feldspar.sourceforge.net/
synopsis:       Compiler for the Feldspar language
description:    Feldspar (**F**unctional **E**mbedded **L**anguage for **DSP**
                and **PAR**allelism) is an embedded DSL for describing digital
                signal processing algorithms.
                This library (FeldsparCompiler) contains a prototype compiler
                that supports C code generation from programs written in this
                language both according to ANSI C and also targeted to a real
                DSP HW.
category:       Compiler
tested-with:    GHC==6.10.4

library
  exposed-modules:
    Feldspar.Compiler.Imperative.Representation
    Feldspar.Compiler.Optimization.PrimitiveInstructions
    Feldspar.Compiler.Optimization.Replace
    Feldspar.Compiler.Optimization.Simplification
    Feldspar.Compiler.Optimization.Unroll
    Feldspar.Compiler.Precompiler.Precompiler
    Feldspar.Compiler.Transformation.GraphToImperative
    Feldspar.Compiler.Transformation.GraphUtils
    Feldspar.Compiler.Transformation.Lifting
    Feldspar.Compiler.Compiler
    Feldspar.Compiler.Options
    Feldspar.Compiler
    Feldspar.Fs2dot

  build-depends:
    feldspar-language, base >= 3 && < 4, containers, directory, filepath,
    haskell-src-exts, hint, mtl, process

  extensions:
    FlexibleInstances
    TypeSynonymInstances
    NoMonomorphismRestriction

  include-dirs:
    ./Feldspar/C

  install-includes:
    feldspar.h
    feldspar.c

executable feldspar
  main-is : ./Feldspar/Compiler/CompilerMain.hs

  extensions:
    CPP
    FlexibleInstances
    TypeSynonymInstances
    NoMonomorphismRestriction

  cpp-options: -DRELEASE