pareto 0.63.0 → 0.65.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/data/boekhouding.data.js +115 -115
- package/auto.dist/index.d.ts +1 -1
- package/auto.dist/index.js +3 -3
- package/auto.dist/public/modules/fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts/auto.api.js +3 -0
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.implementation.js +1 -1
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.provided_interface_glossary.d.ts +0 -4
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.provided_interface_glossary.js +1 -1
- package/auto.dist/public/modules/fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts/auto.provided_interface_glossary.shadow.d.ts +23 -0
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.provided_interface_glossary.shadow.js +1 -1
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/implementations/map__Block__2__Block.alg.js +1 -1
- package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/index.js +1 -1
- package/auto.dist/public/modules/main/auto.provided_interface_glossary.shadow.d.ts +5 -3
- package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.js +2 -2
- package/auto.dist/public/modules/pareto__2__fountain__pen/auto.provided_interface_glossary.d.ts +4 -10
- package/auto.dist/public/modules/pareto__2__fountain__pen/auto.provided_interface_glossary.shadow.d.ts +20 -30
- package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.provided_interface_glossary.d.ts +0 -4
- package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.provided_interface_glossary.shadow.d.ts +14 -20
- package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.shadow.d.ts +5 -3
- package/auto.pareto/$.data.ts +10 -2
- package/auto.pareto/auto.dependencies/index.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +15 -1
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +8 -0
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +6 -7
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +41 -27
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +7 -8
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +11 -3
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +6 -8
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +38 -17
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +10 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +34 -35
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +7 -8
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +28 -12
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +2 -3
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +21 -6
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +14 -12
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +6 -7
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +36 -19
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -1
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +20 -6
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/astn.data.ts +30 -17
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.data.ts +74 -116
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_type_system.data.ts +716 -561
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +10 -22
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.grammar.data.ts +35 -49
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.graphviz.data.ts +116 -182
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto.data.ts +315 -431
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.semantic_versioning.data.ts +101 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril.data.ts +253 -393
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +208 -284
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_directory.data.ts +25 -14
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data.ts +30 -16
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file_with_escaped_strings.data.ts +31 -16
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/lines.data.ts +20 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/testresult.data.ts +74 -57
- package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/nested/glossary.data.ts → pareto-pure/glossaries/text.data.ts} +44 -25
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts +38 -23
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +17 -10
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +20 -9
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_graphviz/api.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_graphviz/glossary.data.ts +21 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_pareto/api.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_pareto/glossary.data.ts +22 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_typescript_2_fountain_pen_directory/api.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_typescript_2_fountain_pen_directory/glossary.data.ts +24 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/glossary.data.ts +23 -8
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/api.data.ts +2 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/glossary.data.ts +27 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +17 -10
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript_intermediate/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript_intermediate/glossary.data.ts +17 -19
- package/auto.pareto/auto.dependencies/pareto-pure/{auto.dependencies/pareto-standard-library/modules/nested → modules/semantic_versioning_from_text}/api.data.ts +4 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/semantic_versioning_from_text/glossary.data.ts +49 -0
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_alan_light/api.data.ts +1 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_alan_light/glossary.data.ts +2 -19
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_cosmos_type_system/api.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_cosmos_type_system/glossary.data.ts +32 -17
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_pareto/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_pareto/glossary.data.ts +21 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/api.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/glossary.data.ts +80 -57
- package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +8 -0
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +6 -7
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +41 -27
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +7 -8
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +11 -3
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +6 -8
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +38 -17
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +10 -11
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +34 -35
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +7 -8
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +28 -12
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +2 -3
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +21 -6
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +14 -12
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +6 -7
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +36 -19
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -1
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +20 -6
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +8 -0
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/glossaries/lines.data.ts +10 -15
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +7 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +15 -15
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/api.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +21 -21
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +34 -34
- package/auto.pareto/modules/{string_aware_fountain_pen_2 fountain_pen/api.data.ts → fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/api.data.ts} +1 -2
- package/auto.pareto/modules/{string_aware_fountain_pen_2 fountain_pen/glossary.data.ts → fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/glossary.data.ts} +2 -2
- package/auto.pareto/modules/main/api.data.ts +1 -1
- package/auto.pareto/modules/main/glossary.data.ts +11 -6
- package/auto.pareto/modules/pareto_2_fountain_pen/api.data.ts +1 -2
- package/auto.pareto/modules/pareto_2_fountain_pen/glossary.data.ts +18 -20
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen/api.data.ts +4 -5
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen/glossary.data.ts +18 -11
- package/auto.pareto/modules/typescript_naming/api.data.ts +1 -2
- package/auto.pareto/modules/typescript_naming/glossary.data.ts +17 -8
- package/package.json +5 -5
- package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/auto.api.js +0 -3
- package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/auto.provided_interface_glossary.shadow.d.ts +0 -29
- package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map.alg.d.ts +0 -0
- package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map.alg.js +0 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +0 -25
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +0 -14
- /package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.api.d.ts +0 -0
- /package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/auto.implementation.d.ts +0 -0
- /package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/implementations/map__Block__2__Block.alg.d.ts +0 -0
- /package/auto.dist/public/modules/{string__aware__fountain__pen__2__fountain__pen → fountain__pen__indented__file__2__fountain__pen__indented__file__with__escaped__texts}/index.d.ts +0 -0
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
10
|
imp,
|
|
11
|
-
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
12
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
13
24
|
|
|
14
25
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
@@ -22,18 +33,18 @@ export const $: g_glossary.D.Glossary = {
|
|
|
22
33
|
'glossary parameters': d({
|
|
23
34
|
}),
|
|
24
35
|
'imports': d({
|
|
25
|
-
"fp": imp(d_fountain_pen, {}),
|
|
36
|
+
"fp": imp(d_fountain_pen['data glossary'], {}),
|
|
26
37
|
}),
|
|
27
38
|
'root': {
|
|
28
39
|
'namespaces': d({}),
|
|
29
40
|
'data types': d({
|
|
30
41
|
"Directory": type(group({
|
|
31
|
-
"nodes": member(dictionary(
|
|
32
|
-
"allowed manual":
|
|
33
|
-
"allowed automatic":
|
|
34
|
-
"file":
|
|
35
|
-
"template":
|
|
36
|
-
"directory":
|
|
42
|
+
"nodes": member(dictionary(stateGroup({
|
|
43
|
+
"allowed manual": nothing(),
|
|
44
|
+
"allowed automatic": nothing(),
|
|
45
|
+
"file": component(externalTypeReference("fp", "Block")),
|
|
46
|
+
"template": component(externalTypeReference("fp", "Block")),
|
|
47
|
+
"directory": component(typeReference("Directory")),
|
|
37
48
|
})))
|
|
38
49
|
}))
|
|
39
50
|
}),
|
package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data.ts
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
8
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
|
-
|
|
10
24
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
11
25
|
const d = pd.d
|
|
12
26
|
|
|
@@ -18,27 +32,27 @@ export const $: g_glossary.D.Glossary = {
|
|
|
18
32
|
'root': {
|
|
19
33
|
'namespaces': d({}),
|
|
20
34
|
'data types': d({
|
|
21
|
-
"Block": type(
|
|
22
|
-
"nested line":
|
|
23
|
-
"line":
|
|
35
|
+
"Block": type(list(stateGroup({
|
|
36
|
+
"nested line": component(typeReference("Line")),
|
|
37
|
+
"line": text(),
|
|
24
38
|
/**
|
|
25
39
|
* this one can be used to make code generation easier.
|
|
26
40
|
* it will be inlined
|
|
27
41
|
*/
|
|
28
|
-
"sub block":
|
|
42
|
+
"sub block": component(typeReference("Block")),
|
|
29
43
|
}))),
|
|
30
|
-
"Line": type(
|
|
31
|
-
"snippet":
|
|
32
|
-
"indent":
|
|
44
|
+
"Line": type(list(stateGroup({
|
|
45
|
+
"snippet": text(),
|
|
46
|
+
"indent": component(typeReference("Block")),
|
|
33
47
|
/**
|
|
34
48
|
* this one can be used to make code generation easier.
|
|
35
49
|
* it will be inlined
|
|
36
50
|
*/
|
|
37
|
-
"sub line":
|
|
51
|
+
"sub line": component(typeReference("Line")),
|
|
38
52
|
}))),
|
|
39
|
-
"Lines": type(
|
|
40
|
-
"indentation": member(
|
|
41
|
-
"text": member(
|
|
53
|
+
"Lines": type(list(group({
|
|
54
|
+
"indentation": member(integer()),
|
|
55
|
+
"text": member(text()),
|
|
42
56
|
}))),
|
|
43
57
|
}),
|
|
44
58
|
},
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
8
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
24
|
|
|
10
25
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
@@ -18,20 +33,20 @@ export const $: g_glossary.D.Glossary = {
|
|
|
18
33
|
'root': {
|
|
19
34
|
'namespaces': d({}),
|
|
20
35
|
'data types': d({
|
|
21
|
-
"Block": type(
|
|
22
|
-
"nested line":
|
|
23
|
-
"line":
|
|
36
|
+
"Block": type(list(stateGroup({
|
|
37
|
+
"nested line": component(typeReference("Line")),
|
|
38
|
+
"line": text(),
|
|
24
39
|
}))),
|
|
25
|
-
"Line": type(
|
|
26
|
-
"snippet":
|
|
27
|
-
"apostrophed string":
|
|
28
|
-
"quoted string":
|
|
29
|
-
"backticked string":
|
|
30
|
-
"indent":
|
|
40
|
+
"Line": type(list(stateGroup({
|
|
41
|
+
"snippet": text(),
|
|
42
|
+
"apostrophed string": text(),
|
|
43
|
+
"quoted string": text(),
|
|
44
|
+
"backticked string": text(),
|
|
45
|
+
"indent": component(typeReference("Block"))
|
|
31
46
|
}))),
|
|
32
|
-
"Lines": type(
|
|
33
|
-
"indentation": member(
|
|
34
|
-
"text": member(
|
|
47
|
+
"Lines": type(list(group({
|
|
48
|
+
"indentation": member(integer()),
|
|
49
|
+
"text": member(text()),
|
|
35
50
|
}))),
|
|
36
51
|
}),
|
|
37
52
|
},
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
8
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
24
|
|
|
10
25
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
@@ -18,7 +33,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
18
33
|
'root': {
|
|
19
34
|
'namespaces': d({}),
|
|
20
35
|
'data types': d({
|
|
21
|
-
"Lines": type(
|
|
36
|
+
"Lines": type(list(text())),
|
|
22
37
|
}),
|
|
23
38
|
},
|
|
24
39
|
},
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
5
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
6
|
-
|
|
7
24
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
8
25
|
|
|
9
26
|
const d = pd.d
|
|
@@ -30,103 +47,103 @@ export const $: g_glossary.D.Glossary = {
|
|
|
30
47
|
}),
|
|
31
48
|
'data types': d({
|
|
32
49
|
"Library": type(group({
|
|
33
|
-
"public": member(
|
|
34
|
-
"private": member(
|
|
50
|
+
"public": member(component(typeReference("Module Set"))),
|
|
51
|
+
"private": member(component(typeReference("Module Set"))),
|
|
35
52
|
})),
|
|
36
|
-
"Module Set": type(dictionary(
|
|
37
|
-
"Module": type(dictionary(
|
|
53
|
+
"Module Set": type(dictionary(component(typeReference("Module")))),
|
|
54
|
+
"Module": type(dictionary(component(typeReference("Algorithm")))),
|
|
38
55
|
"Algorithm": type(group({
|
|
39
|
-
"location": member(
|
|
40
|
-
"tests": member(optional(dictionary(
|
|
56
|
+
"location": member(component(typeReference("Source Location"))),
|
|
57
|
+
"tests": member(optional(dictionary(component(typeReference("Test"))))),
|
|
41
58
|
})),
|
|
42
59
|
"Source Location": type(group({
|
|
43
|
-
"file": member(
|
|
44
|
-
"line": member(
|
|
45
|
-
"column": member(
|
|
60
|
+
"file": member(text()),
|
|
61
|
+
"line": member(integer()),
|
|
62
|
+
"column": member(integer()),
|
|
46
63
|
})),
|
|
47
|
-
"Test": type(
|
|
48
|
-
"Error": type(
|
|
49
|
-
"content":
|
|
64
|
+
"Test": type(list(component(typeReference("Error")))),
|
|
65
|
+
"Error": type(stateGroup({
|
|
66
|
+
"content": component(typeReference("Compare Error"))
|
|
50
67
|
})),
|
|
51
68
|
"Compare Error": type(group({
|
|
52
|
-
"location": member(
|
|
53
|
-
"path": member(
|
|
54
|
-
"type": member(
|
|
69
|
+
"location": member(component(typeReference("Source Location"))),
|
|
70
|
+
"path": member(text()),
|
|
71
|
+
"type": member(stateGroup({
|
|
55
72
|
"wrong number": group({
|
|
56
|
-
"found": member(
|
|
73
|
+
"found": member(integer()),
|
|
57
74
|
}),
|
|
58
75
|
"wrong text": group({
|
|
59
|
-
"found": member(
|
|
76
|
+
"found": member(text()),
|
|
60
77
|
}),
|
|
61
78
|
"wrong boolean": group({
|
|
62
79
|
"found": member(boolean())
|
|
63
80
|
}),
|
|
64
|
-
"optional value expected not to be set":
|
|
65
|
-
"optional value expected to be set":
|
|
81
|
+
"optional value expected not to be set": nothing(),
|
|
82
|
+
"optional value expected to be set": nothing(),
|
|
66
83
|
"not the right state": group({
|
|
67
|
-
"found": member(
|
|
84
|
+
"found": member(text())
|
|
68
85
|
}),
|
|
69
|
-
"not enough elements":
|
|
70
|
-
"too many elements":
|
|
86
|
+
"not enough elements": nothing(),
|
|
87
|
+
"too many elements": nothing(),
|
|
71
88
|
"superfluous entries": group({
|
|
72
|
-
"keys": member(dictionary(
|
|
89
|
+
"keys": member(dictionary(nothing()))
|
|
73
90
|
}),
|
|
74
91
|
"missing dictionary entry": group({
|
|
75
|
-
"key": member(
|
|
92
|
+
"key": member(text()),
|
|
76
93
|
}),
|
|
77
94
|
})),
|
|
78
95
|
|
|
79
96
|
})),
|
|
80
97
|
"Summary": type(group({
|
|
81
|
-
"number of tests": member(
|
|
82
|
-
"number of missing tests": member(
|
|
83
|
-
"number of errors": member(
|
|
98
|
+
"number of tests": member(integer()),
|
|
99
|
+
"number of missing tests": member(integer()),
|
|
100
|
+
"number of errors": member(integer()),
|
|
84
101
|
})),
|
|
85
102
|
|
|
86
103
|
"intLibrary": type(group({
|
|
87
|
-
"public": member(
|
|
88
|
-
"private": member(
|
|
104
|
+
"public": member(component(typeReference("intModule Set"))),
|
|
105
|
+
"private": member(component(typeReference("intModule Set"))),
|
|
89
106
|
})),
|
|
90
|
-
"intModule Set": type(dictionary(
|
|
91
|
-
"intModule": type(dictionary(
|
|
107
|
+
"intModule Set": type(dictionary(component(typeReference("intModule")))),
|
|
108
|
+
"intModule": type(dictionary(component(typeReference("intAlgorithm")))),
|
|
92
109
|
"intAlgorithm": type(group({
|
|
93
|
-
"location": member(
|
|
94
|
-
"status": member(
|
|
95
|
-
"no tests":
|
|
96
|
-
"skipped":
|
|
97
|
-
"has tests": dictionary(
|
|
110
|
+
"location": member(component(typeReference("Source Location"))),
|
|
111
|
+
"status": member(stateGroup({
|
|
112
|
+
"no tests": nothing(),
|
|
113
|
+
"skipped": nothing(),
|
|
114
|
+
"has tests": dictionary(component(typeReference("intTest"))),
|
|
98
115
|
})),
|
|
99
116
|
})),
|
|
100
|
-
"intTest": type(
|
|
101
|
-
"has errors":
|
|
102
|
-
"has no errors":
|
|
117
|
+
"intTest": type(stateGroup({
|
|
118
|
+
"has errors": list(component(typeReference("Error"))),
|
|
119
|
+
"has no errors": nothing(),
|
|
103
120
|
})),
|
|
104
|
-
"annotatedStatus": type(
|
|
105
|
-
"has errors":
|
|
106
|
-
"missing tests":
|
|
107
|
-
"no tests":
|
|
108
|
-
"success":
|
|
121
|
+
"annotatedStatus": type(stateGroup({
|
|
122
|
+
"has errors": nothing(), // red
|
|
123
|
+
"missing tests": nothing(), // yellow
|
|
124
|
+
"no tests": nothing(), // grey
|
|
125
|
+
"success": nothing(), // green
|
|
109
126
|
})),
|
|
110
127
|
"annotatedLibrary": type(group({
|
|
111
|
-
"public": member(
|
|
112
|
-
"private": member(
|
|
128
|
+
"public": member(component(typeReference("annotatedModule Set"))),
|
|
129
|
+
"private": member(component(typeReference("annotatedModule Set"))),
|
|
113
130
|
})),
|
|
114
131
|
"annotatedModule Set": type(group({
|
|
115
|
-
"status": member(
|
|
116
|
-
"modules": member(dictionary(
|
|
132
|
+
"status": member(component(typeReference("annotatedStatus"))),
|
|
133
|
+
"modules": member(dictionary(component(typeReference("annotatedModule")))),
|
|
117
134
|
})),
|
|
118
135
|
"annotatedModule": type(group({
|
|
119
|
-
"status": member(
|
|
120
|
-
"algorithms": member(dictionary(
|
|
136
|
+
"status": member(component(typeReference("annotatedStatus"))),
|
|
137
|
+
"algorithms": member(dictionary(component(typeReference("annotatedAlgorithm")))),
|
|
121
138
|
})),
|
|
122
139
|
"annotatedAlgorithm": type(group({
|
|
123
|
-
"location": member(
|
|
124
|
-
"status": member(
|
|
125
|
-
"tests": member(dictionary(
|
|
140
|
+
"location": member(component(typeReference("Source Location"))),
|
|
141
|
+
"status": member(component(typeReference("annotatedStatus"))),
|
|
142
|
+
"tests": member(dictionary(component(typeReference("annotatedTest")))),
|
|
126
143
|
})),
|
|
127
144
|
"annotatedTest": type(group({
|
|
128
|
-
"status": member(
|
|
129
|
-
"errors": member(
|
|
145
|
+
"status": member(component(typeReference("annotatedStatus"))),
|
|
146
|
+
"errors": member(list(component(typeReference("Error")))),
|
|
130
147
|
})),
|
|
131
148
|
}),
|
|
132
149
|
},
|
|
@@ -1,25 +1,44 @@
|
|
|
1
|
-
import * as pd from 'pareto-core-data'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import * as pd from 'pareto-core-data'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
23
|
+
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
24
|
+
|
|
25
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
26
|
+
const d = pd.d
|
|
27
|
+
|
|
28
|
+
export const $: g_glossary.D.Glossary = {
|
|
29
|
+
'data glossary': {
|
|
30
|
+
'glossary parameters': d({}),
|
|
31
|
+
'imports': d({
|
|
32
|
+
}),
|
|
33
|
+
'root': {
|
|
34
|
+
'namespaces': d({}),
|
|
35
|
+
'data types': d({
|
|
36
|
+
"Text": type(text()),
|
|
37
|
+
}),
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
'interface types': d({
|
|
41
|
+
}),
|
|
42
|
+
'algorithm types': d({
|
|
43
|
+
}),
|
|
44
|
+
}
|
package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
6
|
+
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
17
|
+
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
20
|
+
type,
|
|
21
|
+
typeParameter,
|
|
22
|
+
typeReference,
|
|
8
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
24
|
|
|
10
25
|
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
|
|
@@ -18,48 +33,48 @@ export const $: g_glossary.D.Glossary = {
|
|
|
18
33
|
'root': {
|
|
19
34
|
'namespaces': d({}),
|
|
20
35
|
'data types': d({
|
|
21
|
-
"Block": type(
|
|
22
|
-
"nested line":
|
|
23
|
-
"line":
|
|
36
|
+
"Block": type(list(stateGroup({
|
|
37
|
+
"nested line": component(typeReference("Line")),
|
|
38
|
+
"line": text(),
|
|
24
39
|
|
|
25
40
|
//specials
|
|
26
41
|
|
|
27
42
|
/**
|
|
28
43
|
* this one can be used to transform a dictionary into an array of blocks. The order is not controllable.
|
|
29
44
|
*/
|
|
30
|
-
"block dictionary": dictionary(
|
|
45
|
+
"block dictionary": dictionary(component(typeReference("Block"))),
|
|
31
46
|
}))),
|
|
32
|
-
"Line": type(
|
|
33
|
-
"snippet":
|
|
34
|
-
"indent":
|
|
47
|
+
"Line": type(list(stateGroup({
|
|
48
|
+
"snippet": text(),
|
|
49
|
+
"indent": component(typeReference("Block")),
|
|
35
50
|
|
|
36
51
|
//specials
|
|
37
|
-
"apostrophed string":
|
|
38
|
-
"quoted string":
|
|
39
|
-
"backticked string":
|
|
40
|
-
"identifier":
|
|
52
|
+
"apostrophed string": text(),
|
|
53
|
+
"quoted string": text(),
|
|
54
|
+
"backticked string": text(),
|
|
55
|
+
"identifier": text(),
|
|
41
56
|
// /**
|
|
42
57
|
// * this one is necessary because TypeScript does not allow trailing commas in certain places.
|
|
43
58
|
// * for example in type arguments.
|
|
44
59
|
// */
|
|
45
|
-
// "array without trailing commas":
|
|
60
|
+
// "array without trailing commas": list(component(typeReference("Line"))),
|
|
46
61
|
/**
|
|
47
62
|
* this one can be used to transform a dictionary into an array of line parts. The order is not controllable.
|
|
48
63
|
* typescript sometimes handles empty dictoinaries in impure ways and sometimes doesn't accept a trailing comma.
|
|
49
64
|
*/
|
|
50
65
|
"line dictionary": group({
|
|
51
|
-
"dictionary": member(dictionary(
|
|
52
|
-
"if empty": member(
|
|
66
|
+
"dictionary": member(dictionary(component(typeReference("Line")))),
|
|
67
|
+
"if empty": member(component(typeReference("Line"))),
|
|
53
68
|
"if not empty": member(group({
|
|
54
|
-
"prefix": member(
|
|
55
|
-
"suffix": member(
|
|
69
|
+
"prefix": member(component(typeReference("Line"))),
|
|
70
|
+
"suffix": member(component(typeReference("Line"))),
|
|
56
71
|
"add commas in between": member(boolean()),
|
|
57
72
|
})),
|
|
58
73
|
}),
|
|
59
74
|
}))),
|
|
60
|
-
"Lines": type(
|
|
61
|
-
"indentation": member(
|
|
62
|
-
"text": member(
|
|
75
|
+
"Lines": type(list(group({
|
|
76
|
+
"indentation": member(integer()),
|
|
77
|
+
"text": member(text()),
|
|
63
78
|
}))),
|
|
64
79
|
}),
|
|
65
80
|
},
|
|
@@ -5,7 +5,6 @@ import { algorithm, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_t
|
|
|
5
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 "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
9
8
|
|
|
10
9
|
export const $: g_project.D.API = api(
|
|
11
10
|
glos,
|
|
@@ -15,6 +14,6 @@ export const $: g_project.D.API = api(
|
|
|
15
14
|
* Serialization to this format can be done in a pure way.
|
|
16
15
|
* serialization from this format to an array of strings is not pure, specifically for 1 reason so far: apostrophed strings.
|
|
17
16
|
*/
|
|
18
|
-
"map Root 2 Block": algorithm("Map Root 2 Block",
|
|
17
|
+
"map Root 2 Block": algorithm("Map Root 2 Block", {}),
|
|
19
18
|
}
|
|
20
19
|
)
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
+
boolean,
|
|
5
|
+
component,
|
|
4
6
|
data,
|
|
7
|
+
dictionary,
|
|
8
|
+
externalTypeReference,
|
|
9
|
+
group,
|
|
10
|
+
imp,
|
|
11
|
+
integer,
|
|
12
|
+
list,
|
|
13
|
+
member,
|
|
14
|
+
nothing,
|
|
15
|
+
optional,
|
|
16
|
+
parametrizedType,
|
|
5
17
|
sfunction,
|
|
18
|
+
stateGroup,
|
|
19
|
+
text,
|
|
6
20
|
type,
|
|
7
|
-
|
|
21
|
+
typeParameter,
|
|
8
22
|
typeReference,
|
|
9
|
-
member,
|
|
10
|
-
string,
|
|
11
|
-
dictionary,
|
|
12
|
-
null_,
|
|
13
|
-
array,
|
|
14
|
-
imp,
|
|
15
|
-
externalTypeReference,
|
|
16
23
|
} from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
|
|
17
24
|
|
|
18
25
|
import { $ as d_in } from "../../glossaries/auto.alan_light.data"
|
|
@@ -25,8 +32,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
25
32
|
'data glossary': {
|
|
26
33
|
'glossary parameters': d({}),
|
|
27
34
|
'imports': d({
|
|
28
|
-
"in": imp(d_in, {}),
|
|
29
|
-
"out": imp(d_out, {}),
|
|
35
|
+
"in": imp(d_in['data glossary'], {}),
|
|
36
|
+
"out": imp(d_out['data glossary'], {}),
|
|
30
37
|
}),
|
|
31
38
|
'root': {
|
|
32
39
|
'namespaces': d({}),
|