pareto 0.56.0 → 0.58.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 +5 -3
- package/auto.dist/index.js +7 -5
- package/auto.dist/public/modules/alan__light__serialize/auto.api.js +3 -0
- package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.js +1 -1
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.d.ts +705 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.js +3 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.d.ts +34 -0
- package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/alan__light__serialize/implementations/serialize.alg.js +115 -0
- package/auto.dist/public/modules/alan__light__serialize/index.js +19 -0
- 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 +529 -0
- package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.js +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.d.ts +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.js +1 -1
- package/auto.dist/public/modules/tendril2alan__light/auto.implementation.d.ts +2 -0
- package/auto.dist/public/modules/tendril2alan__light/auto.implementation.js +6 -0
- package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.d.ts +1583 -0
- package/auto.dist/public/{fountain__pen → modules/tendril2alan__light}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.provided_interface_glossary.shadow.d.ts +3 -3
- package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.shadow.js +3 -0
- package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.d.ts +2 -0
- package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.js +141 -0
- package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.js +1 -1
- package/auto.dist/public/modules/typescript__naming/auto.api.d.ts +6 -0
- package/auto.dist/public/{fountain__pen → 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/{pareto__2__typescript → 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/modules/typescript__naming/index.d.ts +2 -0
- package/auto.dist/public/{fountain__pen → modules/typescript__naming}/index.js +1 -1
- package/auto.dist/public/modules/typescript__serialize/auto.api.d.ts +8 -0
- package/auto.dist/public/modules/typescript__serialize/auto.api.js +3 -0
- 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/modules/typescript__serialize/auto.provided_interface_glossary.js +3 -0
- 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/modules/typescript__serialize/index.d.ts +2 -0
- package/auto.dist/public/modules/typescript__serialize/index.js +19 -0
- package/auto.pareto/$.data.ts +13 -19
- package/auto.pareto/auto.dependencies/index.ts +6 -4
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +65 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +7 -0
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/$.data.ts +3 -15
- 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-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/arithmetic/glossary.data.ts +2 -2
- 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-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/array/glossary.data.ts +11 -19
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/api.data.ts +5 -16
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/glossary.data.ts +9 -20
- 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-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/nested/glossary.data.ts +2 -2
- 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-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/glossary.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan.data.ts +441 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.data.ts +441 -0
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.cosmos_type_system.data.ts +20 -13
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +122 -0
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.grammar.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.liana.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.pareto.data.ts +1 -1
- package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.tendril.data.ts +18 -181
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +862 -0
- package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/api.data.ts +2 -2
- package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts +5 -13
- 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-standard-impure-library → pareto-subatomic-library}/modules/json/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/json/glossary.data.ts +8 -8
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/glossary.data.ts +2 -2
- 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/alan_light_serialize/api.data.ts +15 -0
- package/auto.pareto/modules/alan_light_serialize/glossary.data.ts +41 -0
- package/auto.pareto/modules/pareto2typescript/api.data.ts +10 -13
- package/auto.pareto/modules/pareto2typescript/glossary.data.ts +35 -24
- package/auto.pareto/modules/tendril2alan_light/api.data.ts +17 -0
- package/auto.pareto/modules/tendril2alan_light/glossary.data.ts +51 -0
- package/auto.pareto/modules/typescript_naming/api.data.ts +28 -0
- package/auto.pareto/{auto.dependencies/res-typescript/modules/naming → modules/typescript_naming}/glossary.data.ts +2 -2
- package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/api.data.ts +3 -4
- package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/glossary.data.ts +2 -8
- package/package.json +6 -5
- 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.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.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.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.pareto/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +0 -26
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +0 -21
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +0 -15
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +0 -34
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +0 -19
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +0 -189
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +0 -25
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +0 -78
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +0 -16
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +0 -69
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/api.data.ts +0 -15
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +0 -19
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +0 -35
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +0 -20
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +0 -84
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +0 -26
- package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +0 -75
- package/auto.pareto/auto.dependencies/res-typescript/$.data.ts +0 -35
- package/auto.pareto/auto.dependencies/res-typescript/modules/naming/api.data.ts +0 -15
- package/auto.pareto/modules/fountain_pen/api.data.ts +0 -17
- package/auto.pareto/modules/fountain_pen/glossary.data.ts +0 -32
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.api.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.d.ts +0 -0
- /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/implementations/serialize.alg.d.ts +0 -0
- /package/auto.dist/public/{cosmos__2__pareto → modules/alan__light__serialize}/index.d.ts +0 -0
- /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/{fountain__pen → modules/pareto2typescript}/index.d.ts +0 -0
- /package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.d.ts +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"join": algorithm("Join", null, {}),
|
|
14
|
+
"repeat": algorithm("Repeat", null, {}),
|
|
15
|
+
"foo": algorithm("Foo", null, {}),
|
|
16
|
+
}
|
|
17
|
+
)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
aInterface,
|
|
5
|
+
aInterfaceMethod,
|
|
6
|
+
aInterfaceReference,
|
|
7
|
+
array, boolean, data, group, member, number, optional, sfunction, streamconsumer, string, type, typeReference
|
|
8
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
11
|
+
|
|
12
|
+
const d = pd.d
|
|
13
|
+
|
|
14
|
+
export const $: g_glossary.D.Glossary = {
|
|
15
|
+
'glossary parameters': d({}),
|
|
16
|
+
'imports': d({
|
|
17
|
+
}),
|
|
18
|
+
'root': {
|
|
19
|
+
'namespaces': d({}),
|
|
20
|
+
'data types': d({
|
|
21
|
+
"String": type(string()),
|
|
22
|
+
"JoinData": type(group({
|
|
23
|
+
"first": member(string()),
|
|
24
|
+
"second": member(string()),
|
|
25
|
+
})),
|
|
26
|
+
"RepeatData": type(group({
|
|
27
|
+
"contextString": member(string()),
|
|
28
|
+
"times": member(number()),
|
|
29
|
+
})),
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
'interface types': d({}),
|
|
33
|
+
'algorithm types': d({
|
|
34
|
+
|
|
35
|
+
"Join": sfunction(typeReference("String"), data(typeReference("JoinData"))),
|
|
36
|
+
"Repeat": sfunction(typeReference("String"), data(typeReference("RepeatData"))),
|
|
37
|
+
"Foo": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
38
|
+
}),
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, member, type, group, string, optional, number } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
export const $: g_project.D.API = api(
|
|
10
|
+
glos,
|
|
11
|
+
{
|
|
12
|
+
"getArrayAsString": algorithm("GetArrayAsString", "Configuration", {}),
|
|
13
|
+
"getLengthAsString": algorithm("GetLengthAsString", null, {}),
|
|
14
|
+
"getKeysAsString": algorithm("GetKeysAsString", "Configuration", {}),
|
|
15
|
+
|
|
16
|
+
"getNumberOfKeysAsString": algorithm("GetNumberOfKeysAsString", null, {}),
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
array, data, dictionary, typeReference, group, member, null_, number, optional, sfunction, string, type,
|
|
5
|
+
parametrizedType,
|
|
6
|
+
ref,
|
|
7
|
+
typeParameter
|
|
8
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.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
|
+
"String": type(string()),
|
|
21
|
+
"Array": parametrizedType({ "T": null }, array(ref(typeParameter("T")))),
|
|
22
|
+
"StringArray": type(array(string())),
|
|
23
|
+
"Dictionary": parametrizedType({ "T": null }, dictionary(ref(typeParameter("T")))),
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
"Configuration": type(group({
|
|
27
|
+
"separator": member(string()),
|
|
28
|
+
"maximum": member(optional(group({
|
|
29
|
+
"maximum": member(number()),
|
|
30
|
+
"suffix": member(string()),
|
|
31
|
+
}))),
|
|
32
|
+
})),
|
|
33
|
+
}),
|
|
34
|
+
},
|
|
35
|
+
'interface types': d({}),
|
|
36
|
+
'algorithm types': d({
|
|
37
|
+
"GetLengthAsString": sfunction(typeReference("String"), data(typeReference("Array", { "T": typeParameter("T") })), { "T": null}),
|
|
38
|
+
"GetArrayAsString": sfunction(typeReference("String"), data(typeReference("StringArray"))),
|
|
39
|
+
"GetKeysAsString": sfunction(typeReference("String"), data(typeReference("Dictionary", { "T": typeParameter("T") })), { "T": null}),
|
|
40
|
+
"GetNumberOfKeysAsString": sfunction(typeReference("String"), data(typeReference("Dictionary", { "T": typeParameter("T") })), { "T": null}),
|
|
41
|
+
}),
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
4
|
+
|
|
5
|
+
const d = pd.d
|
|
6
|
+
import { } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
7
|
+
|
|
8
|
+
import { $ as d_array } from "./modules/array/api.data"
|
|
9
|
+
import { $ as d_dictionary } from "./modules/dictionary/api.data"
|
|
10
|
+
import { $ as d_json } from "./modules/json/api.data"
|
|
11
|
+
import { $ as d_numerical_predicates } from "./modules/numerical_predicates/api.data"
|
|
12
|
+
import { $ as d_string } from "./modules/string/api.data"
|
|
13
|
+
|
|
14
|
+
export const $: g_project.D.Library = {
|
|
15
|
+
'author': "Corno",
|
|
16
|
+
'description': "A library that contains common functionality that requires inspection of built in types, like the length of an array, patterns in a string, splitting strings, keys in dictionaries, etc.",
|
|
17
|
+
'license': "TBD",
|
|
18
|
+
|
|
19
|
+
'type': ['primitive', null],
|
|
20
|
+
'module sets': {
|
|
21
|
+
'public': {
|
|
22
|
+
'glossaries': d({}),
|
|
23
|
+
'modules': d({
|
|
24
|
+
"array": d_array,
|
|
25
|
+
"dictionary": d_dictionary,
|
|
26
|
+
"json": d_json,
|
|
27
|
+
"numerical predicates": d_numerical_predicates,
|
|
28
|
+
"string": d_string,
|
|
29
|
+
})
|
|
30
|
+
},
|
|
31
|
+
'private': {
|
|
32
|
+
'glossaries': d({}),
|
|
33
|
+
'modules': d({}),
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"enrichWithPositionInformation": algorithm("EnrichWithPositionInformation", null, {}),
|
|
14
|
+
"getPossibleLastElement": algorithm("GetPossibleLastElement", null, {}),
|
|
15
|
+
"getPossibleFirstElement": algorithm("GetPossibleFirstElement", null, {}),
|
|
16
|
+
"getPossibleElementAt": algorithm("GetPossibleElementAt", null, {}),
|
|
17
|
+
"isEmpty": algorithm("IsEmpty", null, {}),
|
|
18
|
+
"unsafeGetLastElement": algorithm("UnsafeGetLastElement", null, {}),
|
|
19
|
+
"unsafeGetFirstElement": algorithm("UnsafeGetFirstElement", null, {}),
|
|
20
|
+
"unsafeGetElementAt": algorithm("UnsafeGetElementAt", null, {}),
|
|
21
|
+
"getLength": algorithm("GetLength", null, {}),
|
|
22
|
+
}
|
|
23
|
+
)
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
array, boolean,
|
|
5
|
+
data, dictionary, externalTypeReference, group, member, number, optional, parametrizedType, ref, sfunction,
|
|
6
|
+
type, typeParameter, typeReference
|
|
7
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
8
|
+
|
|
9
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
10
|
+
|
|
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
|
+
"Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
|
|
21
|
+
"Boolean": type(boolean()),
|
|
22
|
+
"EnrichedArray": parametrizedType({ "Type": null }, array(group({
|
|
23
|
+
"value": member(ref(typeParameter("Type"))),
|
|
24
|
+
"isFirst": member(boolean()),
|
|
25
|
+
"isLast": member(boolean()),
|
|
26
|
+
"position": member(number()),
|
|
27
|
+
}))),
|
|
28
|
+
"GetElementAtData": parametrizedType({ "Type": null }, group({
|
|
29
|
+
"array": member(ref(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
30
|
+
"index": member(number()),
|
|
31
|
+
})),
|
|
32
|
+
"Length": type(number()),
|
|
33
|
+
"OptionalValue": parametrizedType({ "Type": null }, optional(ref(typeParameter("Type")))),
|
|
34
|
+
"Value": parametrizedType({ "Type": null }, ref(typeParameter("Type"))),
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
}),
|
|
39
|
+
},
|
|
40
|
+
'interface types': d({}),
|
|
41
|
+
'algorithm types': d({
|
|
42
|
+
"EnrichWithPositionInformation": sfunction(
|
|
43
|
+
typeReference("EnrichedArray", { "Type": typeParameter("Type") }),
|
|
44
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
45
|
+
{ "Type": null }
|
|
46
|
+
),
|
|
47
|
+
"GetPossibleElementAt": sfunction(
|
|
48
|
+
typeReference("OptionalValue", { "Type": typeParameter("Type") }),
|
|
49
|
+
data(typeReference("GetElementAtData", { "Type": typeParameter("Type") })),
|
|
50
|
+
{ "Type": null }
|
|
51
|
+
),
|
|
52
|
+
"GetPossibleLastElement": sfunction(
|
|
53
|
+
typeReference("OptionalValue", { "Type": typeParameter("Type") }),
|
|
54
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
55
|
+
{ "Type": null }
|
|
56
|
+
),
|
|
57
|
+
"GetPossibleFirstElement": sfunction(
|
|
58
|
+
typeReference("OptionalValue", { "Type": typeParameter("Type") }),
|
|
59
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
60
|
+
{ "Type": null }
|
|
61
|
+
),
|
|
62
|
+
"GetLength": sfunction(
|
|
63
|
+
typeReference("Length"),
|
|
64
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
65
|
+
{ "Type": null }
|
|
66
|
+
),
|
|
67
|
+
"IsEmpty": sfunction(
|
|
68
|
+
typeReference("Boolean"),
|
|
69
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
70
|
+
{ "Type": null }
|
|
71
|
+
),
|
|
72
|
+
"UnsafeGetElementAt": sfunction(
|
|
73
|
+
typeReference("Value", { "Type": typeParameter("Type") }),
|
|
74
|
+
data(typeReference("GetElementAtData", { "Type": typeParameter("Type") })),
|
|
75
|
+
{ "Type": null }
|
|
76
|
+
),
|
|
77
|
+
"UnsafeGetLastElement": sfunction(
|
|
78
|
+
typeReference("Value", { "Type": typeParameter("Type") }),
|
|
79
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
80
|
+
{ "Type": null }
|
|
81
|
+
),
|
|
82
|
+
"UnsafeGetFirstElement": sfunction(
|
|
83
|
+
typeReference("Value", { "Type": typeParameter("Type") }),
|
|
84
|
+
data(typeReference("Array", { "Type": typeParameter("Type") })),
|
|
85
|
+
{ "Type": null }
|
|
86
|
+
),
|
|
87
|
+
}),
|
|
88
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { aInterface, aInterfaceMethod, glossary, group, member, number, sInterface, sInterfaceMethod, streamconsumer, string, type, typeReference } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
/**
|
|
14
|
+
* does the dictionary contain the specified key
|
|
15
|
+
*/
|
|
16
|
+
"contains": algorithm("Contains", null, {}),
|
|
17
|
+
"getPossibleEntry": algorithm("GetPossibleEntry", null, {}),
|
|
18
|
+
/**
|
|
19
|
+
* is the dictionary empty (no entries)
|
|
20
|
+
*/
|
|
21
|
+
"isEmpty": algorithm("IsEmpty", null, {}),
|
|
22
|
+
|
|
23
|
+
"size": algorithm("Size", null, {}),
|
|
24
|
+
|
|
25
|
+
"unsafeGetEntry": algorithm("UnsafeGetEntry", null, {}),
|
|
26
|
+
}
|
|
27
|
+
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
dictionary,
|
|
5
|
+
typeReference,
|
|
6
|
+
data,
|
|
7
|
+
sfunction,
|
|
8
|
+
ref,
|
|
9
|
+
typeParameter,
|
|
10
|
+
externalTypeReference,
|
|
11
|
+
parametrizedType,
|
|
12
|
+
optional,
|
|
13
|
+
group,
|
|
14
|
+
member,
|
|
15
|
+
aInterface,
|
|
16
|
+
streamconsumer,
|
|
17
|
+
aInterfaceMethod,
|
|
18
|
+
type,
|
|
19
|
+
string,
|
|
20
|
+
boolean,
|
|
21
|
+
sInterface,
|
|
22
|
+
sInterfaceMethod,
|
|
23
|
+
number,
|
|
24
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
25
|
+
|
|
26
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
27
|
+
const d = pd.d
|
|
28
|
+
|
|
29
|
+
export const $: g_glossary.D.Glossary = {
|
|
30
|
+
'glossary parameters': d({}),
|
|
31
|
+
'imports': d({
|
|
32
|
+
}),
|
|
33
|
+
'root': {
|
|
34
|
+
'namespaces': d({}),
|
|
35
|
+
'data types': d({
|
|
36
|
+
"Boolean": type(boolean()),
|
|
37
|
+
"Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
|
|
38
|
+
"DictionaryAndKey": parametrizedType({ "Type": null }, group({
|
|
39
|
+
"dictionary": member(dictionary(ref(typeParameter("Type")))),
|
|
40
|
+
"key": member(string()),
|
|
41
|
+
})),
|
|
42
|
+
|
|
43
|
+
"Number": type(number()),
|
|
44
|
+
"PossibleValue": parametrizedType({ "Type": null }, optional(ref(typeParameter("Type")))),
|
|
45
|
+
"Value": parametrizedType({ "Type": null }, ref(typeParameter("Type"))),
|
|
46
|
+
|
|
47
|
+
}),
|
|
48
|
+
},
|
|
49
|
+
'interface types': d({
|
|
50
|
+
}),
|
|
51
|
+
'algorithm types': d({
|
|
52
|
+
"Contains": sfunction(
|
|
53
|
+
typeReference("Boolean"),
|
|
54
|
+
data(typeReference("DictionaryAndKey", { "Type": typeParameter("Type") })),
|
|
55
|
+
{ "Type": null }
|
|
56
|
+
),
|
|
57
|
+
|
|
58
|
+
"GetPossibleEntry": sfunction(
|
|
59
|
+
typeReference("PossibleValue", { "Type": typeParameter("Type") }),
|
|
60
|
+
data(typeReference("DictionaryAndKey", { "Type": typeParameter("Type") })),
|
|
61
|
+
{ "Type": null }
|
|
62
|
+
),
|
|
63
|
+
"IsEmpty": sfunction(
|
|
64
|
+
typeReference("Boolean"),
|
|
65
|
+
data(typeReference("Dictionary", { "Type": typeParameter("Type") })),
|
|
66
|
+
{ "Type": null }
|
|
67
|
+
),
|
|
68
|
+
|
|
69
|
+
"Size": sfunction(
|
|
70
|
+
typeReference("Number"),
|
|
71
|
+
data(typeReference("Dictionary", { "Type": typeParameter("Type") })),
|
|
72
|
+
{ "Type": null }
|
|
73
|
+
),
|
|
74
|
+
|
|
75
|
+
"UnsafeGetEntry": sfunction(
|
|
76
|
+
typeReference("Value", { "Type": typeParameter("Type") }),
|
|
77
|
+
data(typeReference("DictionaryAndKey", { "Type": typeParameter("Type") })),
|
|
78
|
+
{ "Type": null }
|
|
79
|
+
)
|
|
80
|
+
}),
|
|
81
|
+
|
|
82
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, sInterface, sInterfaceMethod, string, type, typeReference } from
|
|
8
|
+
import { glossary, group, member, number, sInterface, sInterfaceMethod, string, type, typeReference } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
9
|
|
|
10
10
|
export const $: g_project.D.API = api(
|
|
11
11
|
glos,
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
null_,
|
|
8
8
|
sInterface,
|
|
9
9
|
sInterfaceMethod
|
|
10
|
-
} from "pareto/auto.dist/public/shorthands/
|
|
10
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
11
11
|
|
|
12
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
12
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
13
13
|
|
|
14
14
|
const d = pd.d
|
|
15
15
|
|
|
@@ -22,13 +22,13 @@ export const $: g_glossary.D.Glossary = {
|
|
|
22
22
|
'data types': d({
|
|
23
23
|
"String": type(string()),
|
|
24
24
|
"Result": type(taggedUnion({
|
|
25
|
-
"success": ref(typeReference("
|
|
25
|
+
"success": ref(typeReference("Value")),
|
|
26
26
|
"error": string(),
|
|
27
27
|
})),
|
|
28
28
|
//"Result": type(ref(glossaryParameter("Type"))),
|
|
29
|
-
"
|
|
30
|
-
"object": dictionary(ref(typeReference("
|
|
31
|
-
"array": array(ref(typeReference("
|
|
29
|
+
"Value": type(taggedUnion({
|
|
30
|
+
"object": dictionary(ref(typeReference("Value"))),
|
|
31
|
+
"array": array(ref(typeReference("Value"))),
|
|
32
32
|
"string": string(),
|
|
33
33
|
"number": number(),
|
|
34
34
|
"boolean": boolean(),
|
|
@@ -45,7 +45,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
45
45
|
"ConvertJSON": sfunction(typeReference("Result"), data(typeReference("String"))),
|
|
46
46
|
|
|
47
47
|
/*use this one if the application may crash if the JSON is invalid*/
|
|
48
|
-
"UnsafeConvertJSON": sfunction(typeReference("
|
|
49
|
-
//"Convert": sfunction(typeReference("Result"), data(typeReference("
|
|
48
|
+
"UnsafeConvertJSON": sfunction(typeReference("Value"), data(typeReference("String"))),
|
|
49
|
+
//"Convert": sfunction(typeReference("Result"), data(typeReference("Value"))),
|
|
50
50
|
}),
|
|
51
51
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
|
-
import { glossary, group, member, number, type } from
|
|
8
|
+
import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
9
|
|
|
10
10
|
export const $: g_project.D.API = api(
|
|
11
11
|
glos,
|
|
@@ -3,9 +3,9 @@ import * as pd from 'pareto-core-data'
|
|
|
3
3
|
import {
|
|
4
4
|
array, boolean, data, dictionary, externalTypeReference, group, member, number, optional, sfunction,
|
|
5
5
|
type, typeReference
|
|
6
|
-
} from "pareto/auto.dist/public/shorthands/
|
|
6
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
7
7
|
|
|
8
|
-
import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
|
|
8
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
9
9
|
|
|
10
10
|
const d = pd.d
|
|
11
11
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"charCodeAt": algorithm("CharCodeAt", null, {}),
|
|
14
|
+
"endsWith": algorithm("EndsWith", null, {}),
|
|
15
|
+
"escape": algorithm("Escape", null, {}),
|
|
16
|
+
"fromCharacterArray": algorithm("FromCharacterArray", null, {}),
|
|
17
|
+
"fromCharacter": algorithm("FromCharacter", null, {}),
|
|
18
|
+
"includes": algorithm("Includes", null, {}),
|
|
19
|
+
"indexOf": algorithm("IndexOf", null, {}),
|
|
20
|
+
"length": algorithm("Length", null, {}),
|
|
21
|
+
"padEnd": algorithm("PadEnd", null, {}),
|
|
22
|
+
"padStart": algorithm("PadStart", null, {}),
|
|
23
|
+
"replaceAll": algorithm("ReplaceAll", null, {}),
|
|
24
|
+
"replaceFirst": algorithm("ReplaceFirst", null, {}),
|
|
25
|
+
"split": algorithm("Split", null, {}),
|
|
26
|
+
"splitIn2": algorithm("SplitIn2", null, {}),
|
|
27
|
+
"startsWith": algorithm("StartsWith", null, {}),
|
|
28
|
+
"substring": algorithm("Substring", null, {}),
|
|
29
|
+
"toCharacterArray": algorithm("ToCharacterArray", null, {}),
|
|
30
|
+
"unsafeCharCodeAt": algorithm("UnsafeCharCodeAt", null, {}),
|
|
31
|
+
|
|
32
|
+
"foobar": algorithm("Foobar", null, {}),
|
|
33
|
+
|
|
34
|
+
//candidates:
|
|
35
|
+
|
|
36
|
+
//"trimEnd": algorithm("TrimEnd", null, {}),
|
|
37
|
+
// lastIndexOf(searchValue[, fromIndex])
|
|
38
|
+
// Returns the last index of the specified value.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
aInterface,
|
|
5
|
+
aInterfaceMethod,
|
|
6
|
+
aInterfaceReference,
|
|
7
|
+
array, boolean, data, group, member, number, optional, sfunction, streamconsumer, string, type, typeReference
|
|
8
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
11
|
+
|
|
12
|
+
const d = pd.d
|
|
13
|
+
|
|
14
|
+
export const $: g_glossary.D.Glossary = {
|
|
15
|
+
'glossary parameters': d({}),
|
|
16
|
+
'imports': d({
|
|
17
|
+
}),
|
|
18
|
+
'root': {
|
|
19
|
+
'namespaces': d({}),
|
|
20
|
+
'data types': d({
|
|
21
|
+
"String": type(string()),
|
|
22
|
+
"Length": type(number()),
|
|
23
|
+
"Boolean": type(boolean()),
|
|
24
|
+
"Character Code": type(number()),
|
|
25
|
+
"Possible Character Code": type(optional(number())),
|
|
26
|
+
"Possible Position": type(optional(number())),
|
|
27
|
+
|
|
28
|
+
"CharacterCode At Data": type(group({
|
|
29
|
+
"contextString": member(string()),
|
|
30
|
+
"index": member(number()),
|
|
31
|
+
})),
|
|
32
|
+
"CharacterArray": type(array(number())),
|
|
33
|
+
"SplitData": type(group({
|
|
34
|
+
"contextString": member(string()),
|
|
35
|
+
"splitter": member(string()),
|
|
36
|
+
})),
|
|
37
|
+
"IncludesData": type(group({
|
|
38
|
+
"contextString": member(string()),
|
|
39
|
+
"searchString": member(string()),
|
|
40
|
+
})),
|
|
41
|
+
"SplitIn2Result": type(group({
|
|
42
|
+
"head": member(string()),
|
|
43
|
+
"tail": member(optional(string())),
|
|
44
|
+
})),
|
|
45
|
+
"SplitResult": type(array(string())),
|
|
46
|
+
"StartsWithData": type(group({
|
|
47
|
+
"contextString": member(string()),
|
|
48
|
+
"searchString": member(string()),
|
|
49
|
+
})),
|
|
50
|
+
"EndsWithData": type(group({
|
|
51
|
+
"contextString": member(string()),
|
|
52
|
+
"searchString": member(string()),
|
|
53
|
+
})),
|
|
54
|
+
"SubstringData": type(group({
|
|
55
|
+
"contextString": member(string()),
|
|
56
|
+
"begin": member(number()),
|
|
57
|
+
/**
|
|
58
|
+
* I'm deliberately choosing length over end here, because length will become a 'natural' in the future
|
|
59
|
+
* and then this function is guaranteed to not have a negative length.
|
|
60
|
+
* going with 'end' would require a check for negative values.
|
|
61
|
+
*/
|
|
62
|
+
"length": member(number()),
|
|
63
|
+
})),
|
|
64
|
+
"ReplaceData": type(group({
|
|
65
|
+
"contextString": member(string()),
|
|
66
|
+
"pattern": member(string()),
|
|
67
|
+
"replacement": member(string()),
|
|
68
|
+
})),
|
|
69
|
+
"EscapeParameters": type(group({
|
|
70
|
+
"contextString": member(string()),
|
|
71
|
+
"escape": member(string()),
|
|
72
|
+
"patterns to escape": member(array(string())),
|
|
73
|
+
})),
|
|
74
|
+
"PadData": type(group({
|
|
75
|
+
"contextString": member(string()),
|
|
76
|
+
"targetLength": member(number()),
|
|
77
|
+
"padString": member(string()),
|
|
78
|
+
})),
|
|
79
|
+
"IndexOfData": type(group({
|
|
80
|
+
"contextString": member(string()),
|
|
81
|
+
"searchString": member(string()),
|
|
82
|
+
})),
|
|
83
|
+
}),
|
|
84
|
+
},
|
|
85
|
+
'interface types': d({}),
|
|
86
|
+
'algorithm types': d({
|
|
87
|
+
"CharCodeAt": sfunction(typeReference("Possible Character Code"), data(typeReference("CharacterCode At Data"))),
|
|
88
|
+
"EndsWith": sfunction(typeReference("Boolean"), data(typeReference("EndsWithData"))),
|
|
89
|
+
"Escape": sfunction(typeReference("String"), data(typeReference("EscapeParameters"))),
|
|
90
|
+
"FromCharacter": sfunction(typeReference("String"), data(typeReference("Character Code"))),
|
|
91
|
+
"FromCharacterArray": sfunction(typeReference("String"), data(typeReference("CharacterArray"))),
|
|
92
|
+
"Includes": sfunction(typeReference("Boolean"), data(typeReference("IncludesData"))),
|
|
93
|
+
"IndexOf": sfunction(typeReference("Possible Position"), data(typeReference("IndexOfData"))),
|
|
94
|
+
"Length": sfunction(typeReference("Length"), data(typeReference("String"))),
|
|
95
|
+
"PadEnd": sfunction(typeReference("String"), data(typeReference("PadData"))),
|
|
96
|
+
"PadStart": sfunction(typeReference("String"), data(typeReference("PadData"))),
|
|
97
|
+
"ReplaceAll": sfunction(typeReference("String"), data(typeReference("ReplaceData"))),
|
|
98
|
+
"ReplaceFirst": sfunction(typeReference("String"), data(typeReference("ReplaceData"))),
|
|
99
|
+
"Split": sfunction(typeReference("SplitResult"), data(typeReference("SplitData"))),
|
|
100
|
+
"SplitIn2": sfunction(typeReference("SplitIn2Result"), data(typeReference("SplitData"))),
|
|
101
|
+
"StartsWith": sfunction(typeReference("Boolean"), data(typeReference("StartsWithData"))),
|
|
102
|
+
"Substring": sfunction(typeReference("String"), data(typeReference("SubstringData"))),
|
|
103
|
+
"ToCharacterArray": sfunction(typeReference("CharacterArray"), data(typeReference("String"))),
|
|
104
|
+
"UnsafeCharCodeAt": sfunction(typeReference("Character Code"), data(typeReference("CharacterCode At Data"))),
|
|
105
|
+
//"TrimEnd": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
106
|
+
|
|
107
|
+
"Foobar": sfunction(typeReference("String"), data(typeReference("String"))),
|
|
108
|
+
}),
|
|
109
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import { algorithm, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
4
|
+
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
6
|
+
|
|
7
|
+
import { $ as glos } from "./glossary.data"
|
|
8
|
+
import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
+
|
|
10
|
+
export const $: g_project.D.API = api(
|
|
11
|
+
glos,
|
|
12
|
+
{
|
|
13
|
+
"serialize": algorithm("Serialize", null, {}),
|
|
14
|
+
}
|
|
15
|
+
)
|