-
Notifications
You must be signed in to change notification settings - Fork 0
/
platinum-parsing.cabal
113 lines (109 loc) · 4.45 KB
/
platinum-parsing.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
name: platinum-parsing
version: 0.1.0.0
synopsis: General Framework for compiler development.
description: Platinum Parsing provides many tools for the development of compiler (including transpiler or interpreter), based on the well-known Dragon Book (2nd edition). This package is in progress, please take a look at the github repository for more details.
homepage: http://www.platinum-parsing.org/
license: BSD3
license-file: LICENSE
author: chlablak
maintainer: chlablak@gmail.com
copyright: 2017, Patrick Champion
category: compiler, compilation, parser, lexer, lalr, framework, cli
build-type: Simple
extra-source-files: README.md
-- tests resources
, test/res/ebnf.ebnf
, test/res/ebnf.min.ebnf
, test/res/lr-table
, test/res/lr-table.test
-- doc resources
extra-doc-files: doc/*.md
, doc/examples/*.md
, doc/maintenance/*.md
, doc/references/*.md
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: PP
, PP.Builder
, PP.Builders.Lalr
, PP.Builders.Lr1
, PP.Builders.Dfa
, PP.Builders.Nfa
, PP.Grammar
, PP.Grammars.Ebnf
, PP.Grammars.Lexical
, PP.Grammars.LexicalHelper
, PP.Lexer
, PP.Lexers.Dfa
, PP.Parser
, PP.Parsers.Lr
, PP.Rule
, PP.Template
, PP.Templates.Dfa
, PP.Templates.Lr
build-depends: base >= 4.7 && < 5
, parsec >= 3.1 && < 3.2
, text >= 1.2 && < 1.3
, containers >= 0.5 && < 0.6
, vector >= 0.11 && < 0.12
, HStringTemplate >= 0.8 && < 0.9
, fgl >= 5.5 && < 5.6
, mtl >= 2.2 && < 2.3
, binary >= 0.8 && < 0.9
default-language: Haskell2010
executable pp
hs-source-dirs: cli
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: Args
, Cmd.Ebnf
, Cmd.Lalr
, Cmd.New
, Cmd.Build
, Log
, Work
, Project
build-depends: base >= 4.7 && < 5
, platinum-parsing
, optparse-applicative >= 0.13 && < 0.14
, vector >= 0.11 && < 0.12
, containers >= 0.5 && < 0.6
, mtl >= 2.2 && < 2.3
, clock >= 0.7 && < 0.8
, fgl >= 5.5 && < 5.6
, directory >= 1.3 && < 1.4
, binary >= 0.8 && < 0.9
, data-hash >= 0.2 && < 0.3
, yaml >= 0.8 && < 0.9
, text >= 1.2 && < 1.3
default-language: Haskell2010
test-suite pp-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: PPTest.Builders.Lalr
, PPTest.Builders.Lr1
, PPTest.Builders.Dfa
, PPTest.Builders.Nfa
, PPTest.Grammars.Ebnf
, PPTest.Grammars.Lexical
, PPTest.Grammars.LexicalHelper
, PPTest.Lexers.Dfa
, PPTest.Other.LexerDfaParserLr
, PPTest.Rule
, PPTest.Parsers.Lr
, PPTest.Templates.Lr
, PPTest.Templates.Dfa
, PPTest.Template
build-depends: base >= 4.7 && < 5
, platinum-parsing
, hspec >= 2.4 && < 2.5
, containers >= 0.5 && < 0.6
, vector >= 0.11 && < 0.12
, fgl >= 5.5 && < 5.6
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/chlablak/platinum-parsing