-
Notifications
You must be signed in to change notification settings - Fork 0
/
mcc.cabal
195 lines (189 loc) · 4.81 KB
/
mcc.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack
name: mcc
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/mcc#readme>
homepage: https://github.com/gboduljak/mcc#readme
bug-reports: https://github.com/gboduljak/mcc/issues
author: Gabrijel Boduljak
maintainer: [email protected]
copyright: 2021 Gabrijel Boduljak
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/gboduljak/mcc
library
exposed-modules:
Codegen.Codegen
Codegen.Compiler
Codegen.Env
Codegen.Generators.Common
Codegen.Generators.Expression
Codegen.Generators.Function
Codegen.Generators.Globals
Codegen.Generators.Intrinsic
Codegen.Generators.Program
Codegen.Generators.Statement
Codegen.Generators.Structs
Codegen.Intrinsics.Memcpy
Codegen.Signatures.FuncSignature
Codegen.Signatures.FuncSignatureLogic
Codegen.Signatures.StructSignature
Codegen.TypeMappings
Interface.Exports
Interface.Options
Interface.OptionsParser
Lexer.AdHoc.Lexer
Lexer.AdHoc.LexError
Lexer.AdHoc.LexState
Lexer.Combinator.Lexer
Lexer.Generator.Lexer
Lexer.Lexeme
Lexer.Token
Parser.Ast
Parser.AstPrettyPrinter
Parser.AstVisualiser
Parser.Combinator.CustomCombinators.Chains
Parser.Combinator.CustomCombinators.Recover
Parser.Combinator.CustomCombinators.When
Parser.Combinator.Naive.Parser
Parser.Combinator.Predictive.Parser
Parser.Combinator.Prim
Parser.Combinator.TokenStream
Parser.Errors.Merger
Parser.Errors.PrettyPrinter
Parser.Generated.Parser
Parser.Grammar.Firsts
Parser.Grammar.Follows
Parser.Grammar.Operators
Parser.Pratt.Combinators.Chains
Parser.Pratt.Combinators.Prim
Parser.Pratt.Combinators.Recovery
Parser.Pratt.Combinators.When
Parser.Pratt.Parser
Parser.Pratt.Prim
Preprocessor.IncludesGraph
Preprocessor.IncludesPreprocessor
Preprocessor.IncludesVisualiser
Preprocessor.PreprocessError
Preprocessor.TopologicalOrder
Semant.Analysers.BuiltinsAnalyser
Semant.Analysers.CallArgAnalyser
Semant.Analysers.ExpressionsAnalyser
Semant.Analysers.FuncsAnalyser
Semant.Analysers.StatementsAnalyser
Semant.Analysers.StructsAnalyser
Semant.Ast.SemantAst
Semant.Ast.SemantAstVisualiser
Semant.Builtins
Semant.Env
Semant.Errors.SemantError
Semant.Errors.SemantErrorBundle
Semant.Exports
Semant.ProgramBundle.Bundler
Semant.Semant
Semant.SemanticAnalyser
Semant.Type
SymbolTable.Scope
SymbolTable.ScopingEnv
SymbolTable.SymbolTable
Utils.CharPredicates
Utils.Cond
other-modules:
Paths_mcc
hs-source-dirs:
src
build-depends:
array
, base >=4.7 && <5
, bytestring
, containers
, directory
, filepath
, hspec
, llvm-hs-pretty >=0.9 && <1
, llvm-hs-pure ==9.*
, megaparsec
, mtl
, optparse-applicative
, pretty-terminal
, prettyprinter >=1.7.0
, process
, string-conversions
, text
, transformers
default-language: Haskell2010
executable mcc-exe
main-is: Main.hs
other-modules:
Paths_mcc
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base >=4.7 && <5
, bytestring
, containers
, directory
, filepath
, hspec
, llvm-hs-pretty >=0.9 && <1
, llvm-hs-pure ==9.*
, mcc
, megaparsec
, mtl
, optparse-applicative
, pretty-terminal
, prettyprinter >=1.7.0
, process
, string-conversions
, text
, transformers
default-language: Haskell2010
test-suite mcc-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
CodegenSpec
LexerSpec
ParserSpec
ScopingSpec
SemanticAnalyserSpec
TestCases
Typechecker.ArraysPtrsDerefsSpec
Typechecker.LiteralExpressionsSpec
Typechecker.StatementsSpec
Typechecker.Utils.SpecUtils
Paths_mcc
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
array
, base >=4.7 && <5
, bytestring
, containers
, directory
, filepath
, hspec
, llvm-hs-pretty >=0.9 && <1
, llvm-hs-pure ==9.*
, mcc
, megaparsec
, mtl
, optparse-applicative
, pretty-terminal
, prettyprinter >=1.7.0
, process
, string-conversions
, text
, transformers
default-language: Haskell2010