@tuprolog/2p-full 0.31.5-dev0c → 0.31.5-dev0n

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 (64) hide show
  1. package/2p-bdd.js +234 -229
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +5618 -6238
  4. package/2p-core.js.map +1 -1
  5. package/2p-datalog.js +9 -2
  6. package/2p-datalog.js.map +1 -1
  7. package/2p-dsl-core.js +9 -2
  8. package/2p-dsl-core.js.map +1 -1
  9. package/2p-dsl-solve.js +9 -2
  10. package/2p-dsl-solve.js.map +1 -1
  11. package/2p-dsl-theory.js +9 -2
  12. package/2p-dsl-theory.js.map +1 -1
  13. package/2p-dsl-unify.js +9 -2
  14. package/2p-dsl-unify.js.map +1 -1
  15. package/2p-full.js +26 -3
  16. package/2p-full.js.map +1 -1
  17. package/2p-io-lib.js +931 -954
  18. package/2p-io-lib.js.map +1 -1
  19. package/2p-oop-lib.js +1308 -1337
  20. package/2p-oop-lib.js.map +1 -1
  21. package/2p-parser-core.js +364 -368
  22. package/2p-parser-core.js.map +1 -1
  23. package/2p-parser-js.js +14 -3
  24. package/2p-parser-js.js.map +1 -1
  25. package/2p-parser-theory.js +66 -41
  26. package/2p-parser-theory.js.map +1 -1
  27. package/2p-repl.js +183 -181
  28. package/2p-repl.js.map +1 -1
  29. package/2p-serialize-core.js +9 -2
  30. package/2p-serialize-core.js.map +1 -1
  31. package/2p-serialize-theory.js +9 -2
  32. package/2p-serialize-theory.js.map +1 -1
  33. package/2p-solve-classic.js +1408 -1680
  34. package/2p-solve-classic.js.map +1 -1
  35. package/2p-solve-concurrent.js +9 -2
  36. package/2p-solve-concurrent.js.map +1 -1
  37. package/2p-solve-plp.js +19 -5
  38. package/2p-solve-plp.js.map +1 -1
  39. package/2p-solve-problog.js +1880 -1915
  40. package/2p-solve-problog.js.map +1 -1
  41. package/2p-solve-streams.js +1251 -1343
  42. package/2p-solve-streams.js.map +1 -1
  43. package/2p-solve.js +5397 -5851
  44. package/2p-solve.js.map +1 -1
  45. package/2p-theory.js +1800 -1796
  46. package/2p-theory.js.map +1 -1
  47. package/2p-unify.js +371 -372
  48. package/2p-unify.js.map +1 -1
  49. package/2p-utils.js +555 -517
  50. package/2p-utils.js.map +1 -1
  51. package/88b0986a7186d029-atomicfu-js-ir.js +9 -2
  52. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
  53. package/clikt-clikt-js-ir.js +2208 -2427
  54. package/clikt-clikt-js-ir.js.map +1 -1
  55. package/kotlin-kotlin-stdlib-js-ir.js +3030 -3127
  56. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  57. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +9 -2
  58. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -1
  59. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +9 -2
  60. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
  61. package/kt-math.js +3196 -2832
  62. package/kt-math.js.map +1 -1
  63. package/package.json +56 -2
  64. package/2p-full.d.ts +0 -270
package/2p-datalog.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-core.js CHANGED
@@ -1,8 +1,15 @@
1
- (function (_) {
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ root['2p-dsl-core'] = factory(typeof this['2p-dsl-core'] === 'undefined' ? {} : this['2p-dsl-core']);
8
+ }(this, function (_) {
2
9
  'use strict';
3
10
  //region block: pre-declaration
4
11
  //endregion
5
12
  return _;
6
- }(module.exports));
13
+ }));
7
14
 
8
15
  //# sourceMappingURL=2p-dsl-core.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-solve.js CHANGED
@@ -1,8 +1,15 @@
1
- (function (_) {
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ root['2p-dsl-solve'] = factory(typeof this['2p-dsl-solve'] === 'undefined' ? {} : this['2p-dsl-solve']);
8
+ }(this, function (_) {
2
9
  'use strict';
3
10
  //region block: pre-declaration
4
11
  //endregion
5
12
  return _;
6
- }(module.exports));
13
+ }));
7
14
 
8
15
  //# sourceMappingURL=2p-dsl-solve.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-theory.js CHANGED
@@ -1,8 +1,15 @@
1
- (function (_) {
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ root['2p-dsl-theory'] = factory(typeof this['2p-dsl-theory'] === 'undefined' ? {} : this['2p-dsl-theory']);
8
+ }(this, function (_) {
2
9
  'use strict';
3
10
  //region block: pre-declaration
4
11
  //endregion
5
12
  return _;
6
- }(module.exports));
13
+ }));
7
14
 
8
15
  //# sourceMappingURL=2p-dsl-theory.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-dsl-unify.js CHANGED
@@ -1,8 +1,15 @@
1
- (function (_) {
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ root['2p-dsl-unify'] = factory(typeof this['2p-dsl-unify'] === 'undefined' ? {} : this['2p-dsl-unify']);
8
+ }(this, function (_) {
2
9
  'use strict';
3
10
  //region block: pre-declaration
4
11
  //endregion
5
12
  return _;
6
- }(module.exports));
13
+ }));
7
14
 
8
15
  //# sourceMappingURL=2p-dsl-unify.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
package/2p-full.js CHANGED
@@ -1,4 +1,27 @@
1
- (function (_, kotlin_it_unibo_tuprolog_repl, kotlin_kt_math, kotlin_it_unibo_tuprolog_solve_classic, kotlin_it_unibo_tuprolog_solve_problog, kotlin_it_unibo_tuprolog_solve_streams) {
1
+ (function (root, factory) {
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);
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'));
6
+ else {
7
+ if (typeof this['2p-repl'] === 'undefined') {
8
+ throw new Error("Error loading module '2p-full'. Its dependency '2p-repl' was not found. Please, check whether '2p-repl' is loaded prior to '2p-full'.");
9
+ }
10
+ if (typeof this['kt-math'] === 'undefined') {
11
+ throw new Error("Error loading module '2p-full'. Its dependency 'kt-math' was not found. Please, check whether 'kt-math' is loaded prior to '2p-full'.");
12
+ }
13
+ if (typeof this['2p-solve-classic'] === 'undefined') {
14
+ throw new Error("Error loading module '2p-full'. Its dependency '2p-solve-classic' was not found. Please, check whether '2p-solve-classic' is loaded prior to '2p-full'.");
15
+ }
16
+ if (typeof this['2p-solve-problog'] === 'undefined') {
17
+ throw new Error("Error loading module '2p-full'. Its dependency '2p-solve-problog' was not found. Please, check whether '2p-solve-problog' is loaded prior to '2p-full'.");
18
+ }
19
+ if (typeof this['2p-solve-streams'] === 'undefined') {
20
+ throw new Error("Error loading module '2p-full'. Its dependency '2p-solve-streams' was not found. Please, check whether '2p-solve-streams' is loaded prior to '2p-full'.");
21
+ }
22
+ root['2p-full'] = factory(typeof this['2p-full'] === 'undefined' ? {} : this['2p-full'], this['2p-repl'], this['kt-math'], this['2p-solve-classic'], this['2p-solve-problog'], this['2p-solve-streams']);
23
+ }
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) {
2
25
  'use strict';
3
26
  //region block: imports
4
27
  var main = kotlin_it_unibo_tuprolog_repl.$_$.a;
@@ -9,13 +32,13 @@
9
32
  main(args);
10
33
  }
11
34
  //region block: exports
12
- kotlin_kt_math.$jsExportAll$(_);
35
+ kotlin_io_github_gciatto_kt_math.$jsExportAll$(_);
13
36
  kotlin_it_unibo_tuprolog_solve_classic.$jsExportAll$(_);
14
37
  kotlin_it_unibo_tuprolog_solve_problog.$jsExportAll$(_);
15
38
  kotlin_it_unibo_tuprolog_solve_streams.$jsExportAll$(_);
16
39
  //endregion
17
40
  main_0([]);
18
41
  return _;
19
- }(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')));
42
+ }));
20
43
 
21
44
  //# sourceMappingURL=2p-full.js.map
package/2p-full.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../src/jsMain/kotlin/it/unibo/tuprolog/PrologCLI.kt"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;IAG8B,KAAK,IAAL,C;;;;;;;;;;;"}
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;;;;;;;;;;"}