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.Uses,
41      Language.QBE.Parser
42
43    build-depends:
44      base,
45      parsec,
46      containers,
47      exceptions
48
49test-suite qute-syntax-test
50    import:           warnings
51    default-language: GHC2021
52    type:             exitcode-stdio-1.0
53    hs-source-dirs:   test
54    main-is:          Main.hs
55
56    other-modules:
57      Parser,
58      Golden,
59      Types
60
61    build-depends:
62        base,
63        qute-syntax,
64        parsec,
65        process,
66        filepath,
67        containers,
68        directory,
69        tasty        >=1.4.3,
70        tasty-hunit  >=0.10,
71        tasty-golden >=2.3.5,