-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathc-compiler.cabal
95 lines (89 loc) · 2.38 KB
/
c-compiler.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
94
95
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a2e4352abe943bb700a7c208275933a89124f0d319fb184c0aa06e6a1feb905b
name: c-compiler
version: 0.1.0.0
synopsis: Simple compiler from C to masm
description: Please see the README on GitHub at <https://github.com/n4mespace/c-compiler#readme>
category: Compiler
homepage: https://github.com/n4mespace/c-compiler#readme
bug-reports: https://github.com/n4mespace/c-compiler/issues
author: n4mespace
maintainer: zaxarchuk.d@gmail.com
copyright: 2020 n4mespace
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/n4mespace/c-compiler
library
exposed-modules:
Lib
Compiler.Types
Compiler.Errors
Compiler.Lexer.Parse
Compiler.Lexer.Items
Compiler.Lexer.LanguageDefinition
Compiler.Parser.Grammar
Compiler.Parser.Common
Compiler.Parser.Checkers
Compiler.Generator.MASM32
Compiler.Generator.Emiters
Compiler.Syntax.Expression
Compiler.Syntax.Statement
Compiler.Syntax.Error
other-modules:
Paths_c_compiler
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
, parsec
, pretty-simple
, containers
, transformers
, random
, split
default-language: Haskell2010
executable c-compiler
main-is: Main.hs
other-modules:
Paths_c_compiler
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs -haddock -funfolding-use-threshold=16 -fexcess-precision -optc-O3 -optc-ffast-math
build-depends:
base >=4.7 && <5
, parsec
, pretty-simple
, c-compiler
, containers
, random
, transformers
, split
default-language: Haskell2010
test-suite c-compiler-tests
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_c_compiler
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fwarn-tabs -funfolding-use-threshold=16 -fexcess-precision -optc-O3 -optc-ffast-math
build-depends:
base >=4.7 && <5
, parsec
, pretty-simple
, c-compiler
, containers
, random
, transformers
, hspec
, heredoc
default-language: Haskell2010