pareto 0.74.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/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 +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 +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-subatomic-library/modules/filesystem/api.data.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
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
|
-
"createFileWriter": algorithm(
|
|
13
|
+
"createFileWriter": algorithm([
|
|
14
|
+
`create a file writer interface`
|
|
15
|
+
], "CreateFileWriter", {}),
|
|
14
16
|
}
|
|
15
17
|
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
type,
|
|
7
7
|
group,
|
|
8
8
|
typeReference,
|
|
9
|
-
|
|
9
|
+
prop,
|
|
10
10
|
text,
|
|
11
11
|
dictionary,
|
|
12
12
|
nothing,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
aInterfaceMethod,
|
|
20
20
|
component,
|
|
21
21
|
infref,
|
|
22
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
22
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
23
23
|
|
|
24
24
|
import { $ as d_lines } from "../../glossaries/lines.data"
|
|
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,12 +37,12 @@ export const $: g_glossary.D.Glossary = {
|
|
|
37
37
|
'data types': d({
|
|
38
38
|
"File Path": type(list(text())),
|
|
39
39
|
"File Write Data": type(group({
|
|
40
|
-
"directory path":
|
|
41
|
-
"file name":
|
|
42
|
-
"data":
|
|
40
|
+
"directory path": prop(component(typeReference("File Path"))),
|
|
41
|
+
"file name": prop(text()),
|
|
42
|
+
"data": prop(component(externalTypeReference("lines", "Lines"))),
|
|
43
43
|
})),
|
|
44
44
|
"Root Data": type(group({
|
|
45
|
-
"context directory":
|
|
45
|
+
"context directory": prop(text()),
|
|
46
46
|
})),
|
|
47
47
|
}),
|
|
48
48
|
},
|
|
@@ -1,22 +1,25 @@
|
|
|
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, sInterface, sInterfaceMethod, 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
|
-
"parse": algorithm(
|
|
13
|
+
"parse": algorithm([
|
|
14
|
+
`parse a json string into a possible data structure`
|
|
15
|
+
], "Parse", {}),
|
|
16
|
+
"serialize": algorithm([
|
|
17
|
+
`serialize a data structure into a json string`
|
|
18
|
+
], "Serialize", {}),
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"unsafeParse": algorithm("UnsafeParse", {}),
|
|
20
|
+
"unsafeParse": algorithm([
|
|
21
|
+
`parse a json string into a data structure`,
|
|
22
|
+
`if the json is invalid, panic`
|
|
23
|
+
], "UnsafeParse", {}),
|
|
21
24
|
}
|
|
22
25
|
)
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts
CHANGED
|
@@ -2,14 +2,14 @@ import * as pd from 'pareto-core-data'
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
list, afunction, boolean, data, dictionary,
|
|
5
|
-
glossaryParameter, group,
|
|
5
|
+
glossaryParameter, group, prop, integer, optional, component, sfunction, text, type, typeReference,
|
|
6
6
|
stateGroup,
|
|
7
7
|
nothing,
|
|
8
8
|
sInterface,
|
|
9
9
|
sInterfaceMethod
|
|
10
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
10
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
11
11
|
|
|
12
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
12
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
13
13
|
|
|
14
14
|
const d = pd.d
|
|
15
15
|
|
|
@@ -1,18 +1,26 @@
|
|
|
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
|
-
"smallerThan": algorithm(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
13
|
+
"smallerThan": algorithm([
|
|
14
|
+
`is the focus number smaller than the benchmark number`
|
|
15
|
+
], "SmallerThan", {}),
|
|
16
|
+
"greaterThan": algorithm([
|
|
17
|
+
`is the focus number greater than the benchmark number`
|
|
18
|
+
], "GreaterThan", {}),
|
|
19
|
+
"isZero": algorithm([
|
|
20
|
+
`is the number zero`
|
|
21
|
+
], "IsZero", {}),
|
|
22
|
+
"equal": algorithm([
|
|
23
|
+
`are the two numbers equal`
|
|
24
|
+
], "Equal", {}),
|
|
17
25
|
}
|
|
18
26
|
)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
list, boolean, data, dictionary, externalTypeReference, group,
|
|
4
|
+
list, boolean, data, dictionary, externalTypeReference, group, prop, integer, optional, sfunction,
|
|
5
5
|
type, typeReference
|
|
6
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
6
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
7
7
|
|
|
8
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
8
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
9
9
|
|
|
10
10
|
const d = pd.d
|
|
11
11
|
|
|
@@ -20,12 +20,12 @@ export const $: g_glossary.D.Glossary = {
|
|
|
20
20
|
"Boolean": type(boolean()),
|
|
21
21
|
"Number": type(integer()),
|
|
22
22
|
"NumberPair": type(group({
|
|
23
|
-
"yin":
|
|
24
|
-
"yang":
|
|
23
|
+
"yin": prop(integer()),
|
|
24
|
+
"yang": prop(integer()),
|
|
25
25
|
})),
|
|
26
26
|
"CompareData": type(group({
|
|
27
|
-
"benchmark":
|
|
28
|
-
"focus":
|
|
27
|
+
"benchmark": prop(integer()),
|
|
28
|
+
"focus": prop(integer()),
|
|
29
29
|
})),
|
|
30
30
|
|
|
31
31
|
}),
|
|
@@ -1,32 +1,68 @@
|
|
|
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
|
-
"charCodeAt": algorithm(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
13
|
+
"charCodeAt": algorithm([
|
|
14
|
+
`returns the unicode value of the character at the specified index`
|
|
15
|
+
], "CharCodeAt", {}),
|
|
16
|
+
"endsWith": algorithm([
|
|
17
|
+
`does the string end with the specified value`
|
|
18
|
+
], "EndsWith", {}),
|
|
19
|
+
"escape": algorithm([
|
|
20
|
+
`prepend the string with the escape string if it starts with the specified value`
|
|
21
|
+
], "Escape", {}),
|
|
22
|
+
"fromCharacterArray": algorithm([
|
|
23
|
+
`create a string from a character array`
|
|
24
|
+
], "FromCharacterArray", {}),
|
|
25
|
+
"fromCharacter": algorithm([
|
|
26
|
+
`create a string from a single character`
|
|
27
|
+
], "FromCharacter", {}),
|
|
28
|
+
"includes": algorithm([
|
|
29
|
+
`does the string include the specified value`
|
|
30
|
+
], "Includes", {}),
|
|
31
|
+
"indexOf": algorithm([
|
|
32
|
+
`returns the index of the optional specified value if it is found`
|
|
33
|
+
], "IndexOf", {}),
|
|
34
|
+
"length": algorithm([
|
|
35
|
+
`returns the length of the string`
|
|
36
|
+
], "Length", {}),
|
|
37
|
+
"padEnd": algorithm([
|
|
38
|
+
`pad the string at the end with the specified value until it reaches the specified length`
|
|
39
|
+
], "PadEnd", {}),
|
|
40
|
+
"padStart": algorithm([
|
|
41
|
+
`pad the string at the start with the specified value until it reaches the specified length`
|
|
42
|
+
], "PadStart", {}),
|
|
43
|
+
"replaceAll": algorithm([
|
|
44
|
+
`replace all occurrences of the specified value with the replacement value`
|
|
45
|
+
], "ReplaceAll", {}),
|
|
46
|
+
"replaceFirst": algorithm([
|
|
47
|
+
`replace only the first occurrence of the specified value with the replacement value`
|
|
48
|
+
], "ReplaceFirst", {}),
|
|
49
|
+
"split": algorithm([
|
|
50
|
+
`split the string into an array of substrings using the specified value as the separator`
|
|
51
|
+
], "Split", {}),
|
|
52
|
+
"splitIn2": algorithm([
|
|
53
|
+
`split the string into 2 substrings using the specified value as the separator`,
|
|
54
|
+
], "SplitIn2", {}),
|
|
55
|
+
"startsWith": algorithm([
|
|
56
|
+
`does the string start with the specified value`
|
|
57
|
+
], "StartsWith", {}),
|
|
58
|
+
"substring": algorithm([
|
|
59
|
+
`get a substring of the string using the specified begin and length`,
|
|
60
|
+
`it will be empty if the begin is out of bounds`,
|
|
61
|
+
`it will be truncated if begin + length is out of bounds`,
|
|
62
|
+
], "Substring", {}),
|
|
63
|
+
"toCharacterArray": algorithm([
|
|
64
|
+
`convert the string to a character array`
|
|
65
|
+
], "ToCharacterArray", {}),
|
|
30
66
|
//"unsafeCharCodeAt": algorithm("UnsafeCharCodeAt", {}),
|
|
31
67
|
|
|
32
68
|
//candidates:
|
package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
aInterface,
|
|
5
5
|
aInterfaceMethod,
|
|
6
6
|
aInterfaceReference,
|
|
7
|
-
list, boolean, data, group,
|
|
8
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
7
|
+
list, boolean, data, group, prop, integer, optional, sfunction, streamconsumer, text, type, typeReference
|
|
8
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
9
9
|
|
|
10
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
10
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
11
11
|
|
|
12
12
|
const d = pd.d
|
|
13
13
|
|
|
@@ -28,59 +28,59 @@ export const $: g_glossary.D.Glossary = {
|
|
|
28
28
|
"Possible Position": type(optional(integer())),
|
|
29
29
|
|
|
30
30
|
"CharacterCode At Data": type(group({
|
|
31
|
-
"contextString":
|
|
32
|
-
"index":
|
|
31
|
+
"contextString": prop(text()),
|
|
32
|
+
"index": prop(integer()),
|
|
33
33
|
})),
|
|
34
34
|
"CharacterArray": type(list(integer())),
|
|
35
35
|
"SplitData": type(group({
|
|
36
|
-
"contextString":
|
|
37
|
-
"splitter":
|
|
36
|
+
"contextString": prop(text()),
|
|
37
|
+
"splitter": prop(text()),
|
|
38
38
|
})),
|
|
39
39
|
"IncludesData": type(group({
|
|
40
|
-
"contextString":
|
|
41
|
-
"searchString":
|
|
40
|
+
"contextString": prop(text()),
|
|
41
|
+
"searchString": prop(text()),
|
|
42
42
|
})),
|
|
43
43
|
"SplitIn2Result": type(group({
|
|
44
|
-
"head":
|
|
45
|
-
"tail":
|
|
44
|
+
"head": prop(text()),
|
|
45
|
+
"tail": prop(optional(text())),
|
|
46
46
|
})),
|
|
47
47
|
"SplitResult": type(list(text())),
|
|
48
48
|
"StartsWithData": type(group({
|
|
49
|
-
"contextString":
|
|
50
|
-
"searchString":
|
|
49
|
+
"contextString": prop(text()),
|
|
50
|
+
"searchString": prop(text()),
|
|
51
51
|
})),
|
|
52
52
|
"EndsWithData": type(group({
|
|
53
|
-
"contextString":
|
|
54
|
-
"searchString":
|
|
53
|
+
"contextString": prop(text()),
|
|
54
|
+
"searchString": prop(text()),
|
|
55
55
|
})),
|
|
56
56
|
"SubstringData": type(group({
|
|
57
|
-
"contextString":
|
|
58
|
-
"begin":
|
|
57
|
+
"contextString": prop(text()),
|
|
58
|
+
"begin": prop(integer()),
|
|
59
59
|
/**
|
|
60
60
|
* I'm deliberately choosing length over end here, because length will become a 'natural' in the future
|
|
61
61
|
* and then this function is guaranteed to not have a negative length.
|
|
62
62
|
* going with 'end' would require a check for negative values.
|
|
63
63
|
*/
|
|
64
|
-
"length":
|
|
64
|
+
"length": prop(integer()),
|
|
65
65
|
})),
|
|
66
66
|
"ReplaceData": type(group({
|
|
67
|
-
"contextString":
|
|
68
|
-
"pattern":
|
|
69
|
-
"replacement":
|
|
67
|
+
"contextString": prop(text()),
|
|
68
|
+
"pattern": prop(text()),
|
|
69
|
+
"replacement": prop(text()),
|
|
70
70
|
})),
|
|
71
71
|
"EscapeParameters": type(group({
|
|
72
|
-
"contextString":
|
|
73
|
-
"escape":
|
|
74
|
-
"patterns to escape":
|
|
72
|
+
"contextString": prop(text()),
|
|
73
|
+
"escape": prop(text()),
|
|
74
|
+
"patterns to escape": prop(list(text())),
|
|
75
75
|
})),
|
|
76
76
|
"PadData": type(group({
|
|
77
|
-
"contextString":
|
|
78
|
-
"targetLength":
|
|
79
|
-
"padString":
|
|
77
|
+
"contextString": prop(text()),
|
|
78
|
+
"targetLength": prop(integer()),
|
|
79
|
+
"padString": prop(text()),
|
|
80
80
|
})),
|
|
81
81
|
"IndexOfData": type(group({
|
|
82
|
-
"contextString":
|
|
83
|
-
"searchString":
|
|
82
|
+
"contextString": prop(text()),
|
|
83
|
+
"searchString": prop(text()),
|
|
84
84
|
})),
|
|
85
85
|
}),
|
|
86
86
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
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
8
|
|
|
@@ -10,6 +10,11 @@ export const $: g_project.D.API = api(
|
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
12
|
|
|
13
|
-
"create Valid File Name": algorithm(
|
|
13
|
+
"create Valid File Name": algorithm([
|
|
14
|
+
`turns a string into a valid file name, escaping all the characters that are not allowed in a file name`,
|
|
15
|
+
`like slashes, colons, etc.`,
|
|
16
|
+
`see https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words`,
|
|
17
|
+
`and https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file`,
|
|
18
|
+
], "Create Valid File Name", {}),
|
|
14
19
|
}
|
|
15
20
|
)
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
imp,
|
|
11
11
|
integer,
|
|
12
12
|
list,
|
|
13
|
-
|
|
13
|
+
prop,
|
|
14
14
|
nothing,
|
|
15
15
|
optional,
|
|
16
16
|
parametrizedType,
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
type,
|
|
21
21
|
typeParameter,
|
|
22
22
|
typeReference,
|
|
23
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
23
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
24
24
|
|
|
25
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
25
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
26
26
|
const d = pd.d
|
|
27
27
|
|
|
28
28
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -34,8 +34,8 @@ export const $: g_glossary.D.Glossary = {
|
|
|
34
34
|
'namespaces': d({}),
|
|
35
35
|
'data types': d({
|
|
36
36
|
"Create Valid File Name": type(group({
|
|
37
|
-
"raw filename":
|
|
38
|
-
"escape spaces":
|
|
37
|
+
"raw filename": prop(text()),
|
|
38
|
+
"escape spaces": prop(boolean()),
|
|
39
39
|
})),
|
|
40
40
|
"Sanitized File Name": type(text()),
|
|
41
41
|
}),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import * as sh from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import * as sh 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 = sh.api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"
|
|
12
|
+
"transform Block 2 Block": sh.algorithm([], "Transform Block 2 Block", {}),
|
|
13
13
|
}
|
|
14
14
|
)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as pd from 'pareto-core-data'
|
|
2
2
|
|
|
3
|
-
import * as sh from "pareto-pure/auto.dist/public/shorthands/
|
|
3
|
+
import * as sh from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
4
4
|
|
|
5
5
|
import { $ as d_in } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file_with_escaped_strings.data"
|
|
6
6
|
import { $ as d_out } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data"
|
|
7
7
|
|
|
8
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
8
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
9
9
|
const d = pd.d
|
|
10
10
|
|
|
11
11
|
export const $: g_glossary.D.Glossary = {
|
|
@@ -23,7 +23,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
23
23
|
},
|
|
24
24
|
'interface types': d({}),
|
|
25
25
|
'algorithm types': d({
|
|
26
|
-
"
|
|
26
|
+
"Transform Block 2 Block": sh.sfunction(sh.externalTypeReference("out", "Block"), sh.data(sh.externalTypeReference("in", "Block"))),
|
|
27
27
|
}),
|
|
28
28
|
|
|
29
29
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
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
8
|
|
|
9
9
|
export const $: g_project.D.API = api(
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
|
-
"temp_compile_boekhouding": algorithm(
|
|
12
|
+
"temp_compile_boekhouding": algorithm([
|
|
13
|
+
`this function compiles the boekhouding to an Alan file`,
|
|
14
|
+
], "Main", {}),
|
|
13
15
|
}
|
|
14
16
|
)
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
infInit,
|
|
9
9
|
integer,
|
|
10
10
|
list,
|
|
11
|
-
|
|
11
|
+
prop,
|
|
12
12
|
streamconsumer,
|
|
13
13
|
text,
|
|
14
14
|
type,
|
|
15
15
|
typeReference,
|
|
16
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
16
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
17
17
|
|
|
18
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
18
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
19
19
|
|
|
20
20
|
const d = pd.d
|
|
21
21
|
|
|
@@ -30,7 +30,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
30
30
|
"Message": type(text()),
|
|
31
31
|
"Exit code": type(integer()),
|
|
32
32
|
"Command Line Arguments": type(group({
|
|
33
|
-
"arguments":
|
|
33
|
+
"arguments": prop(list(text()))
|
|
34
34
|
})),
|
|
35
35
|
}),
|
|
36
36
|
},
|
|
@@ -1,17 +1,16 @@
|
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"compilation Unit 2 Indented Lines": algorithm("Compilation Unit 2 Indented Lines", {}),
|
|
12
|
+
"compilation Unit 2 Indented Lines": algorithm([
|
|
13
|
+
`this function takes a compilation unit and returns a string with the indented lines`,
|
|
14
|
+
],"Compilation Unit 2 Indented Lines", {}),
|
|
16
15
|
}
|
|
17
16
|
)
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
imp,
|
|
11
11
|
integer,
|
|
12
12
|
list,
|
|
13
|
-
|
|
13
|
+
prop,
|
|
14
14
|
nothing,
|
|
15
15
|
optional,
|
|
16
16
|
parametrizedType,
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
type,
|
|
21
21
|
typeParameter,
|
|
22
22
|
typeReference,
|
|
23
|
-
} from "pareto-pure/auto.dist/public/shorthands/
|
|
23
|
+
} from "pareto-pure/auto.dist/public/shorthands/pareto_4gl_type_system.sh"
|
|
24
24
|
|
|
25
|
-
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.
|
|
25
|
+
import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.pareto_4gl_type_system"
|
|
26
26
|
|
|
27
27
|
import { $ as d_in } from "../../auto.dependencies/pareto-pure/glossaries/auto.pareto_3gl_high.temp_in_between.data"
|
|
28
28
|
// import { $ as d_fpif } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen_indented_file.data"
|
|
@@ -43,7 +43,7 @@ export const $: g_glossary.D.Glossary = {
|
|
|
43
43
|
'namespaces': d({}),
|
|
44
44
|
'data types': d({
|
|
45
45
|
"Data": type(group({
|
|
46
|
-
"compilation unit":
|
|
46
|
+
"compilation unit": prop(component(externalTypeReference("in", "Compilation Unit", {}))),
|
|
47
47
|
})),
|
|
48
48
|
}),
|
|
49
49
|
},
|
package/auto.pareto/modules/typescript_intermediate_2_fountain_pen_indented_file/api.data.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
8
|
|
|
@@ -10,15 +10,19 @@ export const $: g_project.D.API = api(
|
|
|
10
10
|
glos,
|
|
11
11
|
{
|
|
12
12
|
|
|
13
|
-
"createQuotedString": algorithm(
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
"createQuotedString": algorithm([
|
|
14
|
+
`this function wraps a string in quotes and escapes all the occurences of quotes in the string`,
|
|
15
|
+
], "CreateQuotedString", {}),
|
|
16
|
+
"createApostrophedString": algorithm([
|
|
17
|
+
`this function wraps a string in apostrophes and escapes all the occurences of apostrophes in the string`,
|
|
18
|
+
], "CreateBacktickedString", {}),
|
|
19
|
+
"createBacktickedString": algorithm([
|
|
20
|
+
`this function wraps a string in backticks and escapes all the occurences of backticks in the string`,
|
|
21
|
+
],"CreateApostrophedString", {}),
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*/
|
|
22
|
-
"map Block 2 Block": algorithm("Map Block 2 Block", {}),
|
|
23
|
+
"transform Block 2 Block": algorithm([
|
|
24
|
+
`this function serializes a typescript block to a fountain pen indented file block.`,
|
|
25
|
+
`the fp block can then easily be streamed to a file or to the console`,
|
|
26
|
+
], "Transform Block 2 Block", {}),
|
|
23
27
|
}
|
|
24
28
|
)
|