@tuprolog/arg2p 0.16.5 → 0.16.7

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-dsl-core.js CHANGED
@@ -21,18 +21,18 @@
21
21
  }(function (_, kotlin_kotlin, kotlin_it_unibo_tuprolog_core, kotlin_it_unibo_tuprolog_utils, kotlin_io_github_gciatto_kt_math) {
22
22
  'use strict';
23
23
  //region block: imports
24
- var THROW_CCE = kotlin_kotlin.$_$.ec;
24
+ var THROW_CCE = kotlin_kotlin.$_$.gc;
25
25
  var Unit_instance = kotlin_kotlin.$_$.q;
26
- var constructCallableReference = kotlin_kotlin.$_$.v6;
26
+ var constructCallableReference = kotlin_kotlin.$_$.w6;
27
27
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
28
- var protoOf = kotlin_kotlin.$_$.r7;
29
- var toString = kotlin_kotlin.$_$.u7;
28
+ var protoOf = kotlin_kotlin.$_$.s7;
29
+ var toString = kotlin_kotlin.$_$.v7;
30
30
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.i1;
31
31
  var Term = kotlin_it_unibo_tuprolog_core.$_$.a3;
32
- var isInterface = kotlin_kotlin.$_$.l7;
32
+ var isInterface = kotlin_kotlin.$_$.m7;
33
33
  var TermConvertible = kotlin_it_unibo_tuprolog_core.$_$.d2;
34
- var getKClassFromExpression = kotlin_kotlin.$_$.j8;
35
- var getKClass = kotlin_kotlin.$_$.k8;
34
+ var getKClassFromExpression = kotlin_kotlin.$_$.k8;
35
+ var getKClass = kotlin_kotlin.$_$.l8;
36
36
  var toString_0 = kotlin_kotlin.$_$.h;
37
37
  var Companion_getInstance = kotlin_it_unibo_tuprolog_core.$_$.b1;
38
38
  var asIterable = kotlin_kotlin.$_$.i2;
@@ -40,28 +40,28 @@
40
40
  var collectionSizeOrDefault = kotlin_kotlin.$_$.q2;
41
41
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.s;
42
42
  var assertItemsAreNotNull_0 = kotlin_it_unibo_tuprolog_utils.$_$.r;
43
- var map = kotlin_kotlin.$_$.l9;
43
+ var map = kotlin_kotlin.$_$.m9;
44
44
  var assertItemsAreNotNull_1 = kotlin_it_unibo_tuprolog_utils.$_$.t;
45
- var Char = kotlin_kotlin.$_$.rb;
45
+ var Char = kotlin_kotlin.$_$.tb;
46
46
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.m;
47
47
  var BigInteger = kotlin_io_github_gciatto_kt_math.$_$.g;
48
48
  var BigDecimal = kotlin_io_github_gciatto_kt_math.$_$.f;
49
- var Sequence = kotlin_kotlin.$_$.o8;
49
+ var Sequence = kotlin_kotlin.$_$.p8;
50
50
  var Iterable = kotlin_kotlin.$_$.y1;
51
51
  var KtList = kotlin_kotlin.$_$.a2;
52
52
  var KtSet = kotlin_kotlin.$_$.d2;
53
- var Pair = kotlin_kotlin.$_$.cc;
54
- var Triple = kotlin_kotlin.$_$.gc;
53
+ var Pair = kotlin_kotlin.$_$.ec;
54
+ var Triple = kotlin_kotlin.$_$.ic;
55
55
  var Entry = kotlin_kotlin.$_$.b2;
56
56
  var KtMap = kotlin_kotlin.$_$.c2;
57
- var initMetadataForClass = kotlin_kotlin.$_$.e7;
57
+ var initMetadataForClass = kotlin_kotlin.$_$.f7;
58
58
  var VOID = kotlin_kotlin.$_$.b;
59
59
  var Struct = kotlin_it_unibo_tuprolog_core.$_$.b2;
60
60
  var Scope = kotlin_it_unibo_tuprolog_core.$_$.a2;
61
- var initMetadataForInterface = kotlin_kotlin.$_$.g7;
61
+ var initMetadataForInterface = kotlin_kotlin.$_$.h7;
62
62
  var Companion_instance = kotlin_it_unibo_tuprolog_core.$_$.t;
63
63
  var Companion_instance_0 = kotlin_it_unibo_tuprolog_core.$_$.c1;
64
- var initMetadataForCompanion = kotlin_kotlin.$_$.f7;
64
+ var initMetadataForCompanion = kotlin_kotlin.$_$.g7;
65
65
  var logicListFromFrom = kotlin_it_unibo_tuprolog_core.$_$.g1;
66
66
  var logicListFromIterable = kotlin_it_unibo_tuprolog_core.$_$.e1;
67
67
  var logicListFromSequence = kotlin_it_unibo_tuprolog_core.$_$.f1;
@@ -71,7 +71,7 @@
71
71
  var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_core.$_$.v;
72
72
  var Var = kotlin_it_unibo_tuprolog_core.$_$.d3;
73
73
  var arrayConcat = kotlin_kotlin.$_$.a;
74
- var sequenceOf = kotlin_kotlin.$_$.r9;
74
+ var sequenceOf = kotlin_kotlin.$_$.s9;
75
75
  var copyToArray = kotlin_kotlin.$_$.a3;
76
76
  var listOf = kotlin_kotlin.$_$.x3;
77
77
  var Rule = kotlin_it_unibo_tuprolog_core.$_$.z1;
@@ -105,193 +105,6 @@
105
105
  }
106
106
  initMetadataForInterface(BaseLogicProgrammingScope, 'BaseLogicProgrammingScope', VOID, VOID, [Scope]);
107
107
  initMetadataForCompanion(Companion);
108
- function at_end_of_stream1(alias) {
109
- return this.structOf('at_end_of_stream', [this.convertToTerm(alias)]);
110
- }
111
- function call1(goal) {
112
- return this.structOf('call', [this.convertToTerm(goal)]);
113
- }
114
- function catch3(goal, error, continuation) {
115
- return this.structOf('catch', [this.convertToTerm(goal), this.convertToTerm(error), this.convertToTerm(continuation)]);
116
- }
117
- function throw1(error) {
118
- return this.structOf('throw', [this.convertToTerm(error)]);
119
- }
120
- function not1(goal) {
121
- return this.structOf('not', [this.convertToTerm(goal)]);
122
- }
123
- function naf1(goal) {
124
- return this.structOf('\\+', [this.convertToTerm(goal)]);
125
- }
126
- function assert1(clause) {
127
- return this.structOf('assert', [this.convertToTerm(clause)]);
128
- }
129
- function asserta1(clause) {
130
- return this.structOf('asserta', [this.convertToTerm(clause)]);
131
- }
132
- function assertz1(clause) {
133
- return this.structOf('assertz', [this.convertToTerm(clause)]);
134
- }
135
- function arg3(index, compound, argument) {
136
- return this.structOf('arg', [this.convertToTerm(index), this.convertToTerm(compound), this.convertToTerm(argument)]);
137
- }
138
- function atom1(atom) {
139
- return this.structOf('atom', [this.convertToTerm(atom)]);
140
- }
141
- function atomic1(atomic) {
142
- return this.structOf('atomic', [this.convertToTerm(atomic)]);
143
- }
144
- function between3(min, max, number) {
145
- return this.structOf('between', [this.convertToTerm(min), this.convertToTerm(max), this.convertToTerm(number)]);
146
- }
147
- function callable1(goal) {
148
- return this.structOf('callable', [this.convertToTerm(goal)]);
149
- }
150
- function compound1(struct) {
151
- return this.structOf('compound', [this.convertToTerm(struct)]);
152
- }
153
- function current_op3(precedence, specifier, functor) {
154
- return this.structOf('current_op', [this.convertToTerm(precedence), this.convertToTerm(specifier), this.convertToTerm(functor)]);
155
- }
156
- function op3(precedence, specifier, functor) {
157
- return this.structOf('op', [this.convertToTerm(precedence), this.convertToTerm(specifier), this.convertToTerm(functor)]);
158
- }
159
- function findall3(template, goal, bag) {
160
- return this.structOf('findall', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
161
- }
162
- function float1(number) {
163
- return this.structOf('float', [this.convertToTerm(number)]);
164
- }
165
- function functor3(struct, functor, arity) {
166
- return this.structOf('functor', [this.convertToTerm(struct), this.convertToTerm(functor), this.convertToTerm(arity)]);
167
- }
168
- function ground1(term) {
169
- return this.structOf('ground', [this.convertToTerm(term)]);
170
- }
171
- function integer1(number) {
172
- return this.structOf('integer', [this.convertToTerm(number)]);
173
- }
174
- function natural(number) {
175
- return this.structOf('natural', [this.convertToTerm(number)]);
176
- }
177
- function nonvar1(number) {
178
- return this.structOf('nonvar', [this.convertToTerm(number)]);
179
- }
180
- function number1(number) {
181
- return this.structOf('number', [this.convertToTerm(number)]);
182
- }
183
- function var1(term) {
184
- return this.structOf('var', [this.convertToTerm(term)]);
185
- }
186
- function write1(term) {
187
- return this.structOf('write', [this.convertToTerm(term)]);
188
- }
189
- function univ2(_this__u8e3s4, other) {
190
- return this.structOf('=..', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
191
- }
192
- function eq2(_this__u8e3s4, right) {
193
- return this.structOf('=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
194
- }
195
- function neq2(_this__u8e3s4, right) {
196
- return this.structOf('\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
197
- }
198
- function id2(_this__u8e3s4, right) {
199
- return this.structOf('==', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
200
- }
201
- function nid2(_this__u8e3s4, right) {
202
- return this.structOf('\\==', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
203
- }
204
- function arithEq2(_this__u8e3s4, right) {
205
- return this.structOf('=:=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
206
- }
207
- function arithNeq2(_this__u8e3s4, right) {
208
- return this.structOf('=\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
209
- }
210
- function member2(item, list) {
211
- return this.structOf('member', [this.convertToTerm(item), this.convertToTerm(list)]);
212
- }
213
- function retract1(clause) {
214
- return this.structOf('retract', [this.convertToTerm(clause)]);
215
- }
216
- function append3(left, right, result) {
217
- return this.structOf('append', [this.convertToTerm(left), this.convertToTerm(right), this.convertToTerm(result)]);
218
- }
219
- function retractall1(clause) {
220
- return this.structOf('retractall', [this.convertToTerm(clause)]);
221
- }
222
- function abolish1(indicator) {
223
- return this.structOf('abolish', [this.convertToTerm(indicator)]);
224
- }
225
- function atom_chars2(atom, chars) {
226
- return this.structOf('atom_chars', [this.convertToTerm(atom), this.convertToTerm(chars)]);
227
- }
228
- function atom_codes2(atom, codes) {
229
- return this.structOf('atom_codes', [this.convertToTerm(atom), this.convertToTerm(codes)]);
230
- }
231
- function atom_concat3(first, second, result) {
232
- return this.structOf('atom_concat', [this.convertToTerm(first), this.convertToTerm(second), this.convertToTerm(result)]);
233
- }
234
- function atom_length2(atom, length) {
235
- return this.structOf('atom_length', [this.convertToTerm(atom), this.convertToTerm(length)]);
236
- }
237
- function char_code2(char, code) {
238
- return this.structOf('char_code', [this.convertToTerm(char), this.convertToTerm(code)]);
239
- }
240
- function clause2(head, body) {
241
- return this.structOf('clause', [this.convertToTerm(head), this.convertToTerm(body)]);
242
- }
243
- function copy_term2(term, copy) {
244
- return this.structOf('copy_term', [this.convertToTerm(term), this.convertToTerm(copy)]);
245
- }
246
- function current_flag2(name, value) {
247
- return this.structOf('current_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
248
- }
249
- function current_prolog_flag2(name, value) {
250
- return this.structOf('current_prolog_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
251
- }
252
- function sub_atom5(atom, before, length, after, sub_atom) {
253
- return this.structOf('sub_atom', [this.convertToTerm(atom), this.convertToTerm(before), this.convertToTerm(length), this.convertToTerm(after), this.convertToTerm(sub_atom)]);
254
- }
255
- function number_chars2(first, second) {
256
- return this.structOf('number_chars', [this.convertToTerm(first), this.convertToTerm(second)]);
257
- }
258
- function number_codes2(first, second) {
259
- return this.structOf('number_codes', [this.convertToTerm(first), this.convertToTerm(second)]);
260
- }
261
- function bagof3(template, goal, bag) {
262
- return this.structOf('bagof', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
263
- }
264
- function setof3(template, goal, bag) {
265
- return this.structOf('setof', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
266
- }
267
- function consult1(url) {
268
- return this.structOf('consult', [this.convertToTerm(url)]);
269
- }
270
- function set_flag2(name, value) {
271
- return this.structOf('set_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
272
- }
273
- function set_prolog_flag2(name, value) {
274
- return this.structOf('set_prolog_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
275
- }
276
- function dynamic1(indicator) {
277
- return this.structOf('dynamic', [this.convertToTerm(indicator)]);
278
- }
279
- function static1(indicator) {
280
- return this.structOf('static', [this.convertToTerm(indicator)]);
281
- }
282
- function solve1(goal) {
283
- return this.structOf('solve', [this.convertToTerm(goal)]);
284
- }
285
- function initialization1(goal) {
286
- return this.structOf('initialization', [this.convertToTerm(goal)]);
287
- }
288
- function load1(url) {
289
- return this.structOf('load', [this.convertToTerm(url)]);
290
- }
291
- function include1(url) {
292
- return this.structOf('include', [this.convertToTerm(url)]);
293
- }
294
- initMetadataForInterface(LogicProgrammingScopeWithPrologStandardLibrary, 'LogicProgrammingScopeWithPrologStandardLibrary', VOID, VOID, [BaseLogicProgrammingScope]);
295
108
  function stringInvoke(_this__u8e3s4, term, terms) {
296
109
  var tmp = sequenceOf(arrayConcat([[term], terms]));
297
110
  return this.structOfSequence(_this__u8e3s4, map(tmp, MinimalLogicProgrammingScope$invoke$lambda(this)));
@@ -426,39 +239,6 @@
426
239
  return this.convertToSpecificSubTypeOfTerm(tmp, tmp_0, MinimalLogicProgrammingScope$factOf$ref(this));
427
240
  }
428
241
  initMetadataForInterface(MinimalLogicProgrammingScope, 'MinimalLogicProgrammingScope', VOID, VOID, [BaseLogicProgrammingScope]);
429
- function varTo(_this__u8e3s4, termObject) {
430
- return Companion_getInstance_0().of(_this__u8e3s4, this.convertToTerm(termObject));
431
- }
432
- function stringTo(_this__u8e3s4, termObject) {
433
- return Companion_getInstance_0().of(this.varOf(_this__u8e3s4), this.convertToTerm(termObject));
434
- }
435
- function substitutionGet(_this__u8e3s4, term) {
436
- var t = this.convertToTerm(term);
437
- var tmp;
438
- if (isInterface(t, Var)) {
439
- tmp = _this__u8e3s4.get_wei43m_k$(t);
440
- } else {
441
- raiseErrorConvertingTo(term, getKClass(Var));
442
- }
443
- return tmp;
444
- }
445
- function substitutionContainsKey(_this__u8e3s4, term) {
446
- var t = this.convertToTerm(term);
447
- var tmp;
448
- if (isInterface(t, Var)) {
449
- tmp = _this__u8e3s4.containsKey_aw81wo_k$(t);
450
- } else {
451
- raiseErrorConvertingTo(term, getKClass(Var));
452
- }
453
- return tmp;
454
- }
455
- function substitutionContains(_this__u8e3s4, term) {
456
- return this.substitutionContainsKey(_this__u8e3s4, term);
457
- }
458
- function substitutionContainsValue(_this__u8e3s4, term) {
459
- return _this__u8e3s4.containsValue_yf2ykl_k$(this.convertToTerm(term));
460
- }
461
- initMetadataForInterface(LogicProgrammingScopeWithSubstitutions, 'LogicProgrammingScopeWithSubstitutions', VOID, VOID, [BaseLogicProgrammingScope]);
462
242
  function termPlus(_this__u8e3s4, other) {
463
243
  return this.structOf('+', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
464
244
  }
@@ -617,7 +397,227 @@
617
397
  return this.anyImpliedByVararg(_this__u8e3s4, other.slice());
618
398
  }
619
399
  initMetadataForInterface(LogicProgrammingScopeWithOperators, 'LogicProgrammingScopeWithOperators', VOID, VOID, [BaseLogicProgrammingScope]);
620
- initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [LogicProgrammingScopeWithPrologStandardLibrary, BaseLogicProgrammingScope, MinimalLogicProgrammingScope, Scope, LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithOperators]);
400
+ function varTo(_this__u8e3s4, termObject) {
401
+ return Companion_getInstance_0().of(_this__u8e3s4, this.convertToTerm(termObject));
402
+ }
403
+ function stringTo(_this__u8e3s4, termObject) {
404
+ return Companion_getInstance_0().of(this.varOf(_this__u8e3s4), this.convertToTerm(termObject));
405
+ }
406
+ function substitutionGet(_this__u8e3s4, term) {
407
+ var t = this.convertToTerm(term);
408
+ var tmp;
409
+ if (isInterface(t, Var)) {
410
+ tmp = _this__u8e3s4.get_wei43m_k$(t);
411
+ } else {
412
+ raiseErrorConvertingTo(term, getKClass(Var));
413
+ }
414
+ return tmp;
415
+ }
416
+ function substitutionContainsKey(_this__u8e3s4, term) {
417
+ var t = this.convertToTerm(term);
418
+ var tmp;
419
+ if (isInterface(t, Var)) {
420
+ tmp = _this__u8e3s4.containsKey_aw81wo_k$(t);
421
+ } else {
422
+ raiseErrorConvertingTo(term, getKClass(Var));
423
+ }
424
+ return tmp;
425
+ }
426
+ function substitutionContains(_this__u8e3s4, term) {
427
+ return this.substitutionContainsKey(_this__u8e3s4, term);
428
+ }
429
+ function substitutionContainsValue(_this__u8e3s4, term) {
430
+ return _this__u8e3s4.containsValue_yf2ykl_k$(this.convertToTerm(term));
431
+ }
432
+ initMetadataForInterface(LogicProgrammingScopeWithSubstitutions, 'LogicProgrammingScopeWithSubstitutions', VOID, VOID, [BaseLogicProgrammingScope]);
433
+ function at_end_of_stream1(alias) {
434
+ return this.structOf('at_end_of_stream', [this.convertToTerm(alias)]);
435
+ }
436
+ function call1(goal) {
437
+ return this.structOf('call', [this.convertToTerm(goal)]);
438
+ }
439
+ function catch3(goal, error, continuation) {
440
+ return this.structOf('catch', [this.convertToTerm(goal), this.convertToTerm(error), this.convertToTerm(continuation)]);
441
+ }
442
+ function throw1(error) {
443
+ return this.structOf('throw', [this.convertToTerm(error)]);
444
+ }
445
+ function not1(goal) {
446
+ return this.structOf('not', [this.convertToTerm(goal)]);
447
+ }
448
+ function naf1(goal) {
449
+ return this.structOf('\\+', [this.convertToTerm(goal)]);
450
+ }
451
+ function assert1(clause) {
452
+ return this.structOf('assert', [this.convertToTerm(clause)]);
453
+ }
454
+ function asserta1(clause) {
455
+ return this.structOf('asserta', [this.convertToTerm(clause)]);
456
+ }
457
+ function assertz1(clause) {
458
+ return this.structOf('assertz', [this.convertToTerm(clause)]);
459
+ }
460
+ function arg3(index, compound, argument) {
461
+ return this.structOf('arg', [this.convertToTerm(index), this.convertToTerm(compound), this.convertToTerm(argument)]);
462
+ }
463
+ function atom1(atom) {
464
+ return this.structOf('atom', [this.convertToTerm(atom)]);
465
+ }
466
+ function atomic1(atomic) {
467
+ return this.structOf('atomic', [this.convertToTerm(atomic)]);
468
+ }
469
+ function between3(min, max, number) {
470
+ return this.structOf('between', [this.convertToTerm(min), this.convertToTerm(max), this.convertToTerm(number)]);
471
+ }
472
+ function callable1(goal) {
473
+ return this.structOf('callable', [this.convertToTerm(goal)]);
474
+ }
475
+ function compound1(struct) {
476
+ return this.structOf('compound', [this.convertToTerm(struct)]);
477
+ }
478
+ function current_op3(precedence, specifier, functor) {
479
+ return this.structOf('current_op', [this.convertToTerm(precedence), this.convertToTerm(specifier), this.convertToTerm(functor)]);
480
+ }
481
+ function op3(precedence, specifier, functor) {
482
+ return this.structOf('op', [this.convertToTerm(precedence), this.convertToTerm(specifier), this.convertToTerm(functor)]);
483
+ }
484
+ function findall3(template, goal, bag) {
485
+ return this.structOf('findall', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
486
+ }
487
+ function float1(number) {
488
+ return this.structOf('float', [this.convertToTerm(number)]);
489
+ }
490
+ function functor3(struct, functor, arity) {
491
+ return this.structOf('functor', [this.convertToTerm(struct), this.convertToTerm(functor), this.convertToTerm(arity)]);
492
+ }
493
+ function ground1(term) {
494
+ return this.structOf('ground', [this.convertToTerm(term)]);
495
+ }
496
+ function integer1(number) {
497
+ return this.structOf('integer', [this.convertToTerm(number)]);
498
+ }
499
+ function natural(number) {
500
+ return this.structOf('natural', [this.convertToTerm(number)]);
501
+ }
502
+ function nonvar1(number) {
503
+ return this.structOf('nonvar', [this.convertToTerm(number)]);
504
+ }
505
+ function number1(number) {
506
+ return this.structOf('number', [this.convertToTerm(number)]);
507
+ }
508
+ function var1(term) {
509
+ return this.structOf('var', [this.convertToTerm(term)]);
510
+ }
511
+ function write1(term) {
512
+ return this.structOf('write', [this.convertToTerm(term)]);
513
+ }
514
+ function univ2(_this__u8e3s4, other) {
515
+ return this.structOf('=..', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(other)]);
516
+ }
517
+ function eq2(_this__u8e3s4, right) {
518
+ return this.structOf('=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
519
+ }
520
+ function neq2(_this__u8e3s4, right) {
521
+ return this.structOf('\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
522
+ }
523
+ function id2(_this__u8e3s4, right) {
524
+ return this.structOf('==', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
525
+ }
526
+ function nid2(_this__u8e3s4, right) {
527
+ return this.structOf('\\==', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
528
+ }
529
+ function arithEq2(_this__u8e3s4, right) {
530
+ return this.structOf('=:=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
531
+ }
532
+ function arithNeq2(_this__u8e3s4, right) {
533
+ return this.structOf('=\\=', [this.convertToTerm(_this__u8e3s4), this.convertToTerm(right)]);
534
+ }
535
+ function member2(item, list) {
536
+ return this.structOf('member', [this.convertToTerm(item), this.convertToTerm(list)]);
537
+ }
538
+ function retract1(clause) {
539
+ return this.structOf('retract', [this.convertToTerm(clause)]);
540
+ }
541
+ function append3(left, right, result) {
542
+ return this.structOf('append', [this.convertToTerm(left), this.convertToTerm(right), this.convertToTerm(result)]);
543
+ }
544
+ function retractall1(clause) {
545
+ return this.structOf('retractall', [this.convertToTerm(clause)]);
546
+ }
547
+ function abolish1(indicator) {
548
+ return this.structOf('abolish', [this.convertToTerm(indicator)]);
549
+ }
550
+ function atom_chars2(atom, chars) {
551
+ return this.structOf('atom_chars', [this.convertToTerm(atom), this.convertToTerm(chars)]);
552
+ }
553
+ function atom_codes2(atom, codes) {
554
+ return this.structOf('atom_codes', [this.convertToTerm(atom), this.convertToTerm(codes)]);
555
+ }
556
+ function atom_concat3(first, second, result) {
557
+ return this.structOf('atom_concat', [this.convertToTerm(first), this.convertToTerm(second), this.convertToTerm(result)]);
558
+ }
559
+ function atom_length2(atom, length) {
560
+ return this.structOf('atom_length', [this.convertToTerm(atom), this.convertToTerm(length)]);
561
+ }
562
+ function char_code2(char, code) {
563
+ return this.structOf('char_code', [this.convertToTerm(char), this.convertToTerm(code)]);
564
+ }
565
+ function clause2(head, body) {
566
+ return this.structOf('clause', [this.convertToTerm(head), this.convertToTerm(body)]);
567
+ }
568
+ function copy_term2(term, copy) {
569
+ return this.structOf('copy_term', [this.convertToTerm(term), this.convertToTerm(copy)]);
570
+ }
571
+ function current_flag2(name, value) {
572
+ return this.structOf('current_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
573
+ }
574
+ function current_prolog_flag2(name, value) {
575
+ return this.structOf('current_prolog_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
576
+ }
577
+ function sub_atom5(atom, before, length, after, sub_atom) {
578
+ return this.structOf('sub_atom', [this.convertToTerm(atom), this.convertToTerm(before), this.convertToTerm(length), this.convertToTerm(after), this.convertToTerm(sub_atom)]);
579
+ }
580
+ function number_chars2(first, second) {
581
+ return this.structOf('number_chars', [this.convertToTerm(first), this.convertToTerm(second)]);
582
+ }
583
+ function number_codes2(first, second) {
584
+ return this.structOf('number_codes', [this.convertToTerm(first), this.convertToTerm(second)]);
585
+ }
586
+ function bagof3(template, goal, bag) {
587
+ return this.structOf('bagof', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
588
+ }
589
+ function setof3(template, goal, bag) {
590
+ return this.structOf('setof', [this.convertToTerm(template), this.convertToTerm(goal), this.convertToTerm(bag)]);
591
+ }
592
+ function consult1(url) {
593
+ return this.structOf('consult', [this.convertToTerm(url)]);
594
+ }
595
+ function set_flag2(name, value) {
596
+ return this.structOf('set_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
597
+ }
598
+ function set_prolog_flag2(name, value) {
599
+ return this.structOf('set_prolog_flag', [this.convertToTerm(name), this.convertToTerm(value)]);
600
+ }
601
+ function dynamic1(indicator) {
602
+ return this.structOf('dynamic', [this.convertToTerm(indicator)]);
603
+ }
604
+ function static1(indicator) {
605
+ return this.structOf('static', [this.convertToTerm(indicator)]);
606
+ }
607
+ function solve1(goal) {
608
+ return this.structOf('solve', [this.convertToTerm(goal)]);
609
+ }
610
+ function initialization1(goal) {
611
+ return this.structOf('initialization', [this.convertToTerm(goal)]);
612
+ }
613
+ function load1(url) {
614
+ return this.structOf('load', [this.convertToTerm(url)]);
615
+ }
616
+ function include1(url) {
617
+ return this.structOf('include', [this.convertToTerm(url)]);
618
+ }
619
+ initMetadataForInterface(LogicProgrammingScopeWithPrologStandardLibrary, 'LogicProgrammingScopeWithPrologStandardLibrary', VOID, VOID, [BaseLogicProgrammingScope]);
620
+ initMetadataForClass(LogicProgrammingScopeImpl, 'LogicProgrammingScopeImpl', VOID, VOID, [BaseLogicProgrammingScope, Scope, MinimalLogicProgrammingScope, LogicProgrammingScopeWithOperators, LogicProgrammingScopeWithSubstitutions, LogicProgrammingScopeWithPrologStandardLibrary]);
621
621
  initMetadataForCompanion(Companion_0);
622
622
  initMetadataForClass(DefaultTermificator, 'DefaultTermificator', VOID, AbstractTermificator);
623
623
  //endregion
@@ -634,77 +634,77 @@
634
634
  function AbstractTermificator$handleCharAsString$ref(p0) {
635
635
  return constructCallableReference(function (p0_0) {
636
636
  return p0.handleCharAsString_4c4o0s_k$(p0_0.value_1);
637
- }, 1, 0, 93, 'handleCharAsString', [p0]);
637
+ }, 1, 0, 87, 'handleCharAsString', [p0]);
638
638
  }
639
639
  function AbstractTermificator$handleBooleanAsTruth$ref(p0) {
640
640
  return constructCallableReference(function (p0_0) {
641
641
  return p0.handleBooleanAsTruth_5aozo4_k$(p0_0);
642
- }, 1, 0, 94, 'handleBooleanAsTruth', [p0]);
642
+ }, 1, 0, 88, 'handleBooleanAsTruth', [p0]);
643
643
  }
644
644
  function AbstractTermificator$handleStringAsAtomOrVariable$ref(p0) {
645
645
  return constructCallableReference(function (p0_0) {
646
646
  return p0.handleStringAsAtomOrVariable_vn22sf_k$(p0_0);
647
- }, 1, 0, 95, 'handleStringAsAtomOrVariable', [p0]);
647
+ }, 1, 0, 89, 'handleStringAsAtomOrVariable', [p0]);
648
648
  }
649
649
  function AbstractTermificator$handleBigIntegerAsInteger$ref(p0) {
650
650
  return constructCallableReference(function (p0_0) {
651
651
  return p0.handleBigIntegerAsInteger_p5tknf_k$(p0_0);
652
- }, 1, 0, 96, 'handleBigIntegerAsInteger', [p0]);
652
+ }, 1, 0, 90, 'handleBigIntegerAsInteger', [p0]);
653
653
  }
654
654
  function AbstractTermificator$handleBigDecimalAsReal$ref(p0) {
655
655
  return constructCallableReference(function (p0_0) {
656
656
  return p0.handleBigDecimalAsReal_gsm0at_k$(p0_0);
657
- }, 1, 0, 97, 'handleBigDecimalAsReal', [p0]);
657
+ }, 1, 0, 91, 'handleBigDecimalAsReal', [p0]);
658
658
  }
659
659
  function AbstractTermificator$handleNumberAsNumeric$ref(p0) {
660
660
  return constructCallableReference(function (p0_0) {
661
661
  return p0.handleNumberAsNumeric_mlad0f_k$(p0_0);
662
- }, 1, 0, 98, 'handleNumberAsNumeric', [p0]);
662
+ }, 1, 0, 92, 'handleNumberAsNumeric', [p0]);
663
663
  }
664
664
  function AbstractTermificator$handleArrayAsList$ref(p0) {
665
665
  return constructCallableReference(function (p0_0) {
666
666
  return p0.handleArrayAsList_ov2k4j_k$(p0_0);
667
- }, 1, 0, 99, 'handleArrayAsList', [p0]);
667
+ }, 1, 0, 93, 'handleArrayAsList', [p0]);
668
668
  }
669
669
  function AbstractTermificator$handleSequenceAsList$ref(p0) {
670
670
  return constructCallableReference(function (p0_0) {
671
671
  return p0.handleSequenceAsList_xpdiuf_k$(p0_0);
672
- }, 1, 0, 100, 'handleSequenceAsList', [p0]);
672
+ }, 1, 0, 94, 'handleSequenceAsList', [p0]);
673
673
  }
674
674
  function AbstractTermificator$handleIterableAsList$ref(p0) {
675
675
  return constructCallableReference(function (p0_0) {
676
676
  return p0.handleIterableAsList_rtt3vc_k$(p0_0);
677
- }, 1, 0, 101, 'handleIterableAsList', [p0]);
677
+ }, 1, 0, 95, 'handleIterableAsList', [p0]);
678
678
  }
679
679
  function AbstractTermificator$handleKotlinListAsLogicList$ref(p0) {
680
680
  return constructCallableReference(function (p0_0) {
681
681
  return p0.handleKotlinListAsLogicList_3lr5v1_k$(p0_0);
682
- }, 1, 0, 102, 'handleKotlinListAsLogicList', [p0]);
682
+ }, 1, 0, 96, 'handleKotlinListAsLogicList', [p0]);
683
683
  }
684
684
  function AbstractTermificator$handleSetAsBlock$ref(p0) {
685
685
  return constructCallableReference(function (p0_0) {
686
686
  return p0.handleSetAsBlock_umzisl_k$(p0_0);
687
- }, 1, 0, 103, 'handleSetAsBlock', [p0]);
687
+ }, 1, 0, 97, 'handleSetAsBlock', [p0]);
688
688
  }
689
689
  function AbstractTermificator$handlePairAsTuple$ref(p0) {
690
690
  return constructCallableReference(function (p0_0) {
691
691
  return p0.handlePairAsTuple_wk96bv_k$(p0_0);
692
- }, 1, 0, 104, 'handlePairAsTuple', [p0]);
692
+ }, 1, 0, 98, 'handlePairAsTuple', [p0]);
693
693
  }
694
694
  function AbstractTermificator$handleTripletAsTuple$ref(p0) {
695
695
  return constructCallableReference(function (p0_0) {
696
696
  return p0.handleTripletAsTuple_sx17bz_k$(p0_0);
697
- }, 1, 0, 105, 'handleTripletAsTuple', [p0]);
697
+ }, 1, 0, 99, 'handleTripletAsTuple', [p0]);
698
698
  }
699
699
  function AbstractTermificator$handleKeyValuePairAsStruct$ref(p0) {
700
700
  return constructCallableReference(function (p0_0) {
701
701
  return p0.handleKeyValuePairAsStruct_mdstn7_k$(p0_0);
702
- }, 1, 0, 106, 'handleKeyValuePairAsStruct', [p0]);
702
+ }, 1, 0, 100, 'handleKeyValuePairAsStruct', [p0]);
703
703
  }
704
704
  function AbstractTermificator$handleMapAsBlock$ref(p0) {
705
705
  return constructCallableReference(function (p0_0) {
706
706
  return p0.handleMapAsBlock_vbyuxp_k$(p0_0);
707
- }, 1, 0, 107, 'handleMapAsBlock', [p0]);
707
+ }, 1, 0, 101, 'handleMapAsBlock', [p0]);
708
708
  }
709
709
  function AbstractTermificator(scope) {
710
710
  this.scope_1 = scope;
@@ -1190,12 +1190,12 @@
1190
1190
  function MinimalLogicProgrammingScope$directiveOf$ref(p0) {
1191
1191
  return constructCallableReference(function (p0_0) {
1192
1192
  return p0.directiveOf(p0_0, []);
1193
- }, 1, 0, 108, VOID, [p0]);
1193
+ }, 1, 0, 102, VOID, [p0]);
1194
1194
  }
1195
1195
  function MinimalLogicProgrammingScope$factOf$ref(p0) {
1196
1196
  return constructCallableReference(function (p0_0) {
1197
1197
  return p0.factOf(p0_0);
1198
- }, 1, 0, 109, 'factOf', [p0]);
1198
+ }, 1, 0, 103, 'factOf', [p0]);
1199
1199
  }
1200
1200
  function MinimalLogicProgrammingScope() {
1201
1201
  }