ebd4b2e2b1
Not that useful and we avoid a direct dep
72 lines
2.3 KiB
Plaintext
72 lines
2.3 KiB
Plaintext
cabal-version: 3.0
|
|
name: qbe
|
|
-- First component matches the QBE major version
|
|
version: 1.1.0.0
|
|
synopsis: Types and prettyprinter for the IL of the QBE compiler backend
|
|
description:
|
|
This library provides types representing the intermediate language of the QBE
|
|
compiler backend.
|
|
It also provides pretty-printing instances based on
|
|
the [@prettyprinter@](https://hackage.haskell.org/package/prettyprinter)
|
|
library, that emit the textual representation of the IL.
|
|
homepage: https://sr.ht/~fgaz/qbe-hs
|
|
bug-reports: https://todo.sr.ht/~fgaz/qbe-hs
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Francesco Gazzetta
|
|
maintainer: Francesco Gazzetta <fgaz@fgaz.me>
|
|
copyright: 2022 Francesco Gazzetta
|
|
category: Language
|
|
build-type: Simple
|
|
extra-doc-files: CHANGELOG.md
|
|
extra-source-files: golden/*.qbe
|
|
tested-with:
|
|
, GHC == 9.2.2
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://git.sr.ht/~fgaz/qbe-hs
|
|
|
|
common common
|
|
ghc-options: -Wall
|
|
-Wunused-packages
|
|
-Wmissing-home-modules
|
|
-Wredundant-constraints
|
|
-Wincomplete-uni-patterns
|
|
-Wincomplete-record-updates
|
|
default-language: Haskell2010
|
|
|
|
library
|
|
import: common
|
|
exposed-modules: Language.QBE
|
|
-- other-modules:
|
|
other-extensions: DataKinds
|
|
KindSignatures
|
|
GeneralizedNewtypeDeriving
|
|
FlexibleInstances
|
|
OverloadedStrings
|
|
build-depends: base ^>=4.16.1.0
|
|
, text
|
|
, text-short
|
|
, bytestring
|
|
, hashable
|
|
, deepseq
|
|
, prettyprinter
|
|
hs-source-dirs: src
|
|
|
|
test-suite golden
|
|
import: common
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Main.hs
|
|
build-depends: base
|
|
, qbe
|
|
, filepath
|
|
, tasty
|
|
, tasty-silver
|
|
, prettyprinter
|
|
other-extensions: TypeApplications
|
|
OverloadedStrings
|
|
DataKinds
|
|
ExistentialQuantification
|