pareto 0.51.1 → 0.53.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 (109) hide show
  1. package/auto.dist/auto.globals.d.ts +22 -0
  2. package/auto.dist/auto.globals.js +2 -0
  3. package/auto.dist/index.d.ts +3 -0
  4. package/auto.dist/index.js +40 -0
  5. package/auto.dist/public/cosmos__2__pareto/auto.api.d.ts +6 -0
  6. package/auto.dist/public/cosmos__2__pareto/auto.api.js +3 -0
  7. package/auto.dist/public/cosmos__2__pareto/auto.implementation.d.ts +2 -0
  8. package/auto.dist/public/cosmos__2__pareto/auto.implementation.js +6 -0
  9. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.d.ts +3045 -0
  10. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.js +3 -0
  11. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.d.ts +29 -0
  12. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.js +3 -0
  13. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.d.ts +2 -0
  14. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.js +359 -0
  15. package/auto.dist/public/cosmos__2__pareto/index.d.ts +2 -0
  16. package/auto.dist/public/cosmos__2__pareto/index.js +19 -0
  17. package/auto.dist/public/fountain__pen/auto.api.d.ts +6 -0
  18. package/auto.dist/public/fountain__pen/auto.api.js +3 -0
  19. package/auto.dist/public/fountain__pen/auto.implementation.d.ts +2 -0
  20. package/auto.dist/public/fountain__pen/auto.implementation.js +6 -0
  21. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.d.ts +29 -0
  22. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.js +3 -0
  23. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.d.ts +9 -0
  24. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.js +3 -0
  25. package/auto.dist/public/fountain__pen/implementations/serialize.alg.d.ts +2 -0
  26. package/auto.dist/public/fountain__pen/implementations/serialize.alg.js +98 -0
  27. package/auto.dist/public/fountain__pen/index.d.ts +2 -0
  28. package/auto.dist/public/fountain__pen/index.js +19 -0
  29. package/auto.dist/public/glossaries/cosmos__type__system.d.ts +1760 -0
  30. package/auto.dist/public/glossaries/cosmos__type__system.js +3 -0
  31. package/auto.dist/public/glossaries/cosmos__type__system.shadow.d.ts +8 -0
  32. package/auto.dist/public/glossaries/cosmos__type__system.shadow.js +3 -0
  33. package/auto.dist/public/glossaries/pareto.d.ts +1267 -0
  34. package/auto.dist/public/glossaries/pareto.js +3 -0
  35. package/auto.dist/public/glossaries/pareto.shadow.d.ts +8 -0
  36. package/auto.dist/public/glossaries/pareto.shadow.js +3 -0
  37. package/auto.dist/public/pareto__2__typescript/auto.api.d.ts +6 -0
  38. package/auto.dist/public/pareto__2__typescript/auto.api.js +3 -0
  39. package/auto.dist/public/pareto__2__typescript/auto.implementation.d.ts +2 -0
  40. package/auto.dist/public/pareto__2__typescript/auto.implementation.js +6 -0
  41. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.d.ts +1318 -0
  42. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.js +3 -0
  43. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.d.ts +30 -0
  44. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.js +3 -0
  45. package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.d.ts +2 -0
  46. package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.js +510 -0
  47. package/auto.dist/public/pareto__2__typescript/index.d.ts +2 -0
  48. package/auto.dist/public/pareto__2__typescript/index.js +19 -0
  49. package/auto.dist/public/shorthands/pareto.d.ts +48 -0
  50. package/auto.dist/public/shorthands/pareto.js +241 -0
  51. package/auto.pareto/$.data.ts +45 -0
  52. package/auto.pareto/auto.dependencies/index.ts +9 -0
  53. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/$.data.ts +58 -0
  54. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +26 -0
  55. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/glossary.data.ts +76 -0
  56. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +21 -0
  57. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/array/glossary.data.ts +60 -0
  58. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/boolean/api.data.ts +21 -0
  59. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/boolean/glossary.data.ts +45 -0
  60. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/build/api.data.ts +25 -0
  61. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/build/glossary.data.ts +133 -0
  62. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +15 -0
  63. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +34 -0
  64. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/dictionary/api.data.ts +60 -0
  65. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/dictionary/glossary.data.ts +130 -0
  66. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +19 -0
  67. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +189 -0
  68. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +25 -0
  69. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +78 -0
  70. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +16 -0
  71. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +69 -0
  72. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/json/api.data.ts +16 -0
  73. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/json/glossary.data.ts +51 -0
  74. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/api.data.ts +15 -0
  75. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/glossary.data.ts +29 -0
  76. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/api.data.ts +18 -0
  77. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/glossary.data.ts +40 -0
  78. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +19 -0
  79. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +35 -0
  80. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +20 -0
  81. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +84 -0
  82. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +26 -0
  83. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +75 -0
  84. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/tostring/api.data.ts +19 -0
  85. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/tostring/glossary.data.ts +42 -0
  86. package/auto.pareto/auto.dependencies/res-typescript/$.data.ts +35 -0
  87. package/auto.pareto/auto.dependencies/res-typescript/modules/naming/api.data.ts +15 -0
  88. package/auto.pareto/auto.dependencies/res-typescript/modules/naming/glossary.data.ts +34 -0
  89. package/auto.pareto/auto.dependencies/res-typescript/modules/serialize/api.data.ts +18 -0
  90. package/auto.pareto/auto.dependencies/res-typescript/modules/serialize/glossary.data.ts +42 -0
  91. package/auto.pareto/glossaries/auto.cosmos_type_system.data.ts +1674 -0
  92. package/auto.pareto/glossaries/auto.pareto.data.ts +1283 -0
  93. package/auto.pareto/modules/cosmos2pareto/api.data.ts +18 -0
  94. package/auto.pareto/modules/cosmos2pareto/glossary.data.ts +41 -0
  95. package/auto.pareto/modules/fountain_pen/api.data.ts +17 -0
  96. package/auto.pareto/modules/fountain_pen/glossary.data.ts +32 -0
  97. package/auto.pareto/modules/pareto2typescript/api.data.ts +24 -0
  98. package/auto.pareto/modules/pareto2typescript/glossary.data.ts +47 -0
  99. package/package.json +25 -50
  100. package/README.md +0 -30
  101. package/dist/examples/UnsafePromise.d.ts +0 -0
  102. package/dist/examples/UnsafePromise.js +0 -2
  103. package/dist/examples/UnsafePromise.js.map +0 -1
  104. package/dist/src/index.d.ts +0 -2
  105. package/dist/src/index.js +0 -29
  106. package/dist/src/index.js.map +0 -1
  107. package/dist/test/index.d.ts +0 -0
  108. package/dist/test/index.js +0 -2
  109. package/dist/test/index.js.map +0 -1
@@ -0,0 +1,48 @@
1
+ import * as pt from 'pareto-core-types';
2
+ import * as g_pareto from "../glossaries/pareto";
3
+ type RawOrNormalDictionary<T> = {
4
+ [key: string]: T;
5
+ } | pt.Dictionary<T>;
6
+ type RawArray<T> = T[];
7
+ export declare function import_(path: string): g_pareto.D.Compilation__Unit.imports.DX;
8
+ export declare function call(typeargs: RawOrNormalDictionary<g_pareto.D.Type__Arguments.DX>, context: g_pareto.D.Expression, args: RawOrNormalDictionary<g_pareto.D.Expression.selection.tail.A.call._larguments.DX>): g_pareto.D.Expression.selection.tail.A;
9
+ export declare function property(name: string): g_pareto.D.Expression.selection.tail.A;
10
+ export declare function variable(mut: 'mutable' | 'const', type: null | g_pareto.D.Type, expr: g_pareto.D.Expression): g_pareto.D.Variables.DX;
11
+ export declare function type(typeparameters: RawOrNormalDictionary<g_pareto.D.Type__Parameters.DX>, type: g_pareto.D.Type): g_pareto.D.Namespace.types.DX;
12
+ export declare function block(variables: RawOrNormalDictionary<g_pareto.D.Variables.DX>, statements: RawArray<g_pareto.D.Statement__Block.statements.A>): g_pareto.D.Statement__Block;
13
+ export declare function ns(namespaces: RawOrNormalDictionary<g_pareto.D.Namespace.namespaces.DX>, types: RawOrNormalDictionary<g_pareto.D.Namespace.types.DX>, variables: RawOrNormalDictionary<g_pareto.D.Variables.DX>): g_pareto.D.Namespace;
14
+ export declare const sel: {
15
+ context: (tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression.selection;
16
+ parameter: (parameter: string, tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression.selection;
17
+ variable: (import_: null | string, nsPath: RawArray<g_pareto.D.Expression.selection.start.variable.namespace__path.A>, variable: string, tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression.selection;
18
+ };
19
+ export declare const e: {
20
+ array: (elements: RawArray<g_pareto.D.Expression.array__literal.A>) => g_pareto.D.Expression;
21
+ contextSelection: (tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression;
22
+ block: (block: g_pareto.D.Statement__Block) => g_pareto.D.Expression;
23
+ dictionary: (properties: RawOrNormalDictionary<g_pareto.D.Expression.dictionary__literal.DX>) => g_pareto.D.Expression;
24
+ group: (properties: RawOrNormalDictionary<g_pareto.D.Expression.dictionary__literal.DX>) => g_pareto.D.Expression;
25
+ implementMe: (message: string) => g_pareto.D.Expression;
26
+ nonTypedFunction: (hasparameters: boolean, block: g_pareto.D.Statement__Block) => g_pareto.D.Expression;
27
+ null: () => g_pareto.D.Expression;
28
+ parameterSelection: (parameter: string, tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression;
29
+ select: (type: g_pareto.D.Expression.selection) => g_pareto.D.Expression;
30
+ state: (state: string, data: g_pareto.D.Expression) => g_pareto.D.Expression;
31
+ string: (string: string) => g_pareto.D.Expression;
32
+ switch: (select: g_pareto.D.Expression, cases: RawOrNormalDictionary<g_pareto.D.Expression._lswitch.cases.DX>, default_: null | g_pareto.D.Expression) => g_pareto.D.Expression;
33
+ typedFunction: (typeparameters: RawOrNormalDictionary<g_pareto.D.Type__Parameters.DX>, contextparameter: g_pareto.D.Function__Signature.context__parameter, parameters: RawOrNormalDictionary<g_pareto.D.Function__Signature.parameters.DX>, returntype: null | g_pareto.D.Function__Signature.return__type.O, block: g_pareto.D.Statement__Block) => g_pareto.D.Expression;
34
+ variableSelection: (import_: null | string, nsPath: RawArray<g_pareto.D.Expression.selection.start.variable.namespace__path.A>, variable: string, tail: RawArray<g_pareto.D.Expression.selection.tail.A>) => g_pareto.D.Expression;
35
+ };
36
+ export declare const s: {
37
+ expr: (expr: g_pareto.D.Expression) => g_pareto.D.Statement__Block.statements.A;
38
+ return: (expr: g_pareto.D.Expression) => g_pareto.D.Statement__Block.statements.A;
39
+ };
40
+ export declare const t: {
41
+ function: (typeparameters: RawOrNormalDictionary<g_pareto.D.Type__Parameters.DX>, contextparameter: g_pareto.D.Function__Signature.context__parameter, parameters: RawOrNormalDictionary<g_pareto.D.Function__Signature.parameters.DX>, returntype: null | g_pareto.D.Function__Signature.return__type.O) => g_pareto.D.Type;
42
+ group: (members: RawOrNormalDictionary<g_pareto.D.Type.group.members.DX>) => g_pareto.D.Type;
43
+ null: () => g_pareto.D.Type;
44
+ parameter: (parameter: string) => g_pareto.D.Type;
45
+ string: () => g_pareto.D.Type;
46
+ typeSelection: (import_: null | string, nsPath: RawArray<g_pareto.D.Expression.selection.start.variable.namespace__path.A>, type: string, typeargs: RawOrNormalDictionary<g_pareto.D.Type__Arguments.DX>) => g_pareto.D.Type;
47
+ };
48
+ export {};
@@ -0,0 +1,241 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.t = exports.s = exports.e = exports.sel = void 0;
37
+ exports.import_ = import_;
38
+ exports.call = call;
39
+ exports.property = property;
40
+ exports.variable = variable;
41
+ exports.type = type;
42
+ exports.block = block;
43
+ exports.ns = ns;
44
+ const pa = __importStar(require("pareto-core-alg"));
45
+ const d = pa.wrapRawDictionary;
46
+ const a = pa.wrapRawArray;
47
+ function toNormalDict($) {
48
+ function isNormal($) {
49
+ return $.__forEach !== undefined && typeof $.__forEach === "function";
50
+ }
51
+ if (isNormal($)) {
52
+ return $;
53
+ }
54
+ else {
55
+ return d($);
56
+ }
57
+ }
58
+ function import_(path) {
59
+ return { 'path': path };
60
+ }
61
+ function call(typeargs, context, args) {
62
+ return ['call', {
63
+ 'type arguments': toNormalDict(typeargs),
64
+ 'context': context,
65
+ 'arguments': toNormalDict(args),
66
+ }];
67
+ }
68
+ function property(name) {
69
+ return ['member selection', name];
70
+ }
71
+ function variable(mut, type, expr) {
72
+ return {
73
+ 'mutable': mut === 'mutable',
74
+ 'type': type === null ? pa.notSet() : pa.set(type),
75
+ 'expression': expr
76
+ };
77
+ }
78
+ function type(typeparameters, type) {
79
+ return {
80
+ 'type': type,
81
+ 'type parameters': toNormalDict(typeparameters)
82
+ };
83
+ }
84
+ function block(variables, statements) {
85
+ return {
86
+ 'variables': toNormalDict(variables),
87
+ 'statements': a(statements),
88
+ };
89
+ }
90
+ function ns(namespaces, types, variables) {
91
+ return {
92
+ 'namespaces': toNormalDict(namespaces),
93
+ 'types': toNormalDict(types),
94
+ 'variables': toNormalDict(variables),
95
+ };
96
+ }
97
+ exports.sel = {
98
+ 'context': (tail) => {
99
+ return {
100
+ 'start': ['context', null],
101
+ 'tail': a(tail),
102
+ };
103
+ },
104
+ 'parameter': (parameter, tail) => {
105
+ return {
106
+ 'start': ['parameter', parameter],
107
+ 'tail': a(tail),
108
+ };
109
+ },
110
+ 'variable': (import_, nsPath, variable, tail) => {
111
+ return {
112
+ 'start': ['variable', {
113
+ 'import': import_ === null ? pa.notSet() : pa.set(import_),
114
+ 'namespace path': a(nsPath),
115
+ 'variable': variable,
116
+ }],
117
+ 'tail': a(tail),
118
+ };
119
+ },
120
+ };
121
+ exports.e = {
122
+ 'array': (elements) => {
123
+ return ['array literal', a(elements)];
124
+ },
125
+ 'contextSelection': (tail) => {
126
+ return ['selection', {
127
+ 'start': ['context', null],
128
+ 'tail': a(tail),
129
+ }];
130
+ },
131
+ 'block': (block) => {
132
+ return ['block', block];
133
+ },
134
+ 'dictionary': (properties) => {
135
+ return ['dictionary literal', toNormalDict(properties)];
136
+ },
137
+ 'group': (properties) => {
138
+ return ['group literal', toNormalDict(properties)];
139
+ },
140
+ 'implementMe': (message) => {
141
+ return ['implement me', message];
142
+ },
143
+ 'nonTypedFunction': (hasparameters, block) => {
144
+ return ['function', {
145
+ 'temp signature help': hasparameters ? ['has additional parameters', null] : ['has no additional parameters', null],
146
+ 'block': block,
147
+ }];
148
+ },
149
+ 'null': () => {
150
+ return ['null literal', null];
151
+ },
152
+ 'parameterSelection': (parameter, tail) => {
153
+ return ['selection', {
154
+ 'start': ['parameter', parameter],
155
+ 'tail': a(tail),
156
+ }];
157
+ },
158
+ 'select': (type) => {
159
+ return ['selection', type];
160
+ },
161
+ 'state': (state, data) => {
162
+ return ['state literal', {
163
+ 'state': state,
164
+ 'data': data
165
+ }];
166
+ },
167
+ 'string': (string) => {
168
+ return ['string literal', string];
169
+ },
170
+ 'switch': (select, cases, default_) => {
171
+ return ['switch', {
172
+ 'select': select,
173
+ 'cases': toNormalDict(cases),
174
+ 'default': default_ === null ? pa.notSet() : pa.set(default_)
175
+ }];
176
+ },
177
+ 'typedFunction': (typeparameters, contextparameter, parameters, returntype, block) => {
178
+ return ['function', {
179
+ 'temp signature help': ['typed', {
180
+ 'type parameters': toNormalDict(typeparameters),
181
+ 'context parameter': contextparameter,
182
+ 'parameters': toNormalDict(parameters),
183
+ 'return type': returntype === null ? pa.notSet() : pa.set(returntype),
184
+ }],
185
+ 'block': block,
186
+ }];
187
+ },
188
+ 'variableSelection': (import_, nsPath, variable, tail) => {
189
+ return ['selection', {
190
+ 'start': ['variable', {
191
+ 'import': import_ === null ? pa.notSet() : pa.set(import_),
192
+ 'namespace path': a(nsPath),
193
+ 'variable': variable,
194
+ }],
195
+ 'tail': a(tail),
196
+ }];
197
+ },
198
+ };
199
+ exports.s = {
200
+ 'expr': (expr) => {
201
+ return ['expression', expr];
202
+ },
203
+ 'return': (expr) => {
204
+ return ['return', {
205
+ 'expression': expr,
206
+ }];
207
+ },
208
+ };
209
+ exports.t = {
210
+ 'function': (typeparameters, contextparameter, parameters, returntype) => {
211
+ return ['function', {
212
+ 'type parameters': toNormalDict(typeparameters),
213
+ 'context parameter': contextparameter,
214
+ 'parameters': toNormalDict(parameters),
215
+ 'return type': returntype === null ? pa.notSet() : pa.set(returntype),
216
+ }];
217
+ },
218
+ 'group': (members) => {
219
+ return ['group', {
220
+ 'members': toNormalDict(members)
221
+ }];
222
+ },
223
+ 'null': () => {
224
+ return ['null', null];
225
+ },
226
+ 'parameter': (parameter) => {
227
+ return ['parameter selection', parameter];
228
+ },
229
+ 'string': () => {
230
+ return ['string', null];
231
+ },
232
+ 'typeSelection': (import_, nsPath, type, typeargs) => {
233
+ return ['type selection', {
234
+ 'import': import_ === null ? pa.notSet() : pa.set(import_),
235
+ 'namespace path': a(nsPath),
236
+ 'type': type,
237
+ 'type arguments': toNormalDict(typeargs),
238
+ }];
239
+ }
240
+ };
241
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyZXRvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3B1YmxpYy9zaG9ydGhhbmRzL3BhcmV0by50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUF1QkEsMEJBRUM7QUFFRCxvQkFVQztBQUNELDRCQUlDO0FBRUQsNEJBVUM7QUFFRCxvQkFRQztBQUVELHNCQVFDO0FBRUQsZ0JBVUM7QUF0RkQsb0RBQXFDO0FBS3JDLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQyxpQkFBaUIsQ0FBQTtBQUM5QixNQUFNLENBQUMsR0FBRyxFQUFFLENBQUMsWUFBWSxDQUFBO0FBS3pCLFNBQVMsWUFBWSxDQUFJLENBQTJCO0lBQ2hELFNBQVMsUUFBUSxDQUFDLENBQTJCO1FBQ3pDLE9BQU8sQ0FBQyxDQUFDLFNBQVMsS0FBSyxTQUFTLElBQUksT0FBTyxDQUFDLENBQUMsU0FBUyxLQUFLLFVBQVUsQ0FBQTtJQUN6RSxDQUFDO0lBQ0QsSUFBSSxRQUFRLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztRQUNkLE9BQU8sQ0FBQyxDQUFBO0lBQ1osQ0FBQztTQUFNLENBQUM7UUFDSixPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUNmLENBQUM7QUFDTCxDQUFDO0FBR0QsU0FBZ0IsT0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0FBQyxDQUFDLEVBQUUsQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDO2dCQUMxRCxnQkFBZ0IsRUFBRSxDQUFDLENBQUMsTUFBTSxDQUFDO2dCQUMzQixNQUFNLEVBQUUsSUFBSTtnQkFDWixnQkFBZ0IsRUFBRSxZQUFZLENBQUMsUUFBUSxDQUFDO2FBQzNDLENBQUMsQ0FBQTtJQUNOLENBQUM7Q0FDSixDQUFBIn0=
@@ -0,0 +1,45 @@
1
+ import * as pd from 'pareto-core-data'
2
+ import * as pt from 'pareto-core-types'
3
+
4
+ import * as g_project from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
5
+
6
+ const d = pd.d
7
+ import { } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
8
+
9
+ import { $ as d_cosmos_type_system } from "./glossaries/auto.cosmos_type_system.data"
10
+ import { $ as d_pareto } from "./glossaries/auto.pareto.data"
11
+
12
+ import { $ as d_fountain_pen } from "./modules/fountain_pen/api.data"
13
+ import { $ as d_cosmos2pareto } from "./modules/cosmos2pareto/api.data"
14
+ import { $ as d_pareto2typescript } from "./modules/pareto2typescript/api.data"
15
+
16
+
17
+ import { $ as d_dependencies } from "./auto.dependencies"
18
+
19
+ export const $: g_project.D.Library<pd.SourceLocation> = {
20
+ 'author': "Corno",
21
+ 'description': "",
22
+ 'license': "TBD",
23
+
24
+ 'type': ['pure', {
25
+ 'dependencies': d_dependencies,
26
+ }],
27
+ 'module sets': {
28
+ 'public': {
29
+ 'glossaries': d({
30
+ "cosmos type system": d_cosmos_type_system,
31
+ "pareto": d_pareto,
32
+ }),
33
+ 'modules': d({
34
+ "fountain pen": d_fountain_pen,
35
+ "cosmos 2 pareto": d_cosmos2pareto,
36
+ "pareto 2 typescript": d_pareto2typescript,
37
+ }),
38
+ },
39
+ 'private': {
40
+ 'glossaries': d({}),
41
+ 'modules': d({
42
+ }),
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,9 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { $ as dep_pareto_standard_impure_library } from './pareto-standard-impure-library/$.data'
4
+ import { $ as dep_res_typescript } from './res-typescript/$.data'
5
+
6
+ export const $ = pd.d({
7
+ 'pareto-standard-impure-library': { library: dep_pareto_standard_impure_library, version: '^0.9.0' },
8
+ 'res-typescript': { library: dep_res_typescript, version: '^0.35.0' },
9
+ })
@@ -0,0 +1,58 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import * as g_project from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
4
+
5
+ const d = pd.d
6
+ import { } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
7
+
8
+ import { $ as d_arithmetic } from "./modules/arithmetic/api.data"
9
+ import { $ as d_array } from "./modules/array/api.data"
10
+ import { $ as d_boolean } from "./modules/boolean/api.data"
11
+ import { $ as d_build } from "./modules/build/api.data"
12
+ import { $ as d_collation } from "./modules/collation/api.data"
13
+ import { $ as d_dictionary } from "./modules/dictionary/api.data"
14
+ import { $ as d_filesystem } from "./modules/filesystem/api.data"
15
+ import { $ as d_foreach } from "./modules/foreach/api.data"
16
+ import { $ as d_http } from "./modules/http/api.data"
17
+ import { $ as d_json } from "./modules/json/api.data"
18
+ import { $ as d_path } from "./modules/path/api.data"
19
+ import { $ as d_nested } from "./modules/nested/api.data"
20
+ import { $ as d_numerical_predicates } from "./modules/numerical_predicates/api.data"
21
+ import { $ as d_resolve } from "./modules/resolve/api.data"
22
+ import { $ as d_string } from "./modules/string/api.data"
23
+ import { $ as d_tostring } from "./modules/tostring/api.data"
24
+
25
+ export const $: g_project.D.Library<pd.SourceLocation> = {
26
+ 'author': "Corno",
27
+ 'description': "A library that contains very common functionality that cannot be implemented purely in Pareto",
28
+ 'license': "TBD",
29
+
30
+ 'type': ['impure', null],
31
+ 'module sets': {
32
+ 'public': {
33
+ 'glossaries': d({}),
34
+ 'modules': d({
35
+ "arithmetic": d_arithmetic,
36
+ "array": d_array,
37
+ "boolean": d_boolean,
38
+ "build": d_build,
39
+ "collation": d_collation,
40
+ "dictionary": d_dictionary,
41
+ "filesystem": d_filesystem,
42
+ "foreach": d_foreach,
43
+ "http": d_http,
44
+ "json": d_json,
45
+ "nested": d_nested,
46
+ "numerical predicates": d_numerical_predicates,
47
+ "path": d_path,
48
+ "resolve": d_resolve,
49
+ "string": d_string,
50
+ "tostring": d_tostring,
51
+ })
52
+ },
53
+ 'private': {
54
+ 'glossaries': d({}),
55
+ 'modules': d({}),
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,26 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
4
+
5
+ import * as g_project from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, type } from 'lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands'
9
+
10
+ export const $: g_project.D.API<pd.SourceLocation> = api(
11
+ glos,
12
+ {
13
+ "arrayMax": algorithm("ArrayMax", null, {}),
14
+ "arrayMin": algorithm("ArrayMin", null, {}),
15
+ "arraySum": algorithm("ArraySum", null, {}),
16
+ "dictionaryMax": algorithm("DictionaryMax", null, {}),
17
+ "dictionaryMin": algorithm("DictionaryMin", null, {}),
18
+ "dictionarySum": algorithm("DictionarySum", null, {}),
19
+ "divideWithRemainder": algorithm("DivideWithRemainder", null, {}),
20
+ "increment": algorithm("Increment", "IncrementConfig", {}),
21
+ "max": algorithm("Max", null, {}),
22
+ "array_multiply": algorithm("Array Multiply", null, {}),
23
+ "negate": algorithm("Negate", null, {}),
24
+ "subtract": algorithm("Subtract", null, {}),
25
+ }
26
+ )
@@ -0,0 +1,76 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, boolean, data, dictionary, externalTypeReference, group, member, number, optional, sfunction,
5
+ type, typeReference
6
+ } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
7
+
8
+ import * as g_glossary from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
9
+
10
+ const d = pd.d
11
+
12
+ export const $: g_glossary.D.Glossary<pd.SourceLocation> = {
13
+ 'glossary parameters': d({}),
14
+ 'imports': d({
15
+ }),
16
+ 'root': {
17
+ 'namespaces': d({}),
18
+ 'data types': d({
19
+ "Number": type(number()),
20
+ "OptionalNumber": type(optional(number())),
21
+ "NumberRange": type(array(number())),
22
+ "DivisionData": type(group({
23
+ "numerator": member(number()),
24
+ "denominator": member(number()),
25
+ })),
26
+ "NumberTuple": type(group({
27
+ "yin": member(number()),
28
+ "yang": member(number()),
29
+ })),
30
+ "DivisionResult": type(optional(group({
31
+ "quotient": member(number()),
32
+ "remainder": member(number()),
33
+
34
+ }))),
35
+ "SubtractData": type(group({
36
+ "minuend": member(number()),
37
+ "subtrahend": member(number()),
38
+ })),
39
+ "NumberDictionary": type(dictionary(number())),
40
+ "NumberArray": type(array(number())),
41
+
42
+ "IncrementConfig": type(group({
43
+ "stepsize": member(number())
44
+ }))
45
+ }),
46
+ },
47
+ 'interface types': d({}),
48
+ 'algorithm types': d({
49
+ "Increment": sfunction(typeReference("Number"), data(typeReference("Number"))),
50
+ "Array Multiply": sfunction(typeReference("Number"), data(typeReference("NumberRange"))),
51
+ "Negate": sfunction(typeReference("Number"), data(typeReference("Number"))),
52
+ /**
53
+ * if the denominator is 0, the return value is null
54
+ * (division by 0),
55
+ */
56
+ "DivideWithRemainder": sfunction(typeReference("DivisionResult"), data(typeReference("DivisionData"))),
57
+ /**
58
+ * calculates the max of an array of numbers. If there are no entries, the result value is 0
59
+ */
60
+ "ArrayMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
61
+ "ArrayMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
62
+ "ArraySum": sfunction(typeReference("Number"), data(typeReference("NumberArray"))),
63
+ /**
64
+ * calculates the max of a dictionary of number. If there are no entries, the result value is 0
65
+ */
66
+ "DictionaryMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
67
+ "DictionaryMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
68
+ /**
69
+ * calculates the max of a tuple of numbers
70
+ */
71
+ "DictionarySum": sfunction(typeReference("Number"), data(typeReference("NumberDictionary"))),
72
+
73
+ "Max": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
74
+ "Subtract": sfunction(typeReference("Number"), data(typeReference("SubtractData"))),
75
+ }),
76
+ }
@@ -0,0 +1,21 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
4
+
5
+ import * as g_project from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, type } from 'lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands'
9
+
10
+ export const $: g_project.D.API<pd.SourceLocation> = api(
11
+ glos,
12
+ {
13
+ "getLastElement": algorithm("GetLastElement", null, {}),
14
+ //FIXME "getElementAt": algorithm("GetElementAt", null, {}),
15
+ "getLength": algorithm("GetLength", null, {}),
16
+ "flattenArrayOfArrays": algorithm("FlattenArrayOfArrays", null, {}),
17
+ "push": algorithm("Push", null, {}),
18
+ "matchArrays": algorithm("MatchArrays", null, {}),
19
+
20
+ }
21
+ )
@@ -0,0 +1,60 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, data, dictionary, externalTypeReference, group, member, number, optional, parametrizedType, ref, sfunction,
5
+ type, typeParameter, typeReference
6
+ } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
7
+
8
+ import * as g_glossary from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
9
+
10
+ const d = pd.d
11
+
12
+ export const $: g_glossary.D.Glossary<pd.SourceLocation> = {
13
+ 'glossary parameters': d({}),
14
+ 'imports': d({
15
+ }),
16
+ 'root': {
17
+ 'namespaces': d({}),
18
+ 'data types': d({
19
+ "Length": type(number()),
20
+ "Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
21
+ "ArrayOfArrays": parametrizedType({ "Type": null }, array(ref(typeReference("Array", { "Type": typeParameter("Type") })))),
22
+ "GetElementAtData": parametrizedType({ "Type": null }, group({
23
+ "array": member(ref(typeReference("Array", { "Type": typeParameter("Type") }))),
24
+ "index": member(number()),
25
+ })),
26
+ "PushParameters": parametrizedType({ "Type": null }, group({
27
+ "array": member(ref(typeReference("Array", { "Type": typeParameter("Type") }))),
28
+ "element": member(ref(typeParameter("Type"))),
29
+ })),
30
+ "OptionalElement": parametrizedType({ "Type": null }, optional(ref(typeParameter("Type")))),
31
+
32
+
33
+ "ArrayTuple": parametrizedType({ "Benchmark": null, "Focus": null }, group({
34
+ "benchmark": member(ref(typeReference("Array", { "Type": typeParameter("Benchmark") }))),
35
+ "focus": member(ref(typeReference("Array", { "Type": typeParameter("Focus") }))),
36
+ })),
37
+
38
+ "MatchedArrays": parametrizedType({ "Benchmark": null, "Focus": null }, array(group({
39
+ "benchmark": member(ref(typeParameter("Benchmark"))),
40
+ "focus": member(ref(typeParameter("Focus"))),
41
+ }))),
42
+
43
+ }),
44
+ },
45
+ 'interface types': d({}),
46
+ 'algorithm types': d({
47
+ "GetElementAt": sfunction(typeParameter("Type"), data(typeReference("GetElementAtData", { "Type": typeParameter("Type") })), { "Type": null }),
48
+ "GetLastElement": sfunction(typeReference("OptionalElement", { "Type": typeParameter("Type") }), data(typeReference("Array", { "Type": typeParameter("Type") })), { "Type": null }),
49
+ "GetLength": sfunction(typeReference("Length"), data(typeReference("Array", { "Type": typeParameter("Type") })), { "Type": null }),
50
+ "FlattenArrayOfArrays": sfunction(typeReference("Array", { "Type": typeParameter("Type") }), data(typeReference("ArrayOfArrays", { "Type": typeParameter("Type") })), { "Type": null }),
51
+ "Push": sfunction(typeReference("Array", { "Type": typeParameter("Type") }), data(typeReference("PushParameters", { "Type": typeParameter("Type") })), { "Type": null }),
52
+
53
+
54
+ "MatchArrays": sfunction(
55
+ typeReference("MatchedArrays", { "Benchmark": typeParameter("Benchmark"), "Focus": typeParameter("Focus") }),
56
+ data(typeReference("ArrayTuple", { "Benchmark": typeParameter("Benchmark"), "Focus": typeParameter("Focus") })),
57
+ { "Benchmark": null, "Focus": null }
58
+ ),
59
+ }),
60
+ }
@@ -0,0 +1,21 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands"
4
+
5
+ import * as g_project from "lib-pareto-typescript-project/dist/modules/pareto_type_system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, type } from 'lib-pareto-typescript-project/dist/modules/pareto_type_system/shorthands'
9
+
10
+ export const $: g_project.D.API<pd.SourceLocation> = api(
11
+ glos,
12
+ {
13
+ "array_and": algorithm("Array And", null, {}),
14
+ "array_or": algorithm("Array Or", null, {}),
15
+ "array_xor": algorithm("Array Xor", null, {}),
16
+ "and": algorithm("And", null, {}),
17
+ "or": algorithm("Or", null, {}),
18
+ "xor": algorithm("Xor", null, {}),
19
+ "not": algorithm("Not", null, {}),
20
+ }
21
+ )