qute

A software analysis framework built around the QBE intermediate language

git clone https://git.8pit.net/qute.git

 1cabal-version:      3.4
 2name:               qute-syntax
 3version:            0.1.0
 4synopsis:           This package provides a parser for the QBE intermediate language.
 5description:
 6  This library provides a parser for the [QBE intermediate language](https://c9x.me/compile/)
 7  and algebraic data types to represent various QBE constructs. This package is the foundation
 8  of the [Qute](https://hackage.haskell.org/package/qute) software analysis framework.
 9license:            GPL-3.0-only AND BSD-2-Clause AND MIT
10-- license-file:
11author:             Sören Tempel
12maintainer:         soeren+hackage@soeren-tempel.net
13-- copyright:
14category:           Language
15build-type:         Simple
16homepage:           https://git.8pit.net/qute
17bug-reports:        https://github.com/nmeum/qute/issues
18
19source-repository head
20    type: git
21    location: https://git.8pit.net/qute.git
22
23common warnings
24    ghc-options: -Wall
25
26library
27    import:           warnings
28    -- other-extensions:
29    hs-source-dirs:   src
30    default-language: GHC2021
31
32    other-modules:
33      Language.QBE.Util,
34      Language.QBE.Numbers
35
36    exposed-modules:
37      Language.QBE,
38      Language.QBE.Types,
39      Language.QBE.Parser
40
41    build-depends:
42      base,
43      parsec,
44      containers,
45      exceptions
46
47test-suite qute-syntax-test
48    import:           warnings
49    default-language: GHC2021
50    type:             exitcode-stdio-1.0
51    hs-source-dirs:   test
52    main-is:          Main.hs
53
54    other-modules:
55      Parser,
56      Golden,
57      Types
58
59    build-depends:
60        base,
61        qute-syntax,
62        parsec,
63        process,
64        filepath,
65        containers,
66        tasty        >=1.4.3,
67        tasty-hunit  >=0.10,
68        tasty-golden >=2.3.5,