packages feed

feldspar-compiler-0.4.0.2: feldspar-compiler.cabal

name:           feldspar-compiler
version:        0.4.0.2
cabal-version:  >= 1.6
build-type:     Simple
license:        BSD3
license-file:   LICENSE
copyright:      Copyright (c) 2009-2011, ERICSSON AB
author:         Feldspar group,
                Eotvos Lorand University Faculty of Informatics
maintainer:     deva@inf.elte.hu
stability:      experimental
homepage:       http://feldspar.inf.elte.hu/feldspar/
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.12.*, GHC==7.0.2

library
  exposed-modules:
    Feldspar.Compiler.Imperative.Representation
    Feldspar.Compiler.Imperative.FromCore
    Feldspar.Compiler.Imperative.Frontend
    Feldspar.Compiler.Imperative.TransformationInstance
    Feldspar.Compiler.Imperative.Plugin.ConstantFolding
    Feldspar.Compiler.Imperative.Plugin.Unroll
    Feldspar.Compiler.Imperative.Plugin.Naming
    Feldspar.Compiler.Backend.C.CodeGeneration
    Feldspar.Compiler.Backend.C.Plugin.PrettyPrint
    Feldspar.Compiler.Backend.C.Plugin.Locator
    Feldspar.Compiler.Backend.C.Plugin.HandlePrimitives
    Feldspar.Compiler.Backend.C.Plugin.BlockProgramHandler
    Feldspar.Compiler.Backend.C.Plugin.TypeCorrector
    Feldspar.Compiler.Backend.C.Plugin.TypeDefinitionGenerator
    Feldspar.Compiler.Backend.C.Plugin.VariableRoleAssigner
    Feldspar.Compiler.Backend.C.Plugin.AllocationEliminator
    Feldspar.Compiler.Backend.C.Library
    Feldspar.Compiler.Backend.C.Options
    Feldspar.Compiler.Backend.C.Platforms
    Feldspar.Compiler.Frontend.CommandLine.API.Library
    Feldspar.Compiler.Frontend.CommandLine.API.Constants
    Feldspar.Compiler.Frontend.CommandLine.API.Options
    Feldspar.Compiler.Frontend.CommandLine.API
    Feldspar.Compiler.Compiler
    Feldspar.Compiler.Error
    Feldspar.Compiler
    Feldspar.Transformation
    Feldspar.Transformation.Framework
    Feldspar.NameExtractor

  build-depends:
    feldspar-language == 0.4.*,
    base >= 4 && < 4.4,
    containers,
    haskell-src-exts,
    directory,
    filepath,
    hint,
    MonadCatchIO-mtl,
    mtl,
    process

  extensions:
    DeriveDataTypeable
    EmptyDataDecls
    FlexibleContexts
    FlexibleInstances
    GADTs
    MultiParamTypeClasses
    PatternGuards
    Rank2Types
    ScopedTypeVariables
    StandaloneDeriving
    TypeFamilies
    TypeSynonymInstances
    UndecidableInstances

  include-dirs:
    ./Feldspar/C

  install-includes:
    feldspar_array.h
    feldspar_array.c
    feldspar_c99.h
    feldspar_c99.c
    feldspar_tic64x.h
    feldspar_tic64x.c

  ghc-options: -fcontext-stack=30

executable feldspar
  main-is : ./Feldspar/Compiler/Frontend/CommandLine/Main.hs

  build-depends:
    ansi-terminal

  extensions:
    CPP
    DeriveDataTypeable
    EmptyDataDecls
    FlexibleContexts
    FlexibleInstances
    GADTs
    MultiParamTypeClasses
    PatternGuards
    Rank2Types
    ScopedTypeVariables
    StandaloneDeriving
    TypeFamilies
    TypeSynonymInstances
    UndecidableInstances


  ghc-options: -fcontext-stack=30

  cpp-options: -DRELEASE