-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcamle-parser.cabal
93 lines (86 loc) · 2.88 KB
/
camle-parser.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
-- Initial camle-parser.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: camle-compiler
version: 0.0.1
synopsis: A parser for a language similar to While in "Semantics with Applications" by Nielson.
-- description:
homepage: willprice.org/camle-compiler
license: GPL-3
license-file: LICENSE
author: Will Price
maintainer: will.price94@gmail.com
-- copyright:
category: Development
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
Library
ghc-options: -Wall
exposed-modules: Language.Camle.Data.AbstractSyntaxTree,
Language.Camle.Print.AbstractSyntaxTree,
Language.Camle.Lexer,
Language.Camle.Parser,
Language.Camle.AstToIr,
Language.Camle.JouetteBackend
build-depends: base,
syb,
containers,
mtl,
uniplate,
pretty,
parsec
hs-source-dirs: src
default-language: Haskell2010
Executable compiler
ghc-options: -W
build-depends: base,
camle-compiler,
syb,
containers,
mtl,
uniplate,
pretty,
parsec,
cmdlib
hs-source-dirs: src
main-is: CompilerMain.hs
default-language: Haskell2010
Executable parser
ghc-options: -W
build-depends: base,
camle-compiler,
containers,
syb,
text-format-simple,
mtl,
uniplate,
pretty,
parsec
hs-source-dirs: src
main-is: ParserMain.hs
default-language: Haskell2010
Executable ir
ghc-options: -W
build-depends: base,
containers,
camle-compiler,
syb,
text-format-simple,
mtl,
uniplate,
pretty,
parsec
hs-source-dirs: src
main-is: IRMain.hs
default-language: Haskell2010
-- Test-Suite test
-- default-language: Haskell2010
-- type: exitcode-stdio-1.0
-- hs-source-dirs: tests
-- main-is: Tests.hs
-- build-depends: base,
-- camle-compiler,
-- tasty >= 0.7,
-- tasty-hspec,
-- hspec,
-- parsec