packages feed

x86-64bit-0.1: x86-64bit.cabal

name:                x86-64bit
version:             0.1
homepage:            https://github.com/divipp/x86-64
synopsis:            Runtime code generation for x86 64 bit machine code
description:         The primary goal of x86-64bit is to provide a lightweight assembler for machine generated 64 bit x86 assembly instructions.
    .
    Features:
	.
    * The size of operands are statically checked. For example, exchanging @rax@ with @eax@ raises a compile time error rather than a code-generation time error.
	.
    * Immediate values are automatically converted to smaller size if possible.
    .
    * De Bruijn indices are used instead of named labels
    .
    * Quickcheck tests: You can quickcheck your x86 processor!
    Please report failures, there is a higher chance that the error is this library rather than in your processor.
license:             BSD3
license-file:        LICENSE
author:              Péter Diviánszky
maintainer:          divipp@gmail.com
category:            Code Generation
build-type:          Simple
cabal-version:       >=1.10
stability:           Experimental
extra-source-files:  README.md


source-repository head
  type:     git
  location: https://github.com/divipp/x86-64

library
  exposed-modules:
    CodeGen.X86
    CodeGen.X86.Tests
  other-modules:
    CodeGen.X86.Asm
    CodeGen.X86.CodeGen
    CodeGen.X86.FFI
  other-extensions:
    NoMonomorphismRestriction
    LambdaCase
    PatternSynonyms
    ViewPatterns
    TypeSynonymInstances
    FlexibleInstances
    TypeFamilies
    GADTs
    RankNTypes
    RecordWildCards
    DeriveFunctor
    DeriveFoldable
    DeriveTraversable
    GeneralizedNewtypeDeriving
    OverloadedStrings
    TupleSections
    ExistentialQuantification
    ScopedTypeVariables

  build-depends:
    base >=4.7 && <4.10,
--    transformers >=0.5 && <0.6,
    monads-tf >=0.1 && <0.2,
    vector >=0.11 && <0.12,
    QuickCheck >=2.8 && <2.10

  default-language:    Haskell2010

executable x86-64-examples
  hs-source-dirs:   examples
  main-is:          Main.hs
  default-language: Haskell2010

  build-depends:
    x86-64bit,
    base < 4.10,
    bytestring >=0.10 && <0.11