pareto 0.74.0 → 0.75.1
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/auto.bin/auto.boekhouding.bin.js +8 -18
- package/auto.dist/data/boekhouding.data.js +8 -18
- package/auto.dist/index.js +8 -18
- package/auto.dist/public/modules/filesystem_naming/implementations/create_Valid_File_Name.alg.js +8 -18
- 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/transform_Block_2_Block.alg.js +55 -0
- package/auto.dist/public/modules/main/implementations/temp$_compile$_boekhouding.alg.js +13 -23
- package/auto.dist/public/modules/pareto_3gl_high_2_lines/implementations/compilation_Unit_2_Indented_Lines.alg.js +12 -22
- 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/createApostrophedString.alg.js +8 -18
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/createBacktickedString.alg.js +8 -18
- package/auto.dist/public/modules/typescript_intermediate_2_fountain_pen_indented_file/implementations/createQuotedString.alg.js +8 -18
- 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 +85 -0
- package/auto.dist/public/modules/typescript_naming/implementations/createIdentifier.alg.js +12 -22
- 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 +17 -7
- 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 +1 -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 -3
- 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 +9 -9
- 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/fountain_pen_indented_file_2_fountain_pen_indented_file_with_escaped_texts/implementations/map_Block_2_Block.alg.js +0 -65
- 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/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 = {
|
|
@@ -1,28 +1,42 @@
|
|
|
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
|
-
"join 2 strings": algorithm(
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"join 2 strings": algorithm([
|
|
13
|
+
`join 2 strings together`,
|
|
14
|
+
`a separator cannot be specified, the strings are simply concatenated`,
|
|
15
|
+
`if you need a separator, use this function twice, with the separator as the second string`,
|
|
16
|
+
], "Join 2 Strings", {}),
|
|
17
|
+
"join array of strings": algorithm([
|
|
18
|
+
`join an array of strings together`,
|
|
19
|
+
`a separator can be specified`,
|
|
20
|
+
], "Join Array Of Strings", {}),
|
|
21
|
+
"repeat": algorithm([
|
|
22
|
+
`repeat a string the specified number of times`,
|
|
23
|
+
`so 3 times 'foo' would be 'foofoofoo'`,
|
|
24
|
+
], "Repeat", {}),
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
26
|
+
"getArrayAsString": algorithm([
|
|
27
|
+
`join an array of strings together`,
|
|
28
|
+
`a separator can be specified`,
|
|
29
|
+
`a maximum number of elements to join can be specified`,
|
|
30
|
+
`if the maximum number of elements is reached, a suffix string (for example '...') is appended to the result`,
|
|
31
|
+
], "GetArrayAsString", {}),
|
|
20
32
|
|
|
21
|
-
"getLengthAsString": algorithm(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
33
|
+
"getLengthAsString": algorithm([
|
|
34
|
+
`return the length of a string as a string`,
|
|
35
|
+
`useful for reporting, logging, etc.`,
|
|
36
|
+
], "GetLengthAsString", {}),
|
|
37
|
+
"getSizeAsString": algorithm([
|
|
38
|
+
`return the number of keys in an object as a string`,
|
|
39
|
+
`useful for reporting, logging, etc.`,
|
|
40
|
+
], "GetSizeAsString", {}),
|
|
27
41
|
}
|
|
28
42
|
)
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/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
|
|
|
@@ -35,33 +35,33 @@ export const $: g_glossary.D.Glossary = {
|
|
|
35
35
|
'data types': d({
|
|
36
36
|
"String": type(text()),
|
|
37
37
|
"Join 2 Strings": type(group({
|
|
38
|
-
"first":
|
|
39
|
-
"second":
|
|
38
|
+
"first": prop(text()),
|
|
39
|
+
"second": prop(text()),
|
|
40
40
|
})),
|
|
41
41
|
"Join Array Of Strings": parametrizedType(
|
|
42
42
|
{ "Type": null },
|
|
43
43
|
group({
|
|
44
|
-
"array":
|
|
45
|
-
"separator":
|
|
44
|
+
"array": prop(list(component(typeParameter("Type")))),
|
|
45
|
+
"separator": prop(text()),
|
|
46
46
|
})
|
|
47
47
|
),
|
|
48
48
|
|
|
49
49
|
"RepeatData": type(group({
|
|
50
|
-
"contextString":
|
|
51
|
-
"times":
|
|
50
|
+
"contextString": prop(text()),
|
|
51
|
+
"times": prop(integer()),
|
|
52
52
|
})),
|
|
53
53
|
|
|
54
54
|
"StringArray": type(list(text())),
|
|
55
55
|
"GetArrayAsString": type(group({
|
|
56
|
-
"array":
|
|
57
|
-
"configuration":
|
|
56
|
+
"array": prop(component(typeReference("StringArray"))),
|
|
57
|
+
"configuration": prop(component(typeReference("Configuration"))),
|
|
58
58
|
})),
|
|
59
59
|
|
|
60
60
|
"Configuration": type(group({
|
|
61
|
-
"separator":
|
|
62
|
-
"maximum":
|
|
63
|
-
"maximum":
|
|
64
|
-
"suffix":
|
|
61
|
+
"separator": prop(text()),
|
|
62
|
+
"maximum": prop(optional(group({
|
|
63
|
+
"maximum": prop(integer()),
|
|
64
|
+
"suffix": prop(text()),
|
|
65
65
|
}))),
|
|
66
66
|
})),
|
|
67
67
|
"Dictionary": parametrizedType({ "Type": null }, dictionary(component(typeParameter("Type")))),
|
|
@@ -98,7 +98,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
98
98
|
data(typeReference("Dictionary", { "T": typeParameter("T") })),
|
|
99
99
|
{ "T": null }
|
|
100
100
|
),
|
|
101
|
-
"
|
|
101
|
+
"GetSizeAsString": sfunction(
|
|
102
102
|
typeReference("String"),
|
|
103
103
|
data(typeReference("Dictionary", { "T": typeParameter("T") })),
|
|
104
104
|
{ "T": null }
|
|
@@ -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
|
export const $: g_project.D.API = api(
|
package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/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 = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
3
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
4
4
|
|
|
5
5
|
const d = pd.d
|
|
6
|
-
import { } from "pareto-pure/auto.dist/public/shorthands/
|
|
6
|
+
import { } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
7
7
|
|
|
8
8
|
import { $ as d_array } from "./modules/array/api.data"
|
|
9
9
|
import { $ as d_dictionary } from "./modules/dictionary/api.data"
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
aInterface,
|
|
5
5
|
aInterfaceMethod,
|
|
6
6
|
aInterfaceReference,
|
|
7
|
-
list, data, dictionary, externalTypeReference, glossaryParameter, group, infInit,
|
|
7
|
+
list, data, dictionary, externalTypeReference, glossaryParameter, group, infInit, prop,
|
|
8
8
|
parametrizedType, sfunction, streamconsumer, text, type, typeParameter, typeReference
|
|
9
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
9
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
10
10
|
|
|
11
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
11
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
12
12
|
const d = pd.d
|
|
13
13
|
|
|
14
14
|
export const $: g_glossary.D.Data__Glossary = {
|
|
@@ -1,23 +1,44 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, 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
|
-
import { glossary, group,
|
|
8
|
+
import { glossary, group, prop, integer, type } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
9
9
|
|
|
10
10
|
export const $: g_project.D.API = api(
|
|
11
11
|
glos,
|
|
12
12
|
{
|
|
13
|
-
"enrichWithPositionInformation": algorithm(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
"enrichWithPositionInformation": algorithm([
|
|
14
|
+
`enrich all the elements in the array with their position in the array`
|
|
15
|
+
], "EnrichWithPositionInformation", {}),
|
|
16
|
+
"getPossibleLastElement": algorithm([
|
|
17
|
+
`get the last element of the array as an optional value`
|
|
18
|
+
], "GetPossibleLastElement", {}),
|
|
19
|
+
"getPossibleFirstElement": algorithm([
|
|
20
|
+
`get the first element of the array as an optional value`
|
|
21
|
+
], "GetPossibleFirstElement", {}),
|
|
22
|
+
"getPossibleElementAt": algorithm([
|
|
23
|
+
`get the element at the specified index as an optional value`
|
|
24
|
+
], "GetPossibleElementAt", {}),
|
|
25
|
+
"isEmpty": algorithm([
|
|
26
|
+
`is the array empty`
|
|
27
|
+
], "IsEmpty", {}),
|
|
28
|
+
"unsafeGetLastElement": algorithm([
|
|
29
|
+
`get the last element of the array`,
|
|
30
|
+
`if the array is empty, panic`
|
|
31
|
+
], "UnsafeGetLastElement", {}),
|
|
32
|
+
"unsafeGetFirstElement": algorithm([
|
|
33
|
+
`get the first element of the array`,
|
|
34
|
+
`if the array is empty, panic`
|
|
35
|
+
], "UnsafeGetFirstElement", {}),
|
|
36
|
+
"unsafeGetElementAt": algorithm([
|
|
37
|
+
`get the element at the specified index`,
|
|
38
|
+
`if the index is out of bounds, panic`
|
|
39
|
+
], "UnsafeGetElementAt", {}),
|
|
40
|
+
"getLength": algorithm([
|
|
41
|
+
`get the length of the array`
|
|
42
|
+
], "GetLength", {}),
|
|
22
43
|
}
|
|
23
44
|
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as pd from 'pareto-core-data'
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
list, boolean,
|
|
5
|
-
data, dictionary, externalTypeReference, group,
|
|
5
|
+
data, dictionary, externalTypeReference, group, prop, integer, optional, parametrizedType, component, sfunction,
|
|
6
6
|
type, typeParameter, typeReference
|
|
7
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
7
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
8
8
|
|
|
9
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
9
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
10
10
|
|
|
11
11
|
const d = pd.d
|
|
12
12
|
|
|
@@ -21,14 +21,14 @@ export const $: g_glossary.D.Glossary = {
|
|
|
21
21
|
"Array": parametrizedType({ "Type": null }, list(component(typeParameter("Type")))),
|
|
22
22
|
"Boolean": type(boolean()),
|
|
23
23
|
"EnrichedArray": parametrizedType({ "Type": null }, list(group({
|
|
24
|
-
"value":
|
|
25
|
-
"isFirst":
|
|
26
|
-
"isLast":
|
|
27
|
-
"position":
|
|
24
|
+
"value": prop(component(typeParameter("Type"))),
|
|
25
|
+
"isFirst": prop(boolean()),
|
|
26
|
+
"isLast": prop(boolean()),
|
|
27
|
+
"position": prop(integer()),
|
|
28
28
|
}))),
|
|
29
29
|
"GetElementAtData": parametrizedType({ "Type": null }, group({
|
|
30
|
-
"array":
|
|
31
|
-
"index":
|
|
30
|
+
"array": prop(component(typeReference("Array", { "Type": typeParameter("Type") }))),
|
|
31
|
+
"index": prop(integer()),
|
|
32
32
|
})),
|
|
33
33
|
"Length": type(integer()),
|
|
34
34
|
"OptionalValue": parametrizedType({ "Type": null }, optional(component(typeParameter("Type")))),
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import { algorithm, api } from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import { algorithm, 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
|
-
import { aInterface, aInterfaceMethod, glossary, group,
|
|
8
|
+
import { aInterface, aInterfaceMethod, glossary, group, prop, integer, sInterface, sInterfaceMethod, streamconsumer, text, type, typeReference } from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
9
9
|
|
|
10
10
|
export const $: g_project.D.API = api(
|
|
11
11
|
glos,
|
|
12
12
|
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
"contains": algorithm([
|
|
14
|
+
`does the dictionary contain the specified key`
|
|
15
|
+
], "Contains", {}),
|
|
16
|
+
"getPossibleEntry": algorithm([
|
|
17
|
+
`get the entry with the specified key, if it exists`
|
|
18
|
+
], "GetPossibleEntry", {}),
|
|
19
|
+
"isEmpty": algorithm([
|
|
20
|
+
`is the dictionary empty (no entries)`
|
|
21
|
+
], "IsEmpty", {}),
|
|
22
|
+
"size": algorithm([
|
|
23
|
+
`returns the number of entries in the dictionary`
|
|
24
|
+
], "Size", {}),
|
|
22
25
|
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
"unsafeGetEntry": algorithm([
|
|
27
|
+
`get the entry with the specified key, if it exists`,
|
|
28
|
+
`if the key does not exist, panic`
|
|
29
|
+
], "UnsafeGetEntry", {}),
|
|
26
30
|
}
|
|
27
31
|
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
optional,
|
|
12
12
|
group,
|
|
13
13
|
component,
|
|
14
|
-
|
|
14
|
+
prop,
|
|
15
15
|
aInterface,
|
|
16
16
|
streamconsumer,
|
|
17
17
|
aInterfaceMethod,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
sInterfaceMethod,
|
|
22
22
|
integer,
|
|
23
23
|
text,
|
|
24
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
24
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
25
25
|
|
|
26
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
26
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
27
27
|
const d = pd.d
|
|
28
28
|
|
|
29
29
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -37,8 +37,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
37
37
|
"Boolean": type(boolean()),
|
|
38
38
|
"Dictionary": parametrizedType({ "Type": null }, dictionary(component(typeParameter("Type")))),
|
|
39
39
|
"DictionaryAndKey": parametrizedType({ "Type": null }, group({
|
|
40
|
-
"dictionary":
|
|
41
|
-
"key":
|
|
40
|
+
"dictionary": prop(dictionary(component(typeParameter("Type")))),
|
|
41
|
+
"key": prop(text()),
|
|
42
42
|
})),
|
|
43
43
|
|
|
44
44
|
"Number": type(integer()),
|