pareto 0.56.0 → 0.57.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/auto.dist/index.d.ts +3 -3
- package/auto.dist/index.js +5 -5
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.d.ts +45 -8
- package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.shadow.d.ts +4 -0
- package/auto.dist/public/modules/pareto2typescript/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +563 -0
- package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.js +1 -1
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.api.d.ts +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/typescript__naming}/auto.api.js +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.implementation.d.ts +2 -0
- package/auto.dist/public/modules/typescript__naming/auto.implementation.js +6 -0
- package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.d.ts +9 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.shadow.d.ts +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +248 -0
- package/auto.dist/public/{pareto__2__typescript → modules/typescript__naming}/index.js +1 -1
- package/auto.dist/public/modules/typescript__serialize/auto.api.d.ts +8 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__serialize}/auto.api.js +1 -1
- package/auto.dist/public/modules/typescript__serialize/auto.implementation.d.ts +4 -0
- package/auto.dist/public/modules/typescript__serialize/auto.implementation.js +10 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +11 -0
- package/auto.dist/public/{pareto__2__typescript → modules/typescript__serialize}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +11 -0
- package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.js +62 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.js +62 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.js +45 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
- package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +20 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__serialize}/index.js +1 -1
- package/auto.pareto/$.data.ts +5 -16
- package/auto.pareto/auto.dependencies/index.ts +6 -4
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +60 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +7 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/$.data.ts +58 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +26 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/glossary.data.ts +76 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +21 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/array/glossary.data.ts +60 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/boolean/api.data.ts +21 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/boolean/glossary.data.ts +45 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/build/api.data.ts +25 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/build/glossary.data.ts +133 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +34 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/dictionary/api.data.ts +60 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/dictionary/glossary.data.ts +130 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +189 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +25 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +78 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +69 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/json/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/json/glossary.data.ts +51 -0
- package/auto.pareto/{modules/fountain_pen → auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/nested}/api.data.ts +1 -3
- package/auto.pareto/{modules/fountain_pen → auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/nested}/glossary.data.ts +8 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/api.data.ts +18 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/glossary.data.ts +40 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +35 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +20 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +84 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +26 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +75 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/tostring/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/tostring/glossary.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/$.data.ts +35 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/naming/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/naming/glossary.data.ts +34 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/serialize/api.data.ts +18 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/serialize/glossary.data.ts +42 -0
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.cosmos_type_system.data.ts +19 -12
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +122 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +1025 -0
- package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts +3 -11
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data.ts +55 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +24 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +48 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/glossary.data.ts +73 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/glossary.data.ts +33 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/api.data.ts +26 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/glossary.data.ts +144 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +36 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +23 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +88 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +27 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +82 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +16 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +51 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/api.data.ts +18 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/glossary.data.ts +40 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +42 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +109 -0
- package/auto.pareto/modules/pareto2typescript/api.data.ts +8 -11
- package/auto.pareto/modules/pareto2typescript/glossary.data.ts +33 -22
- package/auto.pareto/modules/typescript_naming/api.data.ts +28 -0
- package/auto.pareto/modules/typescript_naming/glossary.data.ts +34 -0
- package/auto.pareto/modules/typescript_serialize/api.data.ts +17 -0
- package/auto.pareto/modules/typescript_serialize/glossary.data.ts +36 -0
- package/package.json +6 -5
- package/auto.dist/public/cosmos__2__pareto/auto.api.d.ts +0 -6
- package/auto.dist/public/cosmos__2__pareto/auto.implementation.d.ts +0 -2
- package/auto.dist/public/cosmos__2__pareto/auto.implementation.js +0 -6
- package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.d.ts +0 -3281
- package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.d.ts +0 -29
- package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.d.ts +0 -2
- package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.js +0 -359
- package/auto.dist/public/fountain__pen/auto.implementation.d.ts +0 -2
- package/auto.dist/public/fountain__pen/auto.implementation.js +0 -6
- package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.d.ts +0 -29
- package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/fountain__pen/implementations/serialize.alg.d.ts +0 -2
- package/auto.dist/public/fountain__pen/implementations/serialize.alg.js +0 -98
- package/auto.dist/public/glossaries/cosmos__type__system.d.ts +0 -1760
- package/auto.dist/public/glossaries/cosmos__type__system.js +0 -3
- package/auto.dist/public/glossaries/cosmos__type__system.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/cosmos__type__system.shadow.js +0 -3
- package/auto.dist/public/glossaries/grammar.d.ts +0 -260
- package/auto.dist/public/glossaries/grammar.js +0 -3
- package/auto.dist/public/glossaries/grammar.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/grammar.shadow.js +0 -3
- package/auto.dist/public/glossaries/liana.d.ts +0 -2433
- package/auto.dist/public/glossaries/liana.js +0 -3
- package/auto.dist/public/glossaries/liana.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/liana.shadow.js +0 -3
- package/auto.dist/public/glossaries/pareto.d.ts +0 -1503
- package/auto.dist/public/glossaries/pareto.js +0 -3
- package/auto.dist/public/glossaries/pareto.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/pareto.shadow.js +0 -3
- package/auto.dist/public/glossaries/tendril.d.ts +0 -1425
- package/auto.dist/public/glossaries/tendril.js +0 -3
- package/auto.dist/public/glossaries/tendril.shadow.d.ts +0 -8
- package/auto.dist/public/glossaries/tendril.shadow.js +0 -3
- package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.js +0 -3
- package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.js +0 -558
- package/auto.dist/public/shorthands/cosmos.d.ts +0 -50
- package/auto.dist/public/shorthands/cosmos.js +0 -512
- package/auto.dist/public/shorthands/grammar.d.ts +0 -13
- package/auto.dist/public/shorthands/grammar.js +0 -110
- package/auto.dist/public/shorthands/liana.d.ts +0 -66
- package/auto.dist/public/shorthands/liana.js +0 -728
- package/auto.dist/public/shorthands/pareto.d.ts +0 -48
- package/auto.dist/public/shorthands/pareto.js +0 -243
- package/auto.dist/public/shorthands/tendril.d.ts +0 -48
- package/auto.dist/public/shorthands/tendril.js +0 -402
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/implementations/serializeCompilationUnit.alg.d.ts +0 -0
- /package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/typescript__naming}/index.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/typescript__serialize}/index.d.ts +0 -0
- /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.grammar.data.ts +0 -0
- /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.liana.data.ts +0 -0
- /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.pareto.data.ts +0 -0
- /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.tendril.data.ts +0 -0
- /package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/api.data.ts +0 -0
package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
array, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, parametrizedType, ref, sfunction, string, taggedUnion, type, typeParameter, typeReference
|
|
4
|
+
array, data, dictionary, externalTypeReference, glossaryParameter, group, imp, member, null_, parametrizedType, ref, sfunction, string, taggedUnion, type, typeParameter, typeReference
|
|
5
5
|
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
6
|
|
|
7
7
|
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
@@ -14,16 +14,8 @@ const d = pd.d
|
|
|
14
14
|
export const $: g_glossary.D.Glossary = {
|
|
15
15
|
'glossary parameters': d({}),
|
|
16
16
|
'imports': d({
|
|
17
|
-
"pareto": {
|
|
18
|
-
|
|
19
|
-
'type arguments': d({
|
|
20
|
-
}),
|
|
21
|
-
},
|
|
22
|
-
"cosmos": {
|
|
23
|
-
'glossary': d_cosmos,
|
|
24
|
-
'type arguments': d({
|
|
25
|
-
}),
|
|
26
|
-
},
|
|
17
|
+
"pareto": imp(d_pareto, {}),
|
|
18
|
+
"cosmos": imp(d_cosmos, {}),
|
|
27
19
|
}),
|
|
28
20
|
'root': {
|
|
29
21
|
'namespaces': d({}),
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as pd from 'pareto-core-data'
|
|
4
|
+
|
|
5
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
import { $ as glos } from "./glossary.data"
|
|
10
|
+
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
11
|
+
|
|
12
|
+
export const $: g_project.D.API = api(
|
|
13
|
+
glos,
|
|
14
|
+
{
|
|
15
|
+
"indent": algorithm("Indent", null, {}),
|
|
16
|
+
"serialize": algorithm("Serialize", null, {}),
|
|
17
|
+
"stream": algorithm("Stream", null, {}),
|
|
18
|
+
}
|
|
19
|
+
)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
aInterface,
|
|
5
|
+
aInterfaceMethod,
|
|
6
|
+
aInterfaceReference,
|
|
7
|
+
array, data, dictionary, externalTypeReference, glossaryParameter, group, infInit, member, null_, number, parametrizedType, ref, sfunction, streamconsumer, string, taggedUnion, type, typeParameter, typeReference
|
|
8
|
+
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
9
|
+
|
|
10
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
11
|
+
const d = pd.d
|
|
12
|
+
|
|
13
|
+
export const $: g_glossary.D.Glossary = {
|
|
14
|
+
'glossary parameters': d({}),
|
|
15
|
+
'imports': d({
|
|
16
|
+
}),
|
|
17
|
+
'root': {
|
|
18
|
+
'namespaces': d({}),
|
|
19
|
+
'data types': d({
|
|
20
|
+
"Block": type(array(taggedUnion({
|
|
21
|
+
"nested line": ref(typeReference("Line")),
|
|
22
|
+
"line": string(),
|
|
23
|
+
}))),
|
|
24
|
+
"Line": type(array(taggedUnion({
|
|
25
|
+
"snippet": string(),
|
|
26
|
+
"indent": ref(typeReference("Block"))
|
|
27
|
+
}))),
|
|
28
|
+
"Lines": type(array(group({
|
|
29
|
+
"indentation": member(number()),
|
|
30
|
+
"text": member(string()),
|
|
31
|
+
}))),
|
|
32
|
+
"Indented Lines": type(array(string())),
|
|
33
|
+
"SerializeData": type(group({
|
|
34
|
+
"block": member(ref(typeReference("Block"))),
|
|
35
|
+
"indentation": member(string()),
|
|
36
|
+
})),
|
|
37
|
+
"IndentData": type(group({
|
|
38
|
+
"lines": member(ref(typeReference("Lines"))),
|
|
39
|
+
"indentation": member(string()),
|
|
40
|
+
})),
|
|
41
|
+
"String": type(string()),
|
|
42
|
+
}),
|
|
43
|
+
},
|
|
44
|
+
'interface types': d({
|
|
45
|
+
"Lines": aInterface(aInterfaceMethod(typeReference("Lines"))),
|
|
46
|
+
"Indented Lines": aInterface(streamconsumer(aInterfaceMethod(typeReference("String")), null)),
|
|
47
|
+
}),
|
|
48
|
+
'algorithm types': d({
|
|
49
|
+
"Indent": sfunction(typeReference("Indented Lines"), data(typeReference("IndentData"))),
|
|
50
|
+
"Serialize": sfunction(typeReference("Lines"), data(typeReference("Block"))),
|
|
51
|
+
"Stream": infInit(aInterfaceReference("Lines"), {
|
|
52
|
+
"handler": aInterfaceReference("Indented Lines")
|
|
53
|
+
}),
|
|
54
|
+
}),
|
|
55
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as pd from 'pareto-core-data'
|
|
4
|
+
|
|
5
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
import { $ as glos } from "./glossary.data"
|
|
10
|
+
|
|
11
|
+
export const $: g_project.D.API = api(
|
|
12
|
+
glos,
|
|
13
|
+
{
|
|
14
|
+
// "map": algorithm("Map", null, {
|
|
15
|
+
// // "resolveDictionary": sfunction("resolve", {}, "SafeResolveDictionary"),
|
|
16
|
+
// // // "decorateDictionaryEntriesWithKey": sfunction("foreach", {}, "DecorateDictionaryEntriesWithKey"),
|
|
17
|
+
// // // "buildDictionary": sfunction("build", {}, "BuildUnsafeDictionary"),
|
|
18
|
+
// // // "filter": sfunction("dictionary", {}, "Filter"),
|
|
19
|
+
// // // "isEmpty": sfunction("dictionary", {}, "IsEmpty"),
|
|
20
|
+
// // // "merge": sfunction("array", {}, "Merge"),
|
|
21
|
+
// // // "push": sfunction("array", {}, "Push"),
|
|
22
|
+
// }),
|
|
23
|
+
}
|
|
24
|
+
)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
array, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, number, parametrizedType, ref, sfunction, string, taggedUnion, type, typeParameter, typeReference
|
|
5
|
+
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
import { $ as d_liana } from "../../glossaries/auto.liana.data"
|
|
10
|
+
import { $ as d_tendril } from "../../glossaries/auto.tendril.data"
|
|
11
|
+
|
|
12
|
+
const d = pd.d
|
|
13
|
+
|
|
14
|
+
export const $: g_glossary.D.Glossary = {
|
|
15
|
+
'glossary parameters': d({}),
|
|
16
|
+
'imports': d({
|
|
17
|
+
"liana": {
|
|
18
|
+
'glossary': d_liana,
|
|
19
|
+
'type arguments': d({
|
|
20
|
+
}),
|
|
21
|
+
},
|
|
22
|
+
"tendril": {
|
|
23
|
+
'glossary': d_tendril,
|
|
24
|
+
'type arguments': d({
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
}),
|
|
28
|
+
'root': {
|
|
29
|
+
'namespaces': d({}),
|
|
30
|
+
'data types': d({
|
|
31
|
+
"TypeScript Location": type(group({
|
|
32
|
+
"file": member(string()),
|
|
33
|
+
"line": member(number()),
|
|
34
|
+
"column": member(number()),
|
|
35
|
+
}))
|
|
36
|
+
}),
|
|
37
|
+
},
|
|
38
|
+
'interface types': d({}),
|
|
39
|
+
'algorithm types': d({
|
|
40
|
+
"Map": sfunction(
|
|
41
|
+
//FIXME this function should reference to the libraries that don't have annotations.
|
|
42
|
+
//this function is designed not to be able to produce runtime errors, so no error info is needed
|
|
43
|
+
//However, the functionality to produce a resolved, annotationless library need to be written
|
|
44
|
+
externalTypeReference("tendril", "Type Library", { "Annotation": typeReference("TypeScript Location") }),
|
|
45
|
+
data(externalTypeReference("liana", "Type Library", { "Annotation": typeReference("TypeScript Location") }))
|
|
46
|
+
),
|
|
47
|
+
}),
|
|
48
|
+
}
|
package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/api.data.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as pd from 'pareto-core-data'
|
|
4
|
+
|
|
5
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
import { $ as glos } from "./glossary.data"
|
|
10
|
+
|
|
11
|
+
export const $: g_project.D.API = api(
|
|
12
|
+
glos,
|
|
13
|
+
{
|
|
14
|
+
"map": algorithm("Map", null, {})
|
|
15
|
+
}
|
|
16
|
+
)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
aInterface,
|
|
5
|
+
aInterfaceMethod,
|
|
6
|
+
aInterfaceReference,
|
|
7
|
+
array, boolean, data, dictionary, externalTypeReference, glossaryParameter, group, imp, infInit, member, null_, number, optional, parametrizedType, ref, sfunction, streamconsumer, string, taggedUnion, type, typeParameter, typeReference
|
|
8
|
+
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
9
|
+
|
|
10
|
+
import { $ as d_cosmos } from "../../glossaries/auto.cosmos_type_system.data"
|
|
11
|
+
import { $ as d_tendril } from "../../glossaries/auto.tendril_resolved.data"
|
|
12
|
+
|
|
13
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
14
|
+
const d = pd.d
|
|
15
|
+
|
|
16
|
+
export const $: g_glossary.D.Glossary = {
|
|
17
|
+
'glossary parameters': d({}),
|
|
18
|
+
'imports': d({
|
|
19
|
+
"cosmos": imp(d_cosmos, {}),
|
|
20
|
+
"tendril": imp(d_tendril, {}),
|
|
21
|
+
}),
|
|
22
|
+
'root': {
|
|
23
|
+
'namespaces': d({}),
|
|
24
|
+
'data types': d({
|
|
25
|
+
"MapData": type(group({
|
|
26
|
+
"mapped library": member(ref(typeReference("Mapped Library"))),
|
|
27
|
+
"settings": member(ref(typeReference("Mapping Settings"))),
|
|
28
|
+
})),
|
|
29
|
+
"Mapped Library": type(group({
|
|
30
|
+
"library": member(ref(externalTypeReference("tendril", "Type Library", {}))),
|
|
31
|
+
"terminal mapping": member(ref(typeReference("Terminal Mapping"))),
|
|
32
|
+
})),
|
|
33
|
+
|
|
34
|
+
"Terminal Mapping": type(dictionary(taggedUnion({
|
|
35
|
+
"boolean": null_(),
|
|
36
|
+
"number": null_(),
|
|
37
|
+
"string": null_(),
|
|
38
|
+
}))),
|
|
39
|
+
"Mapping Settings": type(group({
|
|
40
|
+
"annotations": member(boolean()),
|
|
41
|
+
"datamodel": member(optional(group({
|
|
42
|
+
"constraints mapping": member(group({
|
|
43
|
+
"terminal values": member(boolean()),
|
|
44
|
+
"constraints": member(optional(taggedUnion({
|
|
45
|
+
"optional": group({}),
|
|
46
|
+
"required": group({}),
|
|
47
|
+
}))),
|
|
48
|
+
})),
|
|
49
|
+
}))),
|
|
50
|
+
// "visitor interface": member(optional(group({
|
|
51
|
+
// "datamodel": member(taggedUnion({
|
|
52
|
+
// "internal": group({}),
|
|
53
|
+
// "exernal": group({
|
|
54
|
+
// "location": member(string()),
|
|
55
|
+
// }),
|
|
56
|
+
// })),
|
|
57
|
+
// }))),
|
|
58
|
+
// "algorithms": member(group({
|
|
59
|
+
// "serialize": member(optional(group({
|
|
60
|
+
// //data location,
|
|
61
|
+
// }))),
|
|
62
|
+
// //resolve
|
|
63
|
+
// })),
|
|
64
|
+
})),
|
|
65
|
+
}),
|
|
66
|
+
},
|
|
67
|
+
'interface types': d({
|
|
68
|
+
}),
|
|
69
|
+
'algorithm types': d({
|
|
70
|
+
"Map": sfunction(externalTypeReference("cosmos", "Glossary", {}), data(typeReference("MapData"))),
|
|
71
|
+
|
|
72
|
+
}),
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import * as pd from 'pareto-core-data'
|
|
4
|
+
|
|
5
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
import { $ as glos } from "./glossary.data"
|
|
10
|
+
|
|
11
|
+
export const $: g_project.D.API = api(
|
|
12
|
+
glos,
|
|
13
|
+
{
|
|
14
|
+
"createResolver": algorithm("CreateResolver", null, {})
|
|
15
|
+
}
|
|
16
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
aInterface,
|
|
5
|
+
aInterfaceMethod,
|
|
6
|
+
aInterfaceReference,
|
|
7
|
+
array, boolean, data, dictionary, externalTypeReference, glossaryParameter, group, imp, infInit, member, null_, number, optional, parametrizedType, ref, sfunction, streamconsumer, string, taggedUnion, type, typeParameter, typeReference
|
|
8
|
+
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
9
|
+
|
|
10
|
+
import { $ as d_pareto } from "../../glossaries/auto.pareto.data"
|
|
11
|
+
import { $ as d_tendril } from "../../glossaries/auto.tendril_resolved.data"
|
|
12
|
+
|
|
13
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
14
|
+
const d = pd.d
|
|
15
|
+
|
|
16
|
+
export const $: g_glossary.D.Glossary = {
|
|
17
|
+
'glossary parameters': d({}),
|
|
18
|
+
'imports': d({
|
|
19
|
+
"pareto": imp(d_pareto, {}),
|
|
20
|
+
"tendril": imp(d_tendril, {}),
|
|
21
|
+
}),
|
|
22
|
+
'root': {
|
|
23
|
+
'namespaces': d({}),
|
|
24
|
+
'data types': d({
|
|
25
|
+
|
|
26
|
+
}),
|
|
27
|
+
},
|
|
28
|
+
'interface types': d({
|
|
29
|
+
}),
|
|
30
|
+
'algorithm types': d({
|
|
31
|
+
"CreateResolver": sfunction(externalTypeReference("pareto", "Compilation Unit", {}), data(externalTypeReference("tendril", "Type Library", {}))),
|
|
32
|
+
}),
|
|
33
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
import { $ as d_glos } from "./glossary.data"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export const $: g_project.D.API = api(
|
|
12
|
+
d_glos,
|
|
13
|
+
{
|
|
14
|
+
"annotateTestResult": algorithm("Annotate TestResult", null, {}),
|
|
15
|
+
"serializeSummary": algorithm("Serialize Summary", null, {
|
|
16
|
+
// "add": libDep("pareto-standard-impure-library", "arithmetic", "Add", {}),
|
|
17
|
+
// "isZero": libDep("pareto-standard-impure-library", "numerical__predicates", "IsZero", {}),
|
|
18
|
+
// "negate": libDep("pareto-standard-impure-library", "arithmetic", "Negate", {}),
|
|
19
|
+
}),
|
|
20
|
+
"serializeTestResult": algorithm("Serialize TestResult", null, {
|
|
21
|
+
// "dictionaryForEach": libDep("pareto-standard-impure-library", "foreach", "DictionaryForEach", {}),
|
|
22
|
+
}),
|
|
23
|
+
"summarize": algorithm("Summarize", null, {}),
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
)
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
array, boolean, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, number, optional, parametrizedType, procedure, ref, sfunction, sInterface, sInterfaceMethod, sInterfaceReference, string, taggedUnion, type, typeParameter, typeReference
|
|
5
|
+
} from "pareto/auto.dist/public/shorthands/cosmos"
|
|
6
|
+
|
|
7
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
|
|
9
|
+
const d = pd.d
|
|
10
|
+
|
|
11
|
+
export const $: g_glossary.D.Glossary = {
|
|
12
|
+
'glossary parameters': d({}),
|
|
13
|
+
'imports': d({
|
|
14
|
+
}),
|
|
15
|
+
'root': {
|
|
16
|
+
'namespaces': d({
|
|
17
|
+
"intermediate": {
|
|
18
|
+
'namespaces': d({
|
|
19
|
+
|
|
20
|
+
}),
|
|
21
|
+
'data types': d({}),
|
|
22
|
+
},
|
|
23
|
+
"summary": {
|
|
24
|
+
'namespaces': d({
|
|
25
|
+
|
|
26
|
+
}),
|
|
27
|
+
'data types': d({}),
|
|
28
|
+
},
|
|
29
|
+
}),
|
|
30
|
+
'data types': d({
|
|
31
|
+
"Library": type(group({
|
|
32
|
+
"public": member(ref(typeReference("Module Set"))),
|
|
33
|
+
"private": member(ref(typeReference("Module Set"))),
|
|
34
|
+
})),
|
|
35
|
+
"Module Set": type(dictionary(ref(typeReference("Module")))),
|
|
36
|
+
"Module": type(dictionary(ref(typeReference("Algorithm")))),
|
|
37
|
+
"Algorithm": type(group({
|
|
38
|
+
"location": member(ref(typeReference("Source Location"))),
|
|
39
|
+
"tests": member(optional(dictionary(ref(typeReference("Test"))))),
|
|
40
|
+
})),
|
|
41
|
+
"Source Location": type(group({
|
|
42
|
+
"file": member(string()),
|
|
43
|
+
"line": member(number()),
|
|
44
|
+
"column": member(number()),
|
|
45
|
+
})),
|
|
46
|
+
"Test": type(array(ref(typeReference("Error")))),
|
|
47
|
+
"Error": type(taggedUnion({
|
|
48
|
+
"content": ref(typeReference("Compare Error"))
|
|
49
|
+
})),
|
|
50
|
+
"Compare Error": type(group({
|
|
51
|
+
"location": member(ref(typeReference("Source Location"))),
|
|
52
|
+
"path": member(string()),
|
|
53
|
+
"type": member(taggedUnion({
|
|
54
|
+
"wrong number": group({
|
|
55
|
+
"found": member(number()),
|
|
56
|
+
}),
|
|
57
|
+
"wrong text": group({
|
|
58
|
+
"found": member(string()),
|
|
59
|
+
}),
|
|
60
|
+
"wrong boolean": group({
|
|
61
|
+
"found": member(boolean())
|
|
62
|
+
}),
|
|
63
|
+
"optional value expected not to be set": null_(),
|
|
64
|
+
"optional value expected to be set": null_(),
|
|
65
|
+
"not the right state": group({
|
|
66
|
+
"found": member(string())
|
|
67
|
+
}),
|
|
68
|
+
"not enough elements": null_(),
|
|
69
|
+
"too many elements": null_(),
|
|
70
|
+
"superfluous entries": group({
|
|
71
|
+
"keys": member(dictionary(null_()))
|
|
72
|
+
}),
|
|
73
|
+
"missing dictionary entry": group({
|
|
74
|
+
"key": member(string()),
|
|
75
|
+
}),
|
|
76
|
+
})),
|
|
77
|
+
|
|
78
|
+
})),
|
|
79
|
+
"Summary": type(group({
|
|
80
|
+
"number of tests": member(number()),
|
|
81
|
+
"number of missing tests": member(number()),
|
|
82
|
+
"number of errors": member(number()),
|
|
83
|
+
})),
|
|
84
|
+
|
|
85
|
+
"String": type(string()),
|
|
86
|
+
|
|
87
|
+
"intLibrary": type(group({
|
|
88
|
+
"public": member(ref(typeReference("intModule Set"))),
|
|
89
|
+
"private": member(ref(typeReference("intModule Set"))),
|
|
90
|
+
})),
|
|
91
|
+
"intModule Set": type(dictionary(ref(typeReference("intModule")))),
|
|
92
|
+
"intModule": type(dictionary(ref(typeReference("intAlgorithm")))),
|
|
93
|
+
"intAlgorithm": type(group({
|
|
94
|
+
"location": member(ref(typeReference("Source Location"))),
|
|
95
|
+
"status": member(taggedUnion({
|
|
96
|
+
"no tests": null_(),
|
|
97
|
+
"skipped": null_(),
|
|
98
|
+
"has tests": dictionary(ref(typeReference("intTest"))),
|
|
99
|
+
})),
|
|
100
|
+
})),
|
|
101
|
+
"intTest": type(taggedUnion({
|
|
102
|
+
"has errors": array(ref(typeReference("Error"))),
|
|
103
|
+
"has no errors": null_(),
|
|
104
|
+
})),
|
|
105
|
+
"annotatedStatus": type(taggedUnion({
|
|
106
|
+
"has errors": null_(), // red
|
|
107
|
+
"missing tests": null_(), // yellow
|
|
108
|
+
"no tests": null_(), // grey
|
|
109
|
+
"success": null_(), // green
|
|
110
|
+
})),
|
|
111
|
+
"annotatedLibrary": type(group({
|
|
112
|
+
"public": member(ref(typeReference("annotatedModule Set"))),
|
|
113
|
+
"private": member(ref(typeReference("annotatedModule Set"))),
|
|
114
|
+
})),
|
|
115
|
+
"annotatedModule Set": type(group({
|
|
116
|
+
"status": member(ref(typeReference("annotatedStatus"))),
|
|
117
|
+
"modules": member(dictionary(ref(typeReference("annotatedModule")))),
|
|
118
|
+
})),
|
|
119
|
+
"annotatedModule": type(group({
|
|
120
|
+
"status": member(ref(typeReference("annotatedStatus"))),
|
|
121
|
+
"algorithms": member(dictionary(ref(typeReference("annotatedAlgorithm")))),
|
|
122
|
+
})),
|
|
123
|
+
"annotatedAlgorithm": type(group({
|
|
124
|
+
"location": member(ref(typeReference("Source Location"))),
|
|
125
|
+
"status": member(ref(typeReference("annotatedStatus"))),
|
|
126
|
+
"tests": member(dictionary(ref(typeReference("annotatedTest")))),
|
|
127
|
+
})),
|
|
128
|
+
"annotatedTest": type(group({
|
|
129
|
+
"status": member(ref(typeReference("annotatedStatus"))),
|
|
130
|
+
"errors": member(array(ref(typeReference("Error")))),
|
|
131
|
+
})),
|
|
132
|
+
}),
|
|
133
|
+
},
|
|
134
|
+
'interface types': d({
|
|
135
|
+
"Stringstream": sInterface(sInterfaceMethod(typeReference("String"))),
|
|
136
|
+
|
|
137
|
+
}),
|
|
138
|
+
'algorithm types': d({
|
|
139
|
+
"Annotate TestResult": sfunction(typeReference("annotatedLibrary"), data(typeReference("intLibrary"))),
|
|
140
|
+
"Summarize": sfunction(typeReference("Summary"), data(typeReference("intLibrary"))),
|
|
141
|
+
"Serialize Summary": procedure(data(typeReference("Summary")), sInterfaceReference("Stringstream")),
|
|
142
|
+
"Serialize TestResult": procedure(data(typeReference("annotatedLibrary")), sInterfaceReference("Stringstream")),
|
|
143
|
+
}),
|
|
144
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
4
|
+
|
|
5
|
+
const d = pd.d
|
|
6
|
+
import { } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
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_dictionary } from "./modules/dictionary/api.data"
|
|
13
|
+
import { $ as d_json } from "./modules/json/api.data"
|
|
14
|
+
import { $ as d_nested } from "./modules/nested/api.data"
|
|
15
|
+
import { $ as d_resolve } from "./modules/resolve/api.data"
|
|
16
|
+
import { $ as d_string } from "./modules/string/api.data"
|
|
17
|
+
import { $ as d_tostring } from "./modules/tostring/api.data"
|
|
18
|
+
|
|
19
|
+
export const $: g_project.D.Library = {
|
|
20
|
+
'author': "Corno",
|
|
21
|
+
'description': "A library that contains very common functionality that cannot be implemented purely in Pareto",
|
|
22
|
+
'license': "TBD",
|
|
23
|
+
|
|
24
|
+
'type': ['impure', null],
|
|
25
|
+
'module sets': {
|
|
26
|
+
'public': {
|
|
27
|
+
'glossaries': d({}),
|
|
28
|
+
'modules': d({
|
|
29
|
+
"arithmetic": d_arithmetic,
|
|
30
|
+
"array": d_array,
|
|
31
|
+
"boolean": d_boolean,
|
|
32
|
+
"build": d_build,
|
|
33
|
+
"dictionary": d_dictionary,
|
|
34
|
+
"json": d_json,
|
|
35
|
+
"nested": d_nested,
|
|
36
|
+
"resolve": d_resolve,
|
|
37
|
+
"string": d_string,
|
|
38
|
+
"tostring": d_tostring,
|
|
39
|
+
})
|
|
40
|
+
},
|
|
41
|
+
'private': {
|
|
42
|
+
'glossaries': d({}),
|
|
43
|
+
'modules': d({}),
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"divideWithRemainder": algorithm("DivideWithRemainder", null, {}),
|
|
14
|
+
"increment": algorithm("Increment", "IncrementConfig", {}),
|
|
15
|
+
"max": algorithm("Max", null, {}),
|
|
16
|
+
"negate": algorithm("Negate", null, {}),
|
|
17
|
+
"subtract": algorithm("Subtract", null, {}),
|
|
18
|
+
}
|
|
19
|
+
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts
ADDED
|
@@ -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 "pareto/auto.dist/public/shorthands/cosmos"
|
|
7
|
+
|
|
8
|
+
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
9
|
+
|
|
10
|
+
const d = pd.d
|
|
11
|
+
|
|
12
|
+
export const $: g_glossary.D.Glossary = {
|
|
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,19 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"flattenArrayOfArrays": algorithm("FlattenArrayOfArrays", null, {}),
|
|
14
|
+
"append": algorithm("Append", null, {}),
|
|
15
|
+
"prepend": algorithm("Prepend", null, {}),
|
|
16
|
+
"zip": algorithm("Zip", null, {}),
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
)
|