forked from TokTok/hs-cimple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcimple.cabal
134 lines (124 loc) · 3.06 KB
/
cimple.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
name: cimple
version: 0.0.23
synopsis: Simple C-like programming language
homepage: https://toktok.github.io/
license: GPL-3
license-file: LICENSE
author: Iphigenia Df <iphydf@gmail.com>
maintainer: Iphigenia Df <iphydf@gmail.com>
copyright: Copyright (c) 2016-2024, Iphigenia Df
category: Data
stability: Experimental
cabal-version: >=1.10
build-type: Simple
description:
Parser and AST for Cimple, a simple C-like programming language.
source-repository head
type: git
location: https://github.com/TokTok/hs-cimple
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall
build-tools: alex >=0, happy >=0
exposed-modules:
Language.Cimple
Language.Cimple.Diagnostics
Language.Cimple.IO
Language.Cimple.MapAst
Language.Cimple.Pretty
Language.Cimple.Program
Language.Cimple.TraverseAst
other-modules:
Language.Cimple.Annot
Language.Cimple.Ast
Language.Cimple.CommentParser
Language.Cimple.DescribeAst
Language.Cimple.Flatten
Language.Cimple.Graph
Language.Cimple.Lexer
Language.Cimple.Parser
Language.Cimple.ParseResult
Language.Cimple.PrettyColor
Language.Cimple.SemCheck.Includes
Language.Cimple.Tokens
Language.Cimple.TranslationUnit
Language.Cimple.TreeParser
build-depends:
aeson
, array
, base <5
, bytestring
, containers
, data-fix
, file-embed
, filepath
, monad-parallel
, mtl
, prettyprinter
, prettyprinter-ansi-terminal
, split
, text
, transformers-compat
executable cimplefmt
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: cimplefmt.hs
build-depends:
base <5
, bytestring
, cimple
, text
executable dump-ast
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: dump-ast.hs
build-depends:
base <5
, cimple
, groom
executable dump-tokens
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: dump-tokens.hs
build-depends:
base <5
, bytestring
, cimple
, groom
executable include-graph
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: include-graph.hs
build-depends:
base <5
, cimple
, groom
test-suite testsuite
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: testsuite.hs
other-modules:
Language.CimpleSpec
Language.Cimple.AstSpec
Language.Cimple.DescribeAstSpec
Language.Cimple.ParserSpec
Language.Cimple.PrettySpec
ghc-options: -Wall -Wno-unused-imports
build-tool-depends: hspec-discover:hspec-discover
build-depends:
QuickCheck
, base <5
, cimple
, data-fix
, extra
, hspec
, prettyprinter
, prettyprinter-ansi-terminal
, text
, transformers-compat