@tuprolog/arg2p 0.17.2 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-core.js +2567 -2558
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +428 -422
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +260 -264
- package/2p-dsl-solve.js.map +1 -1
- package/2p-dsl-theory.js +161 -155
- package/2p-dsl-theory.js.map +1 -1
- package/2p-dsl-unify.js +6 -6
- package/2p-io-lib.js +936 -936
- package/2p-io-lib.js.map +1 -1
- package/2p-parser-core.js +136 -136
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1461 -1451
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +89 -94
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve.js +4712 -4965
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1460 -1460
- package/2p-unify.js +349 -349
- package/2p-utils.js +488 -489
- package/2p-utils.js.map +1 -1
- package/README.md +26 -19
- package/arg2p-causality-solver.js +569 -486
- package/arg2p-causality-solver.js.map +1 -1
- package/arg2p-core.js +13492 -5266
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +26 -551
- package/arg2p.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3337 -3145
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1530 -1530
- package/okio-parent-okio-nodefilesystem.js +52 -52
- package/okio-parent-okio.js +685 -685
- package/okio-parent-okio.js.map +1 -1
- package/package.json +1 -1
- package/2p-solve-prolog.js +0 -2856
- package/2p-solve-prolog.js.map +0 -1
package/2p-parser-theory.js
CHANGED
|
@@ -28,38 +28,38 @@
|
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.i;
|
|
31
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
31
|
+
var protoOf = kotlin_kotlin.$_$.e8;
|
|
32
32
|
var OperatorSet_init_$Create$ = kotlin_it_unibo_tuprolog_core.$_$.j1;
|
|
33
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
33
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.s7;
|
|
34
34
|
var Companion_instance = kotlin_it_unibo_tuprolog_theory.$_$.b;
|
|
35
35
|
var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_unify.$_$.a;
|
|
36
|
-
var toList = kotlin_kotlin.$_$.
|
|
37
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
36
|
+
var toList = kotlin_kotlin.$_$.la;
|
|
37
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.t7;
|
|
38
38
|
var toOperatorTable = kotlin_it_unibo_tuprolog_parser_core.$_$.i;
|
|
39
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
39
|
+
var Unit_instance = kotlin_kotlin.$_$.r;
|
|
40
40
|
var VOID = kotlin_kotlin.$_$.b;
|
|
41
|
-
var LexerOptions = kotlin_it_unibo_tuprolog_parser_impl.$_$.
|
|
42
|
-
var ParserOptions = kotlin_it_unibo_tuprolog_parser_impl.$_$.
|
|
43
|
-
var buildParserFor = kotlin_it_unibo_tuprolog_parser_impl.$_$.
|
|
44
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
45
|
-
var sequence = kotlin_kotlin.$_$.
|
|
46
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
47
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
48
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
41
|
+
var LexerOptions = kotlin_it_unibo_tuprolog_parser_impl.$_$.w;
|
|
42
|
+
var ParserOptions = kotlin_it_unibo_tuprolog_parser_impl.$_$.x;
|
|
43
|
+
var buildParserFor = kotlin_it_unibo_tuprolog_parser_impl.$_$.z;
|
|
44
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
45
|
+
var sequence = kotlin_kotlin.$_$.fa;
|
|
46
|
+
var CoroutineImpl = kotlin_kotlin.$_$.f6;
|
|
47
|
+
var THROW_CCE = kotlin_kotlin.$_$.pc;
|
|
48
|
+
var SequenceScope = kotlin_kotlin.$_$.z8;
|
|
49
49
|
var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.t;
|
|
50
50
|
var PrologTermParserVisitor = kotlin_it_unibo_tuprolog_parser_core.$_$.b;
|
|
51
51
|
var termToClause = kotlin_it_unibo_tuprolog_parser_core.$_$.g;
|
|
52
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
53
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
52
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.e6;
|
|
53
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
54
54
|
var Struct = kotlin_it_unibo_tuprolog_core.$_$.b2;
|
|
55
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
55
|
+
var isInterface = kotlin_kotlin.$_$.y7;
|
|
56
56
|
var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.h;
|
|
57
57
|
var toDefinition = kotlin_it_unibo_tuprolog_parser_core.$_$.h;
|
|
58
58
|
var ParseException = kotlin_it_unibo_tuprolog_parser_core.$_$.a;
|
|
59
|
-
var InvalidOperatorDefinitionException = kotlin_it_unibo_tuprolog_parser_impl.$_$.
|
|
60
|
-
var PrologSyntaxException = kotlin_it_unibo_tuprolog_parser_impl.$_$.
|
|
61
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
62
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
59
|
+
var InvalidOperatorDefinitionException = kotlin_it_unibo_tuprolog_parser_impl.$_$.m;
|
|
60
|
+
var PrologSyntaxException = kotlin_it_unibo_tuprolog_parser_impl.$_$.n;
|
|
61
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.u7;
|
|
62
|
+
var constructCallableReference = kotlin_kotlin.$_$.i7;
|
|
63
63
|
//endregion
|
|
64
64
|
//region block: pre-declaration
|
|
65
65
|
initMetadataForCompanion(Companion);
|
|
@@ -67,22 +67,22 @@
|
|
|
67
67
|
return Companion_instance.indexedOfSequence(unificator, this.parseClausesLazilyWithOperators(input, operators));
|
|
68
68
|
}
|
|
69
69
|
function parseTheoryWithOperatorsAndDefaultUnificator(input, operators) {
|
|
70
|
-
return this.parseTheoryWithOperators(input, operators, Companion_getInstance_0().
|
|
70
|
+
return this.parseTheoryWithOperators(input, operators, Companion_getInstance_0().b1o());
|
|
71
71
|
}
|
|
72
72
|
function parseTheory(input, unificator) {
|
|
73
|
-
return this.parseTheoryWithOperators(input, this.
|
|
73
|
+
return this.parseTheoryWithOperators(input, this.k3o(), unificator);
|
|
74
74
|
}
|
|
75
75
|
function parseTheoryWithDefaultUnificator(input) {
|
|
76
|
-
return this.parseTheory(input, Companion_getInstance_0().
|
|
76
|
+
return this.parseTheory(input, Companion_getInstance_0().b1o());
|
|
77
77
|
}
|
|
78
78
|
function parseClausesLazily(input) {
|
|
79
|
-
return this.parseClausesLazilyWithOperators(input, this.
|
|
79
|
+
return this.parseClausesLazilyWithOperators(input, this.k3o());
|
|
80
80
|
}
|
|
81
81
|
function parseClausesWithOperators(input, operators) {
|
|
82
82
|
return toList(this.parseClausesLazilyWithOperators(input, operators));
|
|
83
83
|
}
|
|
84
84
|
function parseClauses(input) {
|
|
85
|
-
return this.parseClausesWithOperators(input, this.
|
|
85
|
+
return this.parseClausesWithOperators(input, this.k3o());
|
|
86
86
|
}
|
|
87
87
|
initMetadataForInterface(ClausesParser, 'ClausesParser');
|
|
88
88
|
initMetadataForClass(ClausesParserImpl, 'ClausesParserImpl', ClausesParserImpl, VOID, [ClausesParser]);
|
|
@@ -116,10 +116,6 @@
|
|
|
116
116
|
return defaultParser;
|
|
117
117
|
}
|
|
118
118
|
var defaultParser;
|
|
119
|
-
function parseTheory_0(_this__u8e3s4, input) {
|
|
120
|
-
_init_properties_ClausesParserExtensions_kt__ht0tet();
|
|
121
|
-
return get_defaultParser().parseTheoryWithDefaultUnificator(input);
|
|
122
|
-
}
|
|
123
119
|
function parseTheoryWithOperators_0(_this__u8e3s4, input, operators) {
|
|
124
120
|
_init_properties_ClausesParserExtensions_kt__ht0tet();
|
|
125
121
|
return get_defaultParser().parseTheoryWithOperatorsAndDefaultUnificator(input, operators);
|
|
@@ -133,7 +129,7 @@
|
|
|
133
129
|
}
|
|
134
130
|
function ClausesParserImpl$parseClausesLazily$lambda($operators) {
|
|
135
131
|
return function (parser, lexedSource) {
|
|
136
|
-
var session = parser.
|
|
132
|
+
var session = parser.o3i(lexedSource, toOperatorTable($operators));
|
|
137
133
|
return parseClausesLazily_0(session);
|
|
138
134
|
};
|
|
139
135
|
}
|
|
@@ -141,68 +137,68 @@
|
|
|
141
137
|
defaultOperatorSet = defaultOperatorSet === VOID ? Companion_getInstance().DEFAULT : defaultOperatorSet;
|
|
142
138
|
lexerOptions = lexerOptions === VOID ? new LexerOptions() : lexerOptions;
|
|
143
139
|
parserOptions = parserOptions === VOID ? new ParserOptions() : parserOptions;
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
140
|
+
this.u3q_1 = defaultOperatorSet;
|
|
141
|
+
this.v3q_1 = lexerOptions;
|
|
142
|
+
this.w3q_1 = parserOptions;
|
|
147
143
|
}
|
|
148
|
-
protoOf(ClausesParserImpl).
|
|
149
|
-
return this.
|
|
144
|
+
protoOf(ClausesParserImpl).k3o = function () {
|
|
145
|
+
return this.u3q_1;
|
|
150
146
|
};
|
|
151
|
-
protoOf(ClausesParserImpl).
|
|
152
|
-
return buildParserFor(input, VOID, this.
|
|
147
|
+
protoOf(ClausesParserImpl).x3q = function (input, operators) {
|
|
148
|
+
return buildParserFor(input, VOID, this.v3q_1, this.w3q_1, ClausesParserImpl$parseClausesLazily$lambda(operators));
|
|
153
149
|
};
|
|
154
150
|
protoOf(ClausesParserImpl).parseClausesLazilyWithOperators = function (input, operators) {
|
|
155
|
-
return this.
|
|
151
|
+
return this.x3q(input, operators);
|
|
156
152
|
};
|
|
157
153
|
function parseClausesLazily_0(session) {
|
|
158
154
|
return sequence(parseClausesLazily$slambda_0(session, null));
|
|
159
155
|
}
|
|
160
156
|
function parseClausesLazily$slambda($session, resultContinuation) {
|
|
161
|
-
this.
|
|
157
|
+
this.g3r_1 = $session;
|
|
162
158
|
CoroutineImpl.call(this, resultContinuation);
|
|
163
159
|
}
|
|
164
|
-
protoOf(parseClausesLazily$slambda).
|
|
165
|
-
var tmp = this.
|
|
166
|
-
tmp.
|
|
167
|
-
tmp.
|
|
168
|
-
return tmp.
|
|
160
|
+
protoOf(parseClausesLazily$slambda).m3r = function ($this$sequence, $completion) {
|
|
161
|
+
var tmp = this.n3r($this$sequence, $completion);
|
|
162
|
+
tmp.t8_1 = Unit_instance;
|
|
163
|
+
tmp.u8_1 = null;
|
|
164
|
+
return tmp.z8();
|
|
169
165
|
};
|
|
170
|
-
protoOf(parseClausesLazily$slambda).
|
|
171
|
-
return this.
|
|
166
|
+
protoOf(parseClausesLazily$slambda).q9 = function (p1, $completion) {
|
|
167
|
+
return this.m3r(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
172
168
|
};
|
|
173
|
-
protoOf(parseClausesLazily$slambda).
|
|
174
|
-
var suspendResult = this.
|
|
169
|
+
protoOf(parseClausesLazily$slambda).z8 = function () {
|
|
170
|
+
var suspendResult = this.t8_1;
|
|
175
171
|
$sm: do
|
|
176
172
|
try {
|
|
177
|
-
var tmp = this.
|
|
173
|
+
var tmp = this.r8_1;
|
|
178
174
|
switch (tmp) {
|
|
179
175
|
case 0:
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
176
|
+
this.s8_1 = 6;
|
|
177
|
+
this.i3r_1 = 0;
|
|
178
|
+
this.s8_1 = 5;
|
|
179
|
+
this.j3r_1 = this.g3r_1.w3h();
|
|
180
|
+
this.k3r_1 = Companion_instance_0.empty();
|
|
181
|
+
this.r8_1 = 1;
|
|
186
182
|
continue $sm;
|
|
187
183
|
case 1:
|
|
188
|
-
if (!!(this.
|
|
189
|
-
this.
|
|
184
|
+
if (!!(this.j3r_1 == null)) {
|
|
185
|
+
this.r8_1 = 3;
|
|
190
186
|
continue $sm;
|
|
191
187
|
}
|
|
192
188
|
|
|
193
|
-
var visitor = new PrologTermParserVisitor(this.
|
|
194
|
-
var clause = this.
|
|
195
|
-
var $this$with = this.
|
|
196
|
-
this.
|
|
197
|
-
this.
|
|
198
|
-
suspendResult = this.
|
|
189
|
+
var visitor = new PrologTermParserVisitor(this.k3r_1);
|
|
190
|
+
var clause = this.j3r_1.q3n_1.y3j(visitor);
|
|
191
|
+
var $this$with = this.j3r_1.h3f();
|
|
192
|
+
this.l3r_1 = termToClause(clause, $this$with.e3g_1, $this$with.j().u3a_1 + 1 | 0, $this$with.j().v3a_1 + 1 | 0);
|
|
193
|
+
this.r8_1 = 2;
|
|
194
|
+
suspendResult = this.h3r_1.bf(this.l3r_1, this);
|
|
199
195
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
200
196
|
return suspendResult;
|
|
201
197
|
}
|
|
202
198
|
|
|
203
199
|
continue $sm;
|
|
204
200
|
case 2:
|
|
205
|
-
var tmp0 = this.
|
|
201
|
+
var tmp0 = this.l3r_1.wz();
|
|
206
202
|
var destination = ArrayList_init_$Create$();
|
|
207
203
|
var _iterator__ex2g4s = tmp0.n();
|
|
208
204
|
while (_iterator__ex2g4s.q()) {
|
|
@@ -219,14 +215,14 @@
|
|
|
219
215
|
while (_iterator__ex2g4s_1.q()) {
|
|
220
216
|
var operator = _iterator__ex2g4s_1.r();
|
|
221
217
|
try {
|
|
222
|
-
this.
|
|
218
|
+
this.g3r_1.q1y().r3m(toDefinition(operator));
|
|
223
219
|
} catch ($p) {
|
|
224
220
|
if ($p instanceof InvalidOperatorDefinitionException) {
|
|
225
221
|
var e = $p;
|
|
226
|
-
var it = this.
|
|
227
|
-
var tmp0_elvis_lhs = it.
|
|
228
|
-
var this_0 = new ParseException(tmp0_elvis_lhs == null ? it.
|
|
229
|
-
this_0.clauseIndex = this.
|
|
222
|
+
var it = this.g3r_1.v3h().h3f();
|
|
223
|
+
var tmp0_elvis_lhs = it.e16();
|
|
224
|
+
var this_0 = new ParseException(tmp0_elvis_lhs == null ? it.o3d() : tmp0_elvis_lhs, this.j3r_1.w3m(), this.j3r_1.q3n_1.w3j().w3a_1.u3a_1 + 1 | 0, this.j3r_1.q3n_1.w3j().w3a_1.v3a_1 + 1 | 0, e.message, e);
|
|
225
|
+
this_0.clauseIndex = this.i3r_1;
|
|
230
226
|
throw this_0;
|
|
231
227
|
} else {
|
|
232
228
|
throw $p;
|
|
@@ -235,55 +231,55 @@
|
|
|
235
231
|
}
|
|
236
232
|
}
|
|
237
233
|
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
234
|
+
this.k3r_1 = Companion_instance_0.empty();
|
|
235
|
+
this.i3r_1 = this.i3r_1 + 1 | 0;
|
|
236
|
+
this.j3r_1 = this.g3r_1.w3h();
|
|
237
|
+
this.r8_1 = 1;
|
|
242
238
|
continue $sm;
|
|
243
239
|
case 3:
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
240
|
+
this.s8_1 = 6;
|
|
241
|
+
this.r8_1 = 4;
|
|
246
242
|
continue $sm;
|
|
247
243
|
case 4:
|
|
248
|
-
this.
|
|
244
|
+
this.s8_1 = 6;
|
|
249
245
|
return Unit_instance;
|
|
250
246
|
case 5:
|
|
251
|
-
this.
|
|
252
|
-
var tmp_0 = this.
|
|
247
|
+
this.s8_1 = 6;
|
|
248
|
+
var tmp_0 = this.u8_1;
|
|
253
249
|
if (tmp_0 instanceof PrologSyntaxException) {
|
|
254
|
-
var e_0 = this.
|
|
255
|
-
var it_0 = this.
|
|
256
|
-
var tmp0_elvis_lhs_0 = it_0.
|
|
257
|
-
var this_1 = new ParseException(tmp0_elvis_lhs_0 == null ? it_0.
|
|
258
|
-
this_1.clauseIndex = this.
|
|
250
|
+
var e_0 = this.u8_1;
|
|
251
|
+
var it_0 = this.g3r_1.v3h().h3f();
|
|
252
|
+
var tmp0_elvis_lhs_0 = it_0.e16();
|
|
253
|
+
var this_1 = new ParseException(tmp0_elvis_lhs_0 == null ? it_0.o3d() : tmp0_elvis_lhs_0, e_0.x3c_1, e_0.w3c_1.w3a_1.u3a_1 + 1 | 0, e_0.w3c_1.w3a_1.v3a_1 + 1 | 0, e_0.message, e_0);
|
|
254
|
+
this_1.clauseIndex = this.i3r_1;
|
|
259
255
|
throw this_1;
|
|
260
256
|
} else {
|
|
261
|
-
throw this.
|
|
257
|
+
throw this.u8_1;
|
|
262
258
|
}
|
|
263
259
|
|
|
264
260
|
case 6:
|
|
265
|
-
throw this.
|
|
261
|
+
throw this.u8_1;
|
|
266
262
|
}
|
|
267
263
|
} catch ($p_0) {
|
|
268
264
|
var e_1 = $p_0;
|
|
269
|
-
if (this.
|
|
265
|
+
if (this.s8_1 === 6) {
|
|
270
266
|
throw e_1;
|
|
271
267
|
} else {
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
268
|
+
this.r8_1 = this.s8_1;
|
|
269
|
+
this.u8_1 = e_1;
|
|
274
270
|
}
|
|
275
271
|
}
|
|
276
272
|
while (true);
|
|
277
273
|
};
|
|
278
|
-
protoOf(parseClausesLazily$slambda).
|
|
279
|
-
var i = new parseClausesLazily$slambda(this.
|
|
280
|
-
i.
|
|
274
|
+
protoOf(parseClausesLazily$slambda).n3r = function ($this$sequence, completion) {
|
|
275
|
+
var i = new parseClausesLazily$slambda(this.g3r_1, completion);
|
|
276
|
+
i.h3r_1 = $this$sequence;
|
|
281
277
|
return i;
|
|
282
278
|
};
|
|
283
279
|
function parseClausesLazily$slambda_0($session, resultContinuation) {
|
|
284
280
|
var i = new parseClausesLazily$slambda($session, resultContinuation);
|
|
285
281
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
286
|
-
return i.
|
|
282
|
+
return i.m3r($this$sequence, $completion);
|
|
287
283
|
}, 1);
|
|
288
284
|
}
|
|
289
285
|
//region block: post-declaration
|
|
@@ -301,8 +297,7 @@
|
|
|
301
297
|
//region block: exports
|
|
302
298
|
_.$_$ = _.$_$ || {};
|
|
303
299
|
_.$_$.a = Companion_instance_1;
|
|
304
|
-
_.$_$.b =
|
|
305
|
-
_.$_$.c = parseTheoryWithOperators_0;
|
|
300
|
+
_.$_$.b = parseTheoryWithOperators_0;
|
|
306
301
|
//endregion
|
|
307
302
|
return _;
|
|
308
303
|
}));
|
package/2p-parser-theory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"../../../../../../../../2p-kt/2p-kt/parser-theory/src/commonMain/kotlin/it/unibo/tuprolog/theory/parsing/","sources":["NATIVE_IMPLEMENTATIONS.kt","ClausesParser.kt","ClausesParserExtensions.kt","ClausesParserImpl.kt","Utils.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["parseTheory","input","operators","unificator","parseClausesLazily","parseClauses","<init>","withNoOperator","withStandardOperators","withDefaultOperators","withOperators","parse","<this>","ClausesParserImpl$parseClausesLazily$lambda$lambda","session","doResume","parseClausesLazily$slambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECmDIA,kCACIC,K,EACAC,S,EACAC,UAHJH,EAIY;A,IAAkE,OAA3D,qCAAU,UAAV,EAAsB,qCAAmB,KAAnB,EAA0B,SAA1B,CAAtB,C;EAA0D,C;EAQ7EA,sDACIC,K,EACAC,SAFJF,EAGY;A,IAAiD,OAAjD,8BAAY,KAAZ,EAAmB,SAAnB,EAAyC,+BAAzC,C;EAAgD,C;EAQ5DA,qBACIC,K,EACAE,UAFJH,EAGY;A,IAAkD,OAAlD,8BAAY,KAAZ,EAAmB,UAAnB,EAAuC,UAAvC,C;EAAiD,C;EAM7DA,0CAAgBC,KAAhBD,EAAyC;A,IAAsC,OAAtC,iBAAY,KAAZ,EAA8B,+BAA9B,C;EAAqC,C;EAmB9EI,4BAAuBH,KAAvBG,EAA0D;A,IAA6C,OAA7C,qCAAmB,KAAnB,EAA0B,UAA1B,C;EAA4C,C;EAQtGC,mCACIJ,K,EACAC,SAFJG,EAGkB;A,IAA6C,OAAR,OAArC,qCAAmB,KAAnB,EAA0B,SAA1B,CAAqC,C;EAAO,C;EAM9DA,sBAAiBJ,KAAjBI,EAAgD;A,IAAuC,OAAvC,+BAAa,KAAb,EAAoB,UAApB,C;EAAsC,C;;;;;EAEtFC,mBAAAA,EAAA;A,EAAA,C;sCAIIC,UAAAA,EAAuB;A,IAAgC,OAAhC,6CAA0B,KAA1B,C;EAA+B,C;6CAKtDC,UAAAA,EAA8B;A,IAAmC,OAAnC,6CAA0B,QAA1B,C;EAAkC,C;4CAKhEC,UAAAA,EAA6B;A,IAAkC,OAAlC,6CAA0B,OAA1B,C;EAAiC,C;uCAK9DC,UAAkBR,SAAlBQ,EAA2D;A,IAA4B,OAA5B,sBAAkB,SAAlB,C;EAA2B,C;qCAKtFA,UAAkBR,SAAlBQ,EAAgD;A,IAAsC,OAAtC,qBAAc,0BAAa,SAAD,QAAZ,CAAd,C;EAAqC,C;;EDjJ7F,iCAAA,EAAA;AAAA;AAAA,GAAA;A;;EAAA,2BAAA,EAAA;AAAA;IAAA,OAAA,aAAA;AAAA,EAAA,CAAA;;
|
|
1
|
+
{"version":3,"sourceRoot":"../../../../../../../../2p-kt/2p-kt/parser-theory/src/commonMain/kotlin/it/unibo/tuprolog/theory/parsing/","sources":["NATIVE_IMPLEMENTATIONS.kt","ClausesParser.kt","ClausesParserExtensions.kt","ClausesParserImpl.kt","Utils.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["parseTheory","input","operators","unificator","parseClausesLazily","parseClauses","<init>","withNoOperator","withStandardOperators","withDefaultOperators","withOperators","parse","<this>","ClausesParserImpl$parseClausesLazily$lambda$lambda","session","doResume","parseClausesLazily$slambda$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECmDIA,kCACIC,K,EACAC,S,EACAC,UAHJH,EAIY;A,IAAkE,OAA3D,qCAAU,UAAV,EAAsB,qCAAmB,KAAnB,EAA0B,SAA1B,CAAtB,C;EAA0D,C;EAQ7EA,sDACIC,K,EACAC,SAFJF,EAGY;A,IAAiD,OAAjD,8BAAY,KAAZ,EAAmB,SAAnB,EAAyC,+BAAzC,C;EAAgD,C;EAQ5DA,qBACIC,K,EACAE,UAFJH,EAGY;A,IAAkD,OAAlD,8BAAY,KAAZ,EAAmB,UAAnB,EAAuC,UAAvC,C;EAAiD,C;EAM7DA,0CAAgBC,KAAhBD,EAAyC;A,IAAsC,OAAtC,iBAAY,KAAZ,EAA8B,+BAA9B,C;EAAqC,C;EAmB9EI,4BAAuBH,KAAvBG,EAA0D;A,IAA6C,OAA7C,qCAAmB,KAAnB,EAA0B,UAA1B,C;EAA4C,C;EAQtGC,mCACIJ,K,EACAC,SAFJG,EAGkB;A,IAA6C,OAAR,OAArC,qCAAmB,KAAnB,EAA0B,SAA1B,CAAqC,C;EAAO,C;EAM9DA,sBAAiBJ,KAAjBI,EAAgD;A,IAAuC,OAAvC,+BAAa,KAAb,EAAoB,UAApB,C;EAAsC,C;;;;;EAEtFC,mBAAAA,EAAA;A,EAAA,C;sCAIIC,UAAAA,EAAuB;A,IAAgC,OAAhC,6CAA0B,KAA1B,C;EAA+B,C;6CAKtDC,UAAAA,EAA8B;A,IAAmC,OAAnC,6CAA0B,QAA1B,C;EAAkC,C;4CAKhEC,UAAAA,EAA6B;A,IAAkC,OAAlC,6CAA0B,OAA1B,C;EAAiC,C;uCAK9DC,UAAkBR,SAAlBQ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