quebex

A software analysis framework built around the QBE intermediate language

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

 1cabal-version:      3.4
 2name:               quebex-syntax
 3version:            0.1.0.0
 4-- synopsis:
 5-- description:
 6license:            GPL-3.0-only AND BSD-2-Clause AND MIT
 7-- license-file:
 8author:             Sören Tempel
 9maintainer:         soeren+git@soeren-tempel.net
10-- copyright:
11category:           Language
12build-type:         Simple
13-- extra-doc-files:
14-- extra-source-files:
15
16common warnings
17    ghc-options: -Wall
18
19library
20    import:           warnings
21    -- other-extensions:
22    hs-source-dirs:   src
23    default-language: GHC2021
24
25    other-modules:
26      Language.QBE.Util
27
28    exposed-modules:
29      Language.QBE,
30      Language.QBE.Types,
31      Language.QBE.Parser,
32      Language.QBE.Numbers
33
34    build-depends:
35      base,
36      parsec,
37      containers
38
39test-suite quebex-syntax-test
40    import:           warnings
41    default-language: Haskell2010
42    type:             exitcode-stdio-1.0
43    hs-source-dirs:   test
44    main-is:          Main.hs
45
46    other-modules:
47      Parser,
48      Golden
49
50    build-depends:
51        base,
52        quebex-syntax,
53        parsec,
54        process,
55        filepath,
56        containers,
57        tasty        >=1.4.3,
58        tasty-hunit  >=0.10,
59        tasty-golden >=2.3.5,