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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
import * as pt from 'pareto-core-types'
|
|
3
3
|
|
|
4
|
-
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
4
|
+
import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
5
5
|
|
|
6
6
|
const d = pd.d
|
|
7
7
|
|
|
@@ -68,29 +68,99 @@ export const $: g_project.D.Library = {
|
|
|
68
68
|
'module sets': {
|
|
69
69
|
'public': {
|
|
70
70
|
'glossaries': d({
|
|
71
|
-
"alan light": dataglossary([
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
71
|
+
"alan light": dataglossary([
|
|
72
|
+
`Alan Light is a language containing a subset of the Alan language developed by Kjerner (https://www.kjerner.com).`,
|
|
73
|
+
`the subset is chosen to be able to generate a Alan model from a liana schema.`,
|
|
74
|
+
], d_alan_light),
|
|
75
|
+
"astn": dataglossary([
|
|
76
|
+
`ASTN is a notation language, like JSON. In fact, it is very similar to JSON. It is used to describe ASTs.`,
|
|
77
|
+
`ASTN is to JSON what TypeScript is to JavaScript.`,
|
|
78
|
+
``,
|
|
79
|
+
`it extends JSON with a couple of crucial concepts;`,
|
|
80
|
+
`-separation between instance and meta data, not only do you have {} and [] for instance data, but you have () and <> for meta data`,
|
|
81
|
+
`-tagged unions (state groups) as first class citizens`,
|
|
82
|
+
`-schema specification,`,
|
|
83
|
+
``,
|
|
84
|
+
`furthermore it adds some conveniences, like:`,
|
|
85
|
+
`-comments`,
|
|
86
|
+
`-optional (trailing) commas`,
|
|
87
|
+
`-multiple delimiters text formats; besides quotes, apostrophes and backticks are also supported, each with their own intended use`,
|
|
88
|
+
`--apostrophes: meta data (property and state names, as defined in the schema)`,
|
|
89
|
+
`--quotes: short text instance data`,
|
|
90
|
+
`--backticks: multiline instance data`,
|
|
91
|
+
`-bare text (no delimiters at all) is also supported (it is up to the application to determine what to do with it)`,
|
|
92
|
+
``,
|
|
93
|
+
`you might claim that ASTN is not a proper superset of JSON, as it does not contain the JSON concepts of a number, 'null', 'true' and 'false'`,
|
|
94
|
+
`however, because ASTN contains the concept of an bare text string, which these are , JSON files can still be processed as ASTN files`,
|
|
95
|
+
], d_astn),
|
|
96
|
+
"boekhouding constrained": dataglossary([
|
|
97
|
+
`Boekhouding is a language to describe financial data. This is the constrained version`,
|
|
98
|
+
], d_boekhouding_constrained),
|
|
99
|
+
"boekhouding unconstrained": dataglossary([
|
|
100
|
+
`Boekhouding is a language to describe financial data. This is the unconstrained version`,
|
|
101
|
+
], d_boekhouding_unconstrained),
|
|
102
|
+
"fountain pen directory": dataglossary([
|
|
103
|
+
`a glossary containing types to write out a directory`,
|
|
104
|
+
], d_fountain_pen_directory),
|
|
105
|
+
"fountain pen indented file with escaped strings": dataglossary([
|
|
106
|
+
`a glossary containing types to write out an indented file with escaped strings`,
|
|
107
|
+
], d_fountain_pen_indented_file_with_escaped_strings),
|
|
108
|
+
"fountain pen indented file": dataglossary([
|
|
109
|
+
`a glossary containing types to write out an indented file`,
|
|
110
|
+
], d_fountain_pen_indented_file),
|
|
111
|
+
"grammar": dataglossary([
|
|
112
|
+
`for defining a grammar on top of a liana schema`,
|
|
113
|
+
], d_grammar),
|
|
114
|
+
"graphviz": dataglossary([
|
|
115
|
+
`a glossary containing types to write out a graphviz file (https://www.graphviz.org/)`,
|
|
116
|
+
], d_graphviz),
|
|
117
|
+
"html": dataglossary([
|
|
118
|
+
`a port of HTML to a liana schema`,
|
|
119
|
+
], d_html),
|
|
120
|
+
"liana project": dataglossary([
|
|
121
|
+
`for defining a project of multiple liana schemas and resolvers`,
|
|
122
|
+
], d_liana_project),
|
|
123
|
+
"liana schema unconstrained without annotations": dataglossary([
|
|
124
|
+
`a schema to define an AST, but with constraints. Contstraints point to other parts in the AST.`,
|
|
125
|
+
`a liana schema does not specify how to resolve these constraints, only where they point to after they have been resolved.`,
|
|
126
|
+
], d_liana_schema_in_between),
|
|
127
|
+
"lines": dataglossary([
|
|
128
|
+
`a low level glossary to write out lines`,
|
|
129
|
+
], d_lines),
|
|
130
|
+
"pareto 3gl high": dataglossary([
|
|
131
|
+
`'pareto' is a set of languages. This '3gl high' instance is a high end 3rd generation level language.`,
|
|
132
|
+
`similar to typescript, java, javascipt, c#, etc, but conforming to a liana schema.`,
|
|
133
|
+
`memory is automatically managed, it contains namespaces and closures, and it is statically typed.`,
|
|
134
|
+
], d_pareto_3gl_high),
|
|
135
|
+
"pareto 4gl type system": dataglossary([
|
|
136
|
+
`'pareto' is a set of languages. This '4gl' instance is a 4th generation level language.`,
|
|
137
|
+
`For comparison; other languages that are 4gl are SQL, XSLT, and matlab`,
|
|
138
|
+
`4GL is suitable for non-programmers and programmers alike. It is a high-level programming language that is relatively easy to learn and use.`,
|
|
139
|
+
`An significant concept of this language is the concept of data transformation.`,
|
|
140
|
+
], d_pareto_4gl_type_system),
|
|
141
|
+
"pareto 4gl - typescript": dataglossary([
|
|
142
|
+
`This is the glossary to create a typescript project from a pareto 4gl code base`,
|
|
143
|
+
], d_pareto_4gl_typescript),
|
|
144
|
+
"semantic versioning": dataglossary([
|
|
145
|
+
`a port of semantic versioning to a liana schema (https://semver.org/)`,
|
|
146
|
+
], d_semantic_versioning),
|
|
147
|
+
"testresult": dataglossary([
|
|
148
|
+
`a glossary containing types to write out a testresult`,
|
|
149
|
+
], d_testresult),
|
|
150
|
+
"text": dataglossary([
|
|
151
|
+
`a glossary only containing a text type, used as input for parsing`,
|
|
152
|
+
], d_text),
|
|
153
|
+
"typescript intermediate": dataglossary([
|
|
154
|
+
`a glossary containing types to target typescript for source code generation.`,
|
|
155
|
+
`it handles some, what I would call quirks, of typescript, like:`,
|
|
156
|
+
`-disallowed commas at the end of an type arguments definition (like <T,>)`,
|
|
157
|
+
`-disallowed empty type arguments/parameter definition ( like <>)`,
|
|
158
|
+
`-the strict rules for identifier names (like no spaces, no dashes, no dots, etc), like most languages have`,
|
|
159
|
+
`-the only implicit appearance of dictionaries in many places, for example in a list of import statements`,
|
|
160
|
+
], d_typescript_intermediate),
|
|
161
|
+
"xml": dataglossary([
|
|
162
|
+
`a port of XML to a liana schema`,
|
|
163
|
+
], d_xml),
|
|
94
164
|
}),
|
|
95
165
|
'transformations': {
|
|
96
166
|
'enrich': d({}),
|
|
@@ -3,5 +3,5 @@ import * as pd from 'pareto-core-data'
|
|
|
3
3
|
import { $ as dep_pareto_standard_library } from './pareto-standard-library/$.data'
|
|
4
4
|
|
|
5
5
|
export const $ = pd.d({
|
|
6
|
-
'pareto-standard-library': { library: dep_pareto_standard_library, version: '^0.
|
|
6
|
+
'pareto-standard-library': { library: dep_pareto_standard_library, version: '^0.15.0' },
|
|
7
7
|
})
|
|
@@ -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_boolean } from "./modules/boolean/api.data"
|
|
@@ -1,20 +1,37 @@
|
|
|
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
|
-
"flattenArrayOfArrays": algorithm(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
"flattenArrayOfArrays": algorithm([
|
|
13
|
+
`flatten an array of arrays`,
|
|
14
|
+
], "FlattenArrayOfArrays", {}),
|
|
15
|
+
"append": algorithm([
|
|
16
|
+
`append an element to the end of an array`,
|
|
17
|
+
], "Append", {}),
|
|
18
|
+
"prepend": algorithm([
|
|
19
|
+
`prepend an element to the beginning of an array`
|
|
20
|
+
], "Prepend", {}),
|
|
21
|
+
"zip": algorithm([
|
|
22
|
+
`zip two arrays together`,
|
|
23
|
+
`the length of the resulting array is the length of the shortest input array`
|
|
24
|
+
], "Zip", {}),
|
|
25
|
+
"flattenTree": algorithm([
|
|
26
|
+
`flatten a tree of values`,
|
|
27
|
+
`every node can be either an array, nothing or a value`
|
|
28
|
+
], "FlattenTree", {}),
|
|
29
|
+
"unsafeSortTopologically": algorithm([
|
|
30
|
+
`sort a dictionary topologically`,
|
|
31
|
+
`the dictionary entries contains a value and a dictionary without values (only keys) that represent the dependencies`,
|
|
32
|
+
`if a circular dependency is detected, a panic is thrown`,
|
|
33
|
+
`the result is an array of key/value pairs`
|
|
34
|
+
], "SortTopologically", {}),
|
|
18
35
|
|
|
19
36
|
}
|
|
20
37
|
)
|
|
@@ -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
|
)
|
|
@@ -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({
|
|
@@ -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
|
)
|
|
@@ -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
|
},
|