-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlogic-TPTP.cabal
169 lines (152 loc) · 4.75 KB
/
logic-TPTP.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
name: logic-TPTP
version: 0.6.0.0
cabal-version: >= 1.10
build-type: Simple
license: GPL
license-file: LICENSE
maintainer: Ahn, Ki Yung <[email protected]>, Daniel Schüssler <[email protected]>, Masahiro Sakai <[email protected]>
bug-reports: http://github.com/DanielSchuessler/logic-TPTP/issues
synopsis: Import, export etc. for TPTP, a syntax for first-order logic
description:
For information about the TPTP format, see <https://www.tptp.org/>.
.
Components:
.
- Parser ('parse')
.
- Exporter ('toTPTP')
.
- Pretty-printer ('pretty')
.
- QuickCheck instances (generation of random formulae)
.
- 'diff' : Get a \"formula\" which represents the differences between two given formulae (equal subexpressions are truncated; so are the subexpressions of subexpressions whose heads already differ)
.
Tests passed:
.
- For randomly generated formulae, @parse . toTPTP == id@
.
- For all files in the TPTP (v 5.2.0) distribution's @Problems@ subtree which don't match the regex \"^(thf|tff)\(\", @parse . toTPTP . parse == parse@
.
Not yet implemented: The new /thf/ and /tff/ formula types.
.
category: Codec,Math,Theorem Provers
author: Daniel Schüssler
extra-source-files: testing/compileTests.sh
changelog.markdown
tested-with: GHC==9.8.2
tested-with: GHC==9.6.6
tested-with: GHC==9.4.8
tested-with: GHC==9.2.8
tested-with: GHC==9.0.2
tested-with: GHC==8.10.7
tested-with: GHC==8.8.4
tested-with: GHC==8.6.5
source-repository head
type: git
location: http://github.com/DanielSchuessler/logic-TPTP.git
Flag BuildTestPrograms
description: build test programs
default: False
manual: True
Library
ghc-options: -Wall -O2
build-depends: base >=4.8.0.0 && < 5
, array
, syb
, containers
, prettyprinter >=1.2.1.1 && <1.8
, prettyprinter-ansi-terminal >=1.0 && <1.2
, text
, QuickCheck >= 2
, mtl
, pointed
, semigroups
, transformers >= 0.5
exposed-modules: Codec.TPTP.Import
, Codec.TPTP.Base
, Codec.TPTP
, Codec.TPTP.Pretty
, Codec.TPTP.Export
, Codec.TPTP.Diff
other-modules:
Lexer
, Parser
, ParserC
, Codec.TPTP.QuickCheck
, Util
build-tools: alex >= 3.1.1, happy >= 1.19.1
default-language: Haskell2010
Executable TestImportExportImportFile
main-is: TestImportExportImportFile.hs
other-modules: Common
, SimpleArgs
hs-source-dirs: testing
build-depends: logic-TPTP
, base
, prettyprinter
, prettyprinter-ansi-terminal
, optparse-applicative >=0.11 && <0.19
, pcre-light
, semigroups
default-language: Haskell2010
other-extensions: CPP
if !flag(BuildTestPrograms)
buildable: False
Test-suite TestImportExportRandom
type: exitcode-stdio-1.0
main-is: TestImportExportRandom.hs
other-modules: Common
hs-source-dirs: testing
build-depends: logic-TPTP
, base
, prettyprinter
, prettyprinter-ansi-terminal
, pcre-light
, QuickCheck
, semigroups
, transformers
default-language: Haskell2010
other-extensions: CPP
Executable PrettyPrintFile
main-is: PrettyPrintFile.hs
other-modules: Common
, SimpleArgs
hs-source-dirs: testing
build-depends: logic-TPTP
, prettyprinter
, prettyprinter-ansi-terminal
, base
, bytestring
, containers
, mtl
, pcre-light
, process
, QuickCheck
, semigroups
, syb
default-language: Haskell2010
other-extensions: CPP
if !flag(BuildTestPrograms)
buildable: False
Executable ParseRandom
main-is: ParseRandom.hs
other-modules: Common
, SimpleArgs
hs-source-dirs: testing
build-depends: logic-TPTP
, prettyprinter
, prettyprinter-ansi-terminal
, base
, bytestring
, containers
, mtl
, pcre-light
, process
, QuickCheck
, semigroups
, syb
default-language: Haskell2010
other-extensions: CPP
if !flag(BuildTestPrograms)
buildable: False