packages feed

linearscan-hoopl-0.4.0.0: linearscan-hoopl.cabal

name:          linearscan-hoopl
version:       0.4.0.0
synopsis:      Makes it easy to use the linearscan register allocator with Hoopl
homepage:      http://github.com/jwiegley/linearscan-hoopl
license:       BSD3
license-file:  LICENSE
author:        John Wiegley
maintainer:    johnw@newartisans.com
category:      Development
build-type:    Simple
cabal-version: >=1.10

description:
  This module provides a convenience wrapper and a type class, 'NodeAlloc',
  which makes it much easier to use the @linearscan@ library to allocate
  registers for Hoople intermediate representations.
  .
  Additionally, it provides a DSL for construction of assembly language DSLs
  that compile into Hoople program graphs.  See the tests for a concrete
  example.

library
  default-language: Haskell2010
  exposed-modules:
    LinearScan.Hoopl
    LinearScan.Hoopl.DSL
  build-depends:    base >=4.7 && <4.8
                  , hoopl >= 3.10.0.1
                  , linearscan >= 0.3.0.1
                  , containers
                  , transformers
                  , free

test-suite test
  default-language: Haskell2010
  type:             exitcode-stdio-1.0
  ghc-options:      -Wall -Werror -fno-warn-deprecated-flags
  hs-source-dirs:   test
  main-is:          Main.hs
  other-modules:    AsmTest
                    Assembly
  build-depends: 
        base >=3
      , linearscan
      , hspec              >= 1.4.4
      , hspec-expectations >= 0.3
      , hoopl              >= 3.10.0.1
      , linearscan         >= 0.3.0.1
      , linearscan-hoopl
      , containers         >= 0.5.5
      , transformers       >= 0.3.0.0
      , lens-family-core