pareto 0.73.0 → 0.75.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 +7 -7
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.api.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.implementation.d.ts +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.implementation.js +4 -4
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/auto.provided_interface_glossary.d.ts +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 +1 -1
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/transform_Block_2_Block.alg.d.ts +2 -0
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/{map_Block_2_Block.alg.js → transform_Block_2_Block.alg.js} +1 -1
- package/auto.dist/public/modules/main/implementations/temp$_compile$_boekhouding.alg.js +6 -6
- package/auto.dist/public/modules/pareto_3gl_high_2_lines/implementations/compilation_Unit_2_Indented_Lines.alg.js +5 -5
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.api.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.implementation.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.implementation.js +4 -4
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.provided_interface_glossary.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/auto.provided_interface_glossary.shadow.d.ts +1 -1
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/transform_Block_2_Block.alg.d.ts +2 -0
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/transform_Block_2_Block.alg.js +95 -0
- package/auto.pareto/$.data.ts +1 -1
- package/auto.pareto/auto.dependencies/index.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +94 -24
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +25 -8
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +17 -17
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +23 -9
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +46 -41
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +19 -19
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +24 -9
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +7 -11
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +8 -4
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +29 -15
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +16 -16
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/astn.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.constrained_with_terminal_values.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.possibly_constrained.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.boekhouding.unconstrained_with_annotations.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.grammar.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.graphviz.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.html.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.constrained_with_terminal_values.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_schema.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_3gl_high.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_4gl_type_system.temp_in_between.data.ts +8 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.pareto_4gl_typescript.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.railroad_diagram.temp_in_between.data.ts +241 -0
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.semantic_versioning.temp_in_between.data.ts +1 -1
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_directory.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file_with_escaped_strings.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/liana_project.data.ts +12 -12
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/lines.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/testresult.data.ts +37 -37
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/text.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/xml.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_indented_file_2_fountain_pen_indented_file/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/api.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_lines_2_lines/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_fountain_pen_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/html_2_xml/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/html_2_xml/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_project_2_pareto_3gl_high/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_project_2_pareto_3gl_high/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_alan_light/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_alan_light/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_3gl_high/api.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_3gl_high/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_4gl_type_system/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/liana_schema_2_pareto_4gl_type_system/glossary.data.ts +15 -15
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_3gl_high_2_typescript_intermediate/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_3gl_high_2_typescript_intermediate/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_graphviz/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_graphviz/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_indented_file_with_escaped_strings/api.data.ts +3 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_indented_file_with_escaped_strings/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_pareto_3gl_high/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_pareto_3gl_high/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_typescript_intermediate/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_type_system_2_typescript_intermediate/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_typescript_2_fountain_pen_directory/api.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_4gl_typescript_2_fountain_pen_directory/glossary.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/semantic_versioning_from_text/api.data.ts +5 -3
- package/auto.pareto/auto.dependencies/pareto-pure/modules/semantic_versioning_from_text/glossary.data.ts +4 -4
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/api.data.ts +6 -6
- package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult_2_testresult/glossary.data.ts +37 -37
- package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +25 -8
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +17 -17
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +23 -9
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/api.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +11 -11
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +46 -41
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +19 -19
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/api.data.ts +24 -9
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts +7 -11
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +8 -4
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +29 -15
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +16 -16
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +2 -2
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/glossaries/lines.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +33 -12
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +9 -9
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +19 -15
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +5 -5
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/api.data.ts +6 -4
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts +7 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +13 -10
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +3 -3
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/api.data.ts +15 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/glossary.data.ts +7 -7
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +56 -20
- package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +29 -29
- package/auto.pareto/modules/filesystem_naming/api.data.ts +8 -3
- package/auto.pareto/modules/filesystem_naming/glossary.data.ts +5 -5
- package/auto.pareto/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/api.data.ts +3 -3
- package/auto.pareto/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/glossary.data.ts +3 -3
- package/auto.pareto/modules/main/api.data.ts +5 -3
- package/auto.pareto/modules/main/glossary.data.ts +4 -4
- package/auto.pareto/modules/pareto_3gl_high_2_lines/api.data.ts +5 -6
- package/auto.pareto/modules/pareto_3gl_high_2_lines/glossary.data.ts +4 -4
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen_indented_file/api.data.ts +15 -11
- package/auto.pareto/modules/typescript_intermediate_2_fountain_pen_indented_file/glossary.data.ts +4 -4
- package/auto.pareto/modules/typescript_naming/api.data.ts +14 -16
- package/auto.pareto/modules/typescript_naming/glossary.data.ts +3 -3
- package/package.json +5 -5
- package/auto.dist/public/modules/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/map_Block_2_Block.alg.d.ts +0 -2
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/map_Block_2_Block.alg.d.ts +0 -2
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/map_Block_2_Block.alg.js +0 -95
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.possibly_constrained.data.ts +0 -1050
- package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana_resolver.unconstrained_with_annotations.data.ts +0 -1035
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
|
|
26
26
|
const d = pd.d
|
|
27
27
|
|
|
@@ -42,8 +42,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
42
42
|
"ZippedArray": parametrizedType(
|
|
43
43
|
{ "Benchmark": null, "Focus": null },
|
|
44
44
|
list(group({
|
|
45
|
-
"benchmark":
|
|
46
|
-
"focus":
|
|
45
|
+
"benchmark": prop(component(typeParameter("Benchmark"))),
|
|
46
|
+
"focus": prop(component(typeParameter("Focus"))),
|
|
47
47
|
}))
|
|
48
48
|
),
|
|
49
49
|
|
|
@@ -55,22 +55,22 @@ export const $: g_glossary.D.Glossary = {
|
|
|
55
55
|
"AppendParameters": parametrizedType(
|
|
56
56
|
{ "Type": null },
|
|
57
57
|
group({
|
|
58
|
-
"array":
|
|
59
|
-
"element":
|
|
58
|
+
"array": prop(component(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
59
|
+
"element": prop(component(typeParameter("Type"))),
|
|
60
60
|
})
|
|
61
61
|
),
|
|
62
62
|
"PrependParameters": parametrizedType(
|
|
63
63
|
{ "Type": null },
|
|
64
64
|
group({
|
|
65
|
-
"array":
|
|
66
|
-
"element":
|
|
65
|
+
"array": prop(component(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
66
|
+
"element": prop(component(typeParameter("Type"))),
|
|
67
67
|
})
|
|
68
68
|
),
|
|
69
69
|
"ArrayTuple": parametrizedType(
|
|
70
70
|
{ "Benchmark": null, "Focus": null },
|
|
71
71
|
group({
|
|
72
|
-
"benchmark":
|
|
73
|
-
"focus":
|
|
72
|
+
"benchmark": prop(component(typeReference("Array", { "Type": typeParameter("Benchmark") }))),
|
|
73
|
+
"focus": prop(component(typeReference("Array", { "Type": typeParameter("Focus") }))),
|
|
74
74
|
})
|
|
75
75
|
),
|
|
76
76
|
"Nested": parametrizedType({ "Type": null }, stateGroup({
|
|
@@ -80,20 +80,20 @@ export const $: g_glossary.D.Glossary = {
|
|
|
80
80
|
})),
|
|
81
81
|
// "Array": parametrizedType({ "Type": null }, list(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
82
82
|
// "KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
83
|
-
// "key":
|
|
84
|
-
// "value":
|
|
83
|
+
// "key": prop(text()),
|
|
84
|
+
// "value": prop(component(typeParameter("Type"))),
|
|
85
85
|
// })),
|
|
86
86
|
|
|
87
87
|
"DependencyDictionary": parametrizedType({ "Type": null }, dictionary(group({
|
|
88
|
-
"value":
|
|
89
|
-
"dependencies":
|
|
88
|
+
"value": prop(component(typeParameter("Type"))),
|
|
89
|
+
"dependencies": prop(dictionary(nothing())),
|
|
90
90
|
}))),
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
"KeyValuePairArray": parametrizedType({ "Type": null }, list(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
94
94
|
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
95
|
-
"key":
|
|
96
|
-
"value":
|
|
95
|
+
"key": prop(text()),
|
|
96
|
+
"value": prop(component(typeParameter("Type"))),
|
|
97
97
|
})),
|
|
98
98
|
|
|
99
99
|
}),
|
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"array and": algorithm(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
12
|
+
"array and": algorithm([
|
|
13
|
+
`return true if all input values are true, false otherwise`,
|
|
14
|
+
], "Array And", {}),
|
|
15
|
+
"array or": algorithm([
|
|
16
|
+
`return true if at least one of the input values is true, false otherwise`,
|
|
17
|
+
], "Array Or", {}),
|
|
18
|
+
"array xor": algorithm([
|
|
19
|
+
`return true if an odd number of input values is true, false otherwise`,
|
|
20
|
+
], "Array Xor", {}),
|
|
21
|
+
"and": algorithm([
|
|
22
|
+
`return true if both input values are true, false otherwise`,
|
|
23
|
+
], "And", {}),
|
|
24
|
+
"or": algorithm([
|
|
25
|
+
`return true if at least one of the input values is true, false otherwise`,
|
|
26
|
+
], "Or", {}),
|
|
27
|
+
"xor": algorithm([
|
|
28
|
+
`return true if exactly one of the input values is true, false otherwise`,
|
|
29
|
+
], "Xor", {}),
|
|
30
|
+
"not": algorithm([
|
|
31
|
+
`return true if the input value is false, false otherwise`,
|
|
32
|
+
], "Not", {}),
|
|
19
33
|
}
|
|
20
34
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
const d = pd.d
|
|
26
26
|
|
|
27
27
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -34,8 +34,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
34
34
|
'data types': d({
|
|
35
35
|
"Boolean": type(boolean()),
|
|
36
36
|
"Pair Of Booleans": type(group({
|
|
37
|
-
"yin":
|
|
38
|
-
"yang":
|
|
37
|
+
"yin": prop(boolean()),
|
|
38
|
+
"yang": prop(boolean()),
|
|
39
39
|
})),
|
|
40
40
|
"Array Of Booleans": type(list(boolean())),
|
|
41
41
|
}),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
@@ -13,10 +13,10 @@ export const $: g_project.D.API = api(
|
|
|
13
13
|
// "buildUnsafeDictionary": algorithm("BuildUnsafeDictionary", {}),
|
|
14
14
|
// "buildSafeDictionary": algorithm("BuildSafeDictionary", "DictionaryBuildStrategy", {}, {
|
|
15
15
|
// }),
|
|
16
|
-
"createUnsafeDictionaryBuilder": algorithm("CreateUnsafeDictionaryBuilder", {}),
|
|
16
|
+
"createUnsafeDictionaryBuilder": algorithm([], "CreateUnsafeDictionaryBuilder", {}),
|
|
17
17
|
//"createSafeDictionaryBuilder": algorithm("CreateSafeDictionaryBuilder", {}),
|
|
18
|
-
"createArrayBuilder": algorithm("CreateArrayBuilder", {}),
|
|
18
|
+
"createArrayBuilder": algorithm([], "CreateArrayBuilder", {}),
|
|
19
19
|
|
|
20
|
-
"createStringBuilder": algorithm("CreateStringBuilder", {}),
|
|
20
|
+
"createStringBuilder": algorithm([], "CreateStringBuilder", {}),
|
|
21
21
|
}
|
|
22
22
|
)
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
sInterfaceMethod,
|
|
29
29
|
streamconsumer,
|
|
30
30
|
|
|
31
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
31
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
32
32
|
|
|
33
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
33
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
34
34
|
const d = pd.d
|
|
35
35
|
|
|
36
36
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -47,20 +47,20 @@ export const $: g_glossary.D.Glossary = {
|
|
|
47
47
|
"Simple String": type(text()),
|
|
48
48
|
|
|
49
49
|
"Array": parametrizedType({ "Type": null, "EndType": null }, group({
|
|
50
|
-
"array":
|
|
51
|
-
"end":
|
|
50
|
+
"array": prop(list(component(typeParameter("Type")))),
|
|
51
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
52
52
|
})),
|
|
53
53
|
"Dictionary": parametrizedType({ "Type": null, "EndType": null }, group({
|
|
54
|
-
"dictionary":
|
|
55
|
-
"end":
|
|
54
|
+
"dictionary": prop(dictionary(component(typeParameter("Type")))),
|
|
55
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
56
56
|
})),
|
|
57
57
|
"String": parametrizedType({ "EndType": null }, group({
|
|
58
|
-
"string":
|
|
59
|
-
"end":
|
|
58
|
+
"string": prop(text()),
|
|
59
|
+
"end": prop(component(typeParameter("EndType"))),
|
|
60
60
|
})),
|
|
61
61
|
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
62
|
-
"key":
|
|
63
|
-
"value":
|
|
62
|
+
"key": prop(text()),
|
|
63
|
+
"value": prop(component(typeParameter("Type"))),
|
|
64
64
|
})),
|
|
65
65
|
|
|
66
66
|
"DictionaryBuildStrategy": type(stateGroup({
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts
CHANGED
|
@@ -1,53 +1,58 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"decorateDictionaryEntriesWithKey": algorithm(
|
|
12
|
+
"decorateDictionaryEntriesWithKey": algorithm([
|
|
13
|
+
`all dictionary entries are decorated with the key of the entry`,
|
|
14
|
+
`the key is added to the value of the entry`,
|
|
15
|
+
], "DecorateDictionaryEntriesWithKey", {}),
|
|
13
16
|
|
|
14
|
-
"filter": algorithm(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
17
|
+
"filter": algorithm([
|
|
18
|
+
`a dictionary of optional values is filtered into a regular dictionary`,
|
|
19
|
+
`if the optional value is not set, the entry is not included in the result`,
|
|
20
|
+
`if the optional value is set, the entry is included in the result`,
|
|
21
|
+
], "Filter", {}),
|
|
22
|
+
"flattenDictionaryOfDictionaries": algorithm([
|
|
23
|
+
`flatten a dictionary of dictionaries`,
|
|
24
|
+
`the keys of the outermost dictionary is combined with the key of the innermost dictionary`,
|
|
25
|
+
`a separator is added between the keys`,
|
|
26
|
+
`if the separator appears in the keys of the outermost dictionary, it is escaped to guarantee uniqueness`,
|
|
27
|
+
], "FlattenDictionaryOfDictionaries", {}),
|
|
28
|
+
"mergeAndOverwrite": algorithm([
|
|
29
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
30
|
+
`is a key exists in both directories, only the entry of the secondary dictionary will be used`,
|
|
31
|
+
], "MergeAndOverwrite", {}),
|
|
32
|
+
"mergeAndIgnore": algorithm([
|
|
33
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
34
|
+
`is a key exists in both directories, only the entry of the primary dictionary will be used`,
|
|
35
|
+
], "MergeAndIgnore", {}),
|
|
36
|
+
"unsafeRekey": algorithm([
|
|
37
|
+
`a dictionary with containing entries with a value and a key candidate is transformed`,
|
|
38
|
+
`into a dictionary where the new key of the entry is the candidate`,
|
|
39
|
+
`if candidates are not unique the function panics`,
|
|
40
|
+
],"UnsafeRekey", {}),
|
|
41
|
+
"unsafeMerge": algorithm([
|
|
42
|
+
`2 dictionaries are combined into 1 dictionary`,
|
|
43
|
+
`if a key exists in both directories, the function panics`,
|
|
44
|
+
], "UnsafeMerge", {}),
|
|
45
|
+
"unsafeAddEntry": algorithm([
|
|
46
|
+
`a key/value pair is added to a dictionary resulting in a new dictionary`,
|
|
47
|
+
`if the key is not unique the function panics`,
|
|
48
|
+
], "UnsafeAddEntry", {}),
|
|
49
|
+
"wrapKeys": algorithm([
|
|
50
|
+
`prepends and appends strings to all keys in the dictionary`,
|
|
51
|
+
], "WrapKeys", {}),
|
|
52
|
+
"zip": algorithm([
|
|
53
|
+
`a focus dictionary is matched to a benchmark dictionary resulting in a result dictionary`,
|
|
54
|
+
`this last dictionary contains all entries found in the benchmark dictionary`,
|
|
55
|
+
`each entry value is optionally supplemented with the value of the focus entry, if found`,
|
|
56
|
+
], "Zip", {}),
|
|
52
57
|
}
|
|
53
58
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
const d = pd.d
|
|
26
26
|
|
|
27
27
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -35,40 +35,40 @@ export const $: g_glossary.D.Glossary = {
|
|
|
35
35
|
"Boolean": type(boolean()),
|
|
36
36
|
"String": type(text()),
|
|
37
37
|
"KeyValuePair": parametrizedType({ "Type": null }, group({
|
|
38
|
-
"key":
|
|
39
|
-
"value":
|
|
38
|
+
"key": prop(text()),
|
|
39
|
+
"value": prop(component(typeParameter("Type"))),
|
|
40
40
|
})),
|
|
41
41
|
"Dictionary": parametrizedType({ "Type": null }, dictionary(component(typeParameter("Type")))),
|
|
42
42
|
"FilterableDictionary": parametrizedType({ "Type": null }, dictionary(optional(component(typeParameter("Type"))))),
|
|
43
43
|
"MergeParameters": parametrizedType({ "Type": null }, group({
|
|
44
|
-
"primary":
|
|
45
|
-
"secondary":
|
|
44
|
+
"primary": prop(component(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
|
|
45
|
+
"secondary": prop(component(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
|
|
46
46
|
})),
|
|
47
47
|
"ZippedDictionary": parametrizedType({ "Benchmark": null, "Focus": null }, dictionary(group({
|
|
48
|
-
"benchmark":
|
|
49
|
-
"focus":
|
|
48
|
+
"benchmark": prop(component(typeParameter("Benchmark"))),
|
|
49
|
+
"focus": prop(optional(component(typeParameter("Focus")))),
|
|
50
50
|
}))),
|
|
51
51
|
|
|
52
52
|
"DictionaryTuple": parametrizedType({ "Benchmark": null, "Focus": null }, group({
|
|
53
|
-
"benchmark":
|
|
54
|
-
"focus":
|
|
53
|
+
"benchmark": prop(component(typeReference("Dictionary", { "Type": typeParameter("Benchmark") }))),
|
|
54
|
+
"focus": prop(component(typeReference("Dictionary", { "Type": typeParameter("Focus") }))),
|
|
55
55
|
})),
|
|
56
56
|
"FlattenDictionaryOfDictionariesParameters": parametrizedType({ "Type": null }, group({
|
|
57
|
-
"dictionaries":
|
|
58
|
-
"separator":
|
|
59
|
-
"escape":
|
|
57
|
+
"dictionaries": prop(dictionary(component(typeReference("Dictionary", { "Type": typeParameter("Type") })))),
|
|
58
|
+
"separator": prop(text()),
|
|
59
|
+
"escape": prop(text()),// to escape if the separator appears in the key of the top level dictionary
|
|
60
60
|
})),
|
|
61
61
|
"UnsafeAddEntryParameters": parametrizedType({ "Type": null }, group({
|
|
62
|
-
"dictionary":
|
|
63
|
-
"keyValuePair":
|
|
62
|
+
"dictionary": prop(component(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
|
|
63
|
+
"keyValuePair": prop(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))
|
|
64
64
|
})),
|
|
65
65
|
"KeyValueDictionary": parametrizedType({ "Type": null }, dictionary(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
66
66
|
|
|
67
67
|
"RekeyDictionary": parametrizedType({ "Type": null }, dictionary(component(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
|
|
68
68
|
"WrapKeysData": parametrizedType({ "Type": null }, group({
|
|
69
|
-
"dictionary":
|
|
70
|
-
"prefix":
|
|
71
|
-
"suffix":
|
|
69
|
+
"dictionary": prop(component(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
|
|
70
|
+
"prefix": prop(text()),
|
|
71
|
+
"suffix": prop(text()),
|
|
72
72
|
})),
|
|
73
73
|
}),
|
|
74
74
|
},
|
|
@@ -1,20 +1,35 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"add": algorithm(
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
12
|
+
"add": algorithm([
|
|
13
|
+
`add two numbers together`,
|
|
14
|
+
],"Add", {}),
|
|
15
|
+
"increment": algorithm([
|
|
16
|
+
`increment a number by 1`,
|
|
17
|
+
], "Increment", {}),
|
|
18
|
+
"min": algorithm([
|
|
19
|
+
`return the smallest of 2 numbers`,
|
|
20
|
+
], "Min", {}),
|
|
21
|
+
"max": algorithm([
|
|
22
|
+
`return the largest of 2 numbers`,
|
|
23
|
+
],
|
|
24
|
+
"Max", {}),
|
|
25
|
+
"multiply": algorithm([
|
|
26
|
+
`multiply two numbers together`,
|
|
27
|
+
], "Multiply", {}),
|
|
28
|
+
"negate": algorithm([
|
|
29
|
+
`negate a number (add a minus sign in front of it if negative, remove it if positive)`,
|
|
30
|
+
], "Negate", {}),
|
|
31
|
+
"subtract": algorithm([
|
|
32
|
+
`subtract the substraend from minuend (minuend - subtraend = result)`,
|
|
33
|
+
], "Subtract", {}),
|
|
19
34
|
}
|
|
20
35
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/number/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
|
|
26
26
|
const d = pd.d
|
|
27
27
|
|
|
@@ -37,19 +37,15 @@ export const $: g_glossary.D.Glossary = {
|
|
|
37
37
|
"OptionalNumber": type(optional(integer())),
|
|
38
38
|
"NumberRange": type(list(integer())),
|
|
39
39
|
"NumberTuple": type(group({
|
|
40
|
-
"yin":
|
|
41
|
-
"yang":
|
|
40
|
+
"yin": prop(integer()),
|
|
41
|
+
"yang": prop(integer()),
|
|
42
42
|
})),
|
|
43
43
|
"SubtractData": type(group({
|
|
44
|
-
"minuend":
|
|
45
|
-
"subtrahend":
|
|
44
|
+
"minuend": prop(integer()),
|
|
45
|
+
"subtrahend": prop(integer()),
|
|
46
46
|
})),
|
|
47
47
|
"NumberDictionary": type(dictionary(integer())),
|
|
48
48
|
"NumberArray": type(list(integer())),
|
|
49
|
-
|
|
50
|
-
"IncrementConfig": type(group({
|
|
51
|
-
"stepsize": member(integer())
|
|
52
|
-
}))
|
|
53
49
|
}),
|
|
54
50
|
},
|
|
55
51
|
},
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"divide": algorithm(
|
|
13
|
-
|
|
12
|
+
"divide": algorithm([
|
|
13
|
+
`divide the numerator by the denominator (numerator / denominator = result)`,
|
|
14
|
+
], "Divide", {}),
|
|
15
|
+
"divisionRemainder": algorithm([
|
|
16
|
+
`return the remainder of the division of the numerator by the denominator`,
|
|
17
|
+
], "DivisionRemainder", {}),
|
|
14
18
|
}
|
|
15
19
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
23
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
24
24
|
|
|
25
25
|
const d = pd.d
|
|
26
26
|
|
|
@@ -34,8 +34,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
34
34
|
'data types': d({
|
|
35
35
|
"OptionalNumber": type(optional(integer())),
|
|
36
36
|
"DivisionData": type(group({
|
|
37
|
-
"numerator":
|
|
38
|
-
"denominator":
|
|
37
|
+
"numerator": prop(integer()),
|
|
38
|
+
"denominator": prop(integer()),
|
|
39
39
|
})),
|
|
40
40
|
}),
|
|
41
41
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
5
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
6
6
|
|
|
7
7
|
import { $ as glos } from "./glossary.data"
|
|
8
8
|
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
group,
|
|
10
10
|
integer,
|
|
11
11
|
list,
|
|
12
|
-
|
|
12
|
+
prop,
|
|
13
13
|
nothing,
|
|
14
14
|
optional,
|
|
15
15
|
parametrizedType,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
type,
|
|
20
20
|
typeParameter,
|
|
21
21
|
typeReference,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
24
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
25
25
|
const d = pd.d
|
|
26
26
|
|
|
27
27
|
export const $: g_glossary.D.Glossary = {
|