@tuprolog/2p-full 1.0.4 → 1.1.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.
Files changed (85) hide show
  1. package/2p-bdd.js +204 -201
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +3668 -4128
  4. package/2p-core.js.map +1 -1
  5. package/2p-datalog.js +3 -3
  6. package/2p-datalog.js.map +1 -1
  7. package/2p-dsl-core.js +3 -3
  8. package/2p-dsl-core.js.map +1 -1
  9. package/2p-dsl-solve.js +3 -3
  10. package/2p-dsl-solve.js.map +1 -1
  11. package/2p-dsl-theory.js +3 -3
  12. package/2p-dsl-theory.js.map +1 -1
  13. package/2p-dsl-unify.js +3 -3
  14. package/2p-dsl-unify.js.map +1 -1
  15. package/2p-full.js +9 -19
  16. package/2p-full.js.map +1 -1
  17. package/2p-io-lib.js +6 -3321
  18. package/2p-io-lib.js.map +1 -1
  19. package/2p-oop-lib.js +6 -3435
  20. package/2p-oop-lib.js.map +1 -1
  21. package/2p-parser-core.js +6 -1266
  22. package/2p-parser-core.js.map +1 -1
  23. package/2p-parser-js.js +6 -30
  24. package/2p-parser-js.js.map +1 -1
  25. package/2p-parser-theory.js +6 -126
  26. package/2p-parser-theory.js.map +1 -1
  27. package/2p-repl.js +6 -499
  28. package/2p-repl.js.map +1 -1
  29. package/2p-serialize-core.js +3 -3
  30. package/2p-serialize-core.js.map +1 -1
  31. package/2p-serialize-theory.js +3 -3
  32. package/2p-serialize-theory.js.map +1 -1
  33. package/2p-solve-classic.js +1216 -1203
  34. package/2p-solve-classic.js.map +1 -1
  35. package/2p-solve-concurrent.js +3 -3
  36. package/2p-solve-concurrent.js.map +1 -1
  37. package/2p-solve-plp.js +8 -8
  38. package/2p-solve-plp.js.map +1 -1
  39. package/2p-solve-problog.js +2095 -2140
  40. package/2p-solve-problog.js.map +1 -1
  41. package/2p-solve-streams.js +1244 -1333
  42. package/2p-solve-streams.js.map +1 -1
  43. package/2p-solve.js +5185 -6393
  44. package/2p-solve.js.map +1 -1
  45. package/2p-test-dsl.js +3 -3
  46. package/2p-test-dsl.js.map +1 -1
  47. package/2p-theory.js +2091 -1992
  48. package/2p-theory.js.map +1 -1
  49. package/2p-unify.js +315 -300
  50. package/2p-unify.js.map +1 -1
  51. package/2p-utils.js +625 -635
  52. package/2p-utils.js.map +1 -1
  53. package/clikt-clikt-mordant.js +15 -0
  54. package/clikt-clikt-mordant.js.map +1 -0
  55. package/clikt-clikt.js +15 -0
  56. package/clikt-clikt.js.map +1 -0
  57. package/colormath-root-colormath.js +15 -0
  58. package/colormath-root-colormath.js.map +1 -0
  59. package/kotlin-kotlin-stdlib.js +6829 -8585
  60. package/kotlin-kotlin-stdlib.js.map +1 -1
  61. package/kotlin-kotlin-test.js +15 -0
  62. package/kotlin-kotlin-test.js.map +1 -0
  63. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
  64. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
  65. package/kotlinx-atomicfu.js +15 -0
  66. package/kotlinx-atomicfu.js.map +1 -0
  67. package/kotlinx-coroutines-core.js +15 -0
  68. package/kotlinx-coroutines-core.js.map +1 -0
  69. package/kt-math.js +3143 -3508
  70. package/kt-math.js.map +1 -1
  71. package/mordant-mordant-omnibus.js +15 -0
  72. package/mordant-mordant-omnibus.js.map +1 -0
  73. package/mordant-mordant.js +19 -0
  74. package/mordant-mordant.js.map +1 -0
  75. package/package.json +2 -3
  76. package/88b0986a7186d029-atomicfu-js-ir.js +0 -15
  77. package/88b0986a7186d029-atomicfu-js-ir.js.map +0 -1
  78. package/clikt-clikt-js-ir.js +0 -6006
  79. package/clikt-clikt-js-ir.js.map +0 -1
  80. package/kotlin-kotlin-test-kotlin-test-js-ir.js +0 -15
  81. package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +0 -1
  82. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +0 -15
  83. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +0 -1
  84. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +0 -15
  85. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
package/2p-datalog.js CHANGED
@@ -1,11 +1,11 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports);
6
6
  else
7
- root['2p-datalog'] = factory(typeof this['2p-datalog'] === 'undefined' ? {} : this['2p-datalog']);
8
- }(this, function (_) {
7
+ globalThis['2p-datalog'] = factory(typeof globalThis['2p-datalog'] === 'undefined' ? {} : globalThis['2p-datalog']);
8
+ }(function (_) {
9
9
  'use strict';
10
10
  //region block: pre-declaration
11
11
  //endregion
package/2p-datalog.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-core.js CHANGED
@@ -1,11 +1,11 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports);
6
6
  else
7
- root['2p-dsl-core'] = factory(typeof this['2p-dsl-core'] === 'undefined' ? {} : this['2p-dsl-core']);
8
- }(this, function (_) {
7
+ globalThis['2p-dsl-core'] = factory(typeof globalThis['2p-dsl-core'] === 'undefined' ? {} : globalThis['2p-dsl-core']);
8
+ }(function (_) {
9
9
  'use strict';
10
10
  //region block: pre-declaration
11
11
  //endregion
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-solve.js CHANGED
@@ -1,11 +1,11 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports);
6
6
  else
7
- root['2p-dsl-solve'] = factory(typeof this['2p-dsl-solve'] === 'undefined' ? {} : this['2p-dsl-solve']);
8
- }(this, function (_) {
7
+ globalThis['2p-dsl-solve'] = factory(typeof globalThis['2p-dsl-solve'] === 'undefined' ? {} : globalThis['2p-dsl-solve']);
8
+ }(function (_) {
9
9
  'use strict';
10
10
  //region block: pre-declaration
11
11
  //endregion
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-theory.js CHANGED
@@ -1,11 +1,11 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports);
6
6
  else
7
- root['2p-dsl-theory'] = factory(typeof this['2p-dsl-theory'] === 'undefined' ? {} : this['2p-dsl-theory']);
8
- }(this, function (_) {
7
+ globalThis['2p-dsl-theory'] = factory(typeof globalThis['2p-dsl-theory'] === 'undefined' ? {} : globalThis['2p-dsl-theory']);
8
+ }(function (_) {
9
9
  'use strict';
10
10
  //region block: pre-declaration
11
11
  //endregion
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-unify.js CHANGED
@@ -1,11 +1,11 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
3
  define(['exports'], factory);
4
4
  else if (typeof exports === 'object')
5
5
  factory(module.exports);
6
6
  else
7
- root['2p-dsl-unify'] = factory(typeof this['2p-dsl-unify'] === 'undefined' ? {} : this['2p-dsl-unify']);
8
- }(this, function (_) {
7
+ globalThis['2p-dsl-unify'] = factory(typeof globalThis['2p-dsl-unify'] === 'undefined' ? {} : globalThis['2p-dsl-unify']);
8
+ }(function (_) {
9
9
  'use strict';
10
10
  //region block: pre-declaration
11
11
  //endregion
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-full.js CHANGED
@@ -1,43 +1,33 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './2p-repl.js', './kt-math.js', './2p-solve-classic.js', './2p-solve-problog.js', './2p-solve-streams.js'], factory);
3
+ define(['exports', './kt-math.js', './2p-solve-classic.js', './2p-solve-problog.js', './2p-solve-streams.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./2p-repl.js'), require('./kt-math.js'), require('./2p-solve-classic.js'), require('./2p-solve-problog.js'), require('./2p-solve-streams.js'));
5
+ factory(module.exports, require('./kt-math.js'), require('./2p-solve-classic.js'), require('./2p-solve-problog.js'), require('./2p-solve-streams.js'));
6
6
  else {
7
- if (typeof this['2p-repl'] === 'undefined') {
8
- throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-repl' was not found. Please, check whether '2p-repl' is loaded prior to 'it.unibo.tuprolog:full'.");
9
- }
10
- if (typeof this['kt-math'] === 'undefined') {
7
+ if (typeof globalThis['kt-math'] === 'undefined') {
11
8
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency 'kt-math' was not found. Please, check whether 'kt-math' is loaded prior to 'it.unibo.tuprolog:full'.");
12
9
  }
13
- if (typeof this['2p-solve-classic'] === 'undefined') {
10
+ if (typeof globalThis['2p-solve-classic'] === 'undefined') {
14
11
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-classic' was not found. Please, check whether '2p-solve-classic' is loaded prior to 'it.unibo.tuprolog:full'.");
15
12
  }
16
- if (typeof this['2p-solve-problog'] === 'undefined') {
13
+ if (typeof globalThis['2p-solve-problog'] === 'undefined') {
17
14
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-problog' was not found. Please, check whether '2p-solve-problog' is loaded prior to 'it.unibo.tuprolog:full'.");
18
15
  }
19
- if (typeof this['2p-solve-streams'] === 'undefined') {
16
+ if (typeof globalThis['2p-solve-streams'] === 'undefined') {
20
17
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-streams' was not found. Please, check whether '2p-solve-streams' is loaded prior to 'it.unibo.tuprolog:full'.");
21
18
  }
22
- root['it.unibo.tuprolog:full'] = factory(typeof this['it.unibo.tuprolog:full'] === 'undefined' ? {} : this['it.unibo.tuprolog:full'], this['2p-repl'], this['kt-math'], this['2p-solve-classic'], this['2p-solve-problog'], this['2p-solve-streams']);
19
+ globalThis['it.unibo.tuprolog:full'] = factory(typeof globalThis['it.unibo.tuprolog:full'] === 'undefined' ? {} : globalThis['it.unibo.tuprolog:full'], globalThis['kt-math'], globalThis['2p-solve-classic'], globalThis['2p-solve-problog'], globalThis['2p-solve-streams']);
23
20
  }
24
- }(this, function (_, kotlin_it_unibo_tuprolog_repl, kotlin_io_github_gciatto_kt_math, kotlin_it_unibo_tuprolog_solve_classic, kotlin_it_unibo_tuprolog_solve_problog, kotlin_it_unibo_tuprolog_solve_streams) {
21
+ }(function (_, kotlin_io_github_gciatto_kt_math, kotlin_it_unibo_tuprolog_solve_classic, kotlin_it_unibo_tuprolog_solve_problog, kotlin_it_unibo_tuprolog_solve_streams) {
25
22
  'use strict';
26
- //region block: imports
27
- var main = kotlin_it_unibo_tuprolog_repl.$_$.a;
28
- //endregion
29
23
  //region block: pre-declaration
30
24
  //endregion
31
- function main_0(args) {
32
- main(args);
33
- }
34
25
  //region block: exports
35
26
  kotlin_io_github_gciatto_kt_math.$jsExportAll$(_);
36
27
  kotlin_it_unibo_tuprolog_solve_classic.$jsExportAll$(_);
37
28
  kotlin_it_unibo_tuprolog_solve_problog.$jsExportAll$(_);
38
29
  kotlin_it_unibo_tuprolog_solve_streams.$jsExportAll$(_);
39
30
  //endregion
40
- main_0([]);
41
31
  return _;
42
32
  }));
43
33
 
package/2p-full.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/jsMain/kotlin/it/unibo/tuprolog/PrologCLI.kt"],"sourcesContent":[null],"names":["main","args"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEOA,CAASC,IAATD,EAA8B;A,IACP,KAAK,IAAL,C;EAC9B,C;;;;;;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}