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
18extra-source-files: test/golden/*.qbe
19
20source-repository head
21    type: git
22    location: https://git.8pit.net/qute.git
23
24common warnings
25    ghc-options: -Wall
26
27library
28    import:           warnings
29    -- other-extensions:
30    hs-source-dirs:   src
31    default-language: GHC2021
32
33    other-modules:
34      Language.QBE.Util,
35      Language.QBE.Numbers
36
37    exposed-modules:
38      Language.QBE,
39      Language.QBE.Types,
40      Language.QBE.Parser
41
42    build-depends:
43      base,
44      parsec,
45      containers,
46      exceptions
47
48test-suite qute-syntax-test
49    import:           warnings
50    default-language: GHC2021
51    type:             exitcode-stdio-1.0
52    hs-source-dirs:   test
53    main-is:          Main.hs
54
55    other-modules:
56      Parser,
57      Golden,
58      Types
59
60    build-depends:
61        base,
62        qute-syntax,
63        parsec,
64        process,
65        filepath,
66        containers,
67        directory,
68        tasty        >=1.4.3,
69        tasty-hunit  >=0.10,
70        tasty-golden >=2.3.5,