pareto 0.58.0 → 0.59.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.
Files changed (141) hide show
  1. package/auto.dist/auto.bin/auto.boekhouding.d.ts +2 -0
  2. package/auto.dist/auto.bin/auto.boekhouding.js +40 -0
  3. package/auto.dist/data/boekhouding.data.d.ts +2 -0
  4. package/auto.dist/data/boekhouding.data.js +433 -0
  5. package/auto.dist/index.d.ts +4 -4
  6. package/auto.dist/index.js +6 -6
  7. package/auto.dist/public/modules/{alan__light__serialize → alan__light__intermediate__2__fountain__pen}/auto.api.js +1 -1
  8. package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/auto.implementation.js +1 -1
  9. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/auto.provided_interface_glossary.d.ts +88 -0
  10. package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  11. package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +2 -2
  12. package/auto.dist/public/modules/{typescript__serialize → alan__light__intermediate__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  13. package/auto.dist/public/modules/alan__light__intermediate__2__fountain__pen/implementations/map.alg.js +61 -0
  14. package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/index.js +1 -1
  15. package/auto.dist/public/modules/{alan__light__serialize → main}/auto.api.d.ts +1 -1
  16. package/auto.dist/public/modules/{pareto2typescript → main}/auto.api.js +1 -1
  17. package/auto.dist/public/modules/main/auto.implementation.d.ts +2 -0
  18. package/auto.dist/public/modules/main/auto.implementation.js +6 -0
  19. package/auto.dist/public/modules/main/auto.provided_interface_glossary.d.ts +31 -0
  20. package/auto.dist/public/modules/{pareto2typescript → main}/auto.provided_interface_glossary.js +1 -1
  21. package/auto.dist/public/modules/main/auto.provided_interface_glossary.shadow.d.ts +12 -0
  22. package/auto.dist/public/modules/{pareto2typescript → main}/auto.provided_interface_glossary.shadow.js +1 -1
  23. package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.d.ts +2 -0
  24. package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.js +80 -0
  25. package/auto.dist/public/modules/{pareto2typescript → main}/index.js +1 -1
  26. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.api.d.ts +1 -1
  27. package/auto.dist/public/modules/{tendril2alan__light → pareto__2__fountain__pen}/auto.api.js +1 -1
  28. package/auto.dist/public/modules/pareto__2__fountain__pen/auto.implementation.d.ts +2 -0
  29. package/auto.dist/public/modules/pareto__2__fountain__pen/auto.implementation.js +6 -0
  30. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.provided_interface_glossary.d.ts +22 -41
  31. package/auto.dist/public/modules/{alan__light__serialize → pareto__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  32. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +11 -6
  33. package/auto.dist/public/modules/{tendril2alan__light → pareto__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  34. package/auto.dist/public/modules/pareto__2__fountain__pen/implementations/compilationUnit_$2_$Indented_$Lines.alg.d.ts +2 -0
  35. package/auto.dist/public/modules/pareto__2__fountain__pen/implementations/compilationUnit_$2_$Indented_$Lines.alg.js +54 -0
  36. package/auto.dist/public/modules/{alan__light__serialize → pareto__2__fountain__pen}/index.js +1 -1
  37. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/auto.api.d.ts +1 -0
  38. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/auto.api.js +1 -1
  39. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/auto.implementation.d.ts +1 -0
  40. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/auto.implementation.js +4 -2
  41. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/auto.provided_interface_glossary.d.ts +148 -0
  42. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  43. package/auto.dist/public/modules/{alan__light__serialize → typescript__intermediate__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +5 -7
  44. package/auto.dist/public/modules/{alan__light__serialize → typescript__intermediate__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  45. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createApostrophedString.alg.js +2 -3
  46. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createBacktickedString.alg.js +2 -3
  47. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createQuotedString.alg.js +3 -3
  48. package/auto.dist/public/modules/typescript__intermediate__2__fountain__pen/implementations/serialize.alg.js +95 -0
  49. package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/index.js +1 -1
  50. package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.d.ts +3 -2
  51. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +1 -1
  52. package/auto.pareto/$.data.ts +8 -9
  53. package/auto.pareto/auto.dependencies/index.ts +3 -3
  54. package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +35 -20
  55. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +1 -1
  56. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +0 -2
  57. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +3 -0
  58. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +9 -6
  59. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +0 -1
  60. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -8
  61. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +0 -1
  62. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +3 -1
  63. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +1 -2
  64. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/alan_light_intermediate.data.ts +38 -0
  65. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/json/glossary.data.ts → pareto-pure/glossaries/astn.data.ts} +11 -14
  66. package/auto.pareto/auto.dependencies/pareto-pure/{modules/fountain_pen/glossary.data.ts → glossaries/fountain_pen.data.ts} +11 -18
  67. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/lines.data.ts +27 -0
  68. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/testresult.data.ts +137 -0
  69. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts +68 -0
  70. package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_alan_light_intermediate/api.data.ts +20 -0
  71. package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_alan_light_intermediate/glossary.data.ts +40 -0
  72. package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen/glossary.data.ts +39 -0
  73. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/json → pareto-pure/modules/fountain_pen_2_fountain_pen}/api.data.ts +3 -1
  74. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_2_fountain_pen/glossary.data.ts +34 -0
  75. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen → fountain_pen_2_lines}/api.data.ts +0 -1
  76. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_2_lines/glossary.data.ts +42 -0
  77. package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript/api.data.ts +16 -0
  78. package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript/glossary.data.ts +53 -0
  79. package/auto.pareto/{modules/tendril2alan_light → auto.dependencies/pareto-pure/modules/tendril_2_alan_light}/glossary.data.ts +2 -4
  80. package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2pareto → tendril_2_pareto}/api.data.ts +2 -1
  81. package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2pareto → tendril_2_pareto}/glossary.data.ts +1 -0
  82. package/auto.pareto/auto.dependencies/pareto-pure/modules/{testresult → testresult_2_testresult}/api.data.ts +0 -2
  83. package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +0 -2
  84. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +3 -0
  85. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +9 -6
  86. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +0 -1
  87. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -8
  88. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +0 -1
  89. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +3 -1
  90. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +1 -2
  91. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +0 -1
  92. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +8 -2
  93. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +4 -3
  94. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +0 -1
  95. package/auto.pareto/modules/{alan_light_serialize/api.data.ts → alan_light_intermediate_2 fountain_pen/api.data.ts } +1 -1
  96. package/auto.pareto/modules/{alan_light_serialize/glossary.data.ts → alan_light_intermediate_2 fountain_pen/glossary.data.ts } +4 -5
  97. package/auto.pareto/modules/main/api.data.ts +15 -0
  98. package/auto.pareto/modules/main/glossary.data.ts +43 -0
  99. package/auto.pareto/modules/{pareto2typescript → pareto_2_fountain_pen}/api.data.ts +1 -4
  100. package/auto.pareto/modules/{pareto2typescript → pareto_2_fountain_pen}/glossary.data.ts +6 -9
  101. package/auto.pareto/modules/{typescript_serialize → typescript_intermediate_2_fountain_pen}/api.data.ts +7 -0
  102. package/auto.pareto/modules/{typescript_serialize → typescript_intermediate_2_fountain_pen}/glossary.data.ts +8 -0
  103. package/auto.pareto/modules/typescript_naming/glossary.data.ts +3 -2
  104. package/package.json +9 -5
  105. package/auto.dist/public/modules/alan__light__serialize/auto.implementation.d.ts +0 -2
  106. package/auto.dist/public/modules/alan__light__serialize/auto.implementation.js +0 -6
  107. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.d.ts +0 -705
  108. package/auto.dist/public/modules/alan__light__serialize/implementations/serialize.alg.js +0 -115
  109. package/auto.dist/public/modules/pareto2typescript/auto.implementation.d.ts +0 -2
  110. package/auto.dist/public/modules/pareto2typescript/auto.implementation.js +0 -6
  111. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.d.ts +0 -2
  112. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +0 -529
  113. package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.d.ts +0 -1583
  114. package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.js +0 -141
  115. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +0 -11
  116. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +0 -11
  117. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
  118. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +0 -20
  119. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +0 -47
  120. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan.data.ts +0 -441
  121. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana.data.ts +0 -1955
  122. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +0 -24
  123. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +0 -48
  124. /package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/auto.api.d.ts +0 -0
  125. /package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/auto.implementation.d.ts +0 -0
  126. /package/auto.dist/public/modules/{tendril2alan__light → alan__light__intermediate__2__fountain__pen}/implementations/map.alg.d.ts +0 -0
  127. /package/auto.dist/public/modules/{alan__light__serialize → alan__light__intermediate__2__fountain__pen}/index.d.ts +0 -0
  128. /package/auto.dist/public/modules/{pareto2typescript → main}/index.d.ts +0 -0
  129. /package/auto.dist/public/modules/{tendril2alan__light → pareto__2__fountain__pen}/index.d.ts +0 -0
  130. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createApostrophedString.alg.d.ts +0 -0
  131. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createBacktickedString.alg.d.ts +0 -0
  132. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createQuotedString.alg.d.ts +0 -0
  133. /package/auto.dist/public/modules/{alan__light__serialize → typescript__intermediate__2__fountain__pen}/implementations/serialize.alg.d.ts +0 -0
  134. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/index.d.ts +0 -0
  135. /package/auto.pareto/auto.dependencies/pareto-pure/{auto.dependencies/pareto-standard-library/modules/json → modules/astn_2_fountain_pen}/api.data.ts +0 -0
  136. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{cosmos2pareto → cosmos_type_system_2_pareto}/api.data.ts +0 -0
  137. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{cosmos2pareto → cosmos_type_system_2_pareto}/glossary.data.ts +0 -0
  138. /package/auto.pareto/{modules/tendril2alan_light → auto.dependencies/pareto-pure/modules/tendril_2_alan_light}/api.data.ts +0 -0
  139. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2cosmos_type_system → tendril_2_cosmos_type_system}/api.data.ts +0 -0
  140. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2cosmos_type_system → tendril_2_cosmos_type_system}/glossary.data.ts +0 -0
  141. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{testresult → testresult_2_testresult}/glossary.data.ts +0 -0
@@ -0,0 +1,42 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ aInterface,
5
+ aInterfaceMethod,
6
+ aInterfaceReference,
7
+ array, data, dictionary, externalTypeReference, glossaryParameter, group, imp, infInit, member, null_, number, parametrizedType, ref, sfunction, streamconsumer, string, taggedUnion, type, typeParameter, typeReference
8
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
9
+
10
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
11
+ const d = pd.d
12
+
13
+ import { $ as d_fountain_pen } from "../../glossaries/fountain_pen.data"
14
+ import { $ as d_lines } from "../../glossaries/lines.data"
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({}),
18
+ 'imports': d({
19
+ "fp": imp(d_fountain_pen, {}),
20
+ "lines": imp(d_lines, {}),
21
+ }),
22
+ 'root': {
23
+ 'namespaces': d({}),
24
+ 'data types': d({
25
+ "IndentData": type(group({
26
+ "lines": member(ref(externalTypeReference("fp", "Lines"))),
27
+ "indentation": member(string()),
28
+ })),
29
+ "String": type(string()),
30
+ }),
31
+ },
32
+ 'interface types': d({
33
+ "Lines": aInterface(aInterfaceMethod(externalTypeReference("fp", "Lines"))),
34
+ "Indented Lines": aInterface(streamconsumer(aInterfaceMethod(typeReference("String")), null)),
35
+ }),
36
+ 'algorithm types': d({
37
+ "Indent": sfunction(externalTypeReference("lines", "Lines"), data(typeReference("IndentData"))),
38
+ "Stream": infInit(aInterfaceReference("Lines"), {
39
+ "handler": aInterfaceReference("Indented Lines")
40
+ }),
41
+ }),
42
+ }
@@ -0,0 +1,16 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
4
+
5
+ import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { aInterface, aInterfaceMethod, glossary, group, member, number, sInterface, sInterfaceMethod, streamconsumer, string, type, typeReference } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+
13
+ {
14
+ "map": algorithm("Map", null, {})
15
+ }
16
+ )
@@ -0,0 +1,53 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ dictionary,
5
+ typeReference,
6
+ data,
7
+ sfunction,
8
+ ref,
9
+ typeParameter,
10
+ externalTypeReference,
11
+ parametrizedType,
12
+ optional,
13
+ group,
14
+ member,
15
+ aInterface,
16
+ streamconsumer,
17
+ aInterfaceMethod,
18
+ type,
19
+ string,
20
+ boolean,
21
+ sInterface,
22
+ sInterfaceMethod,
23
+ array,
24
+ imp,
25
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
26
+
27
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
28
+
29
+ import { $ as d_pareto } from "../../glossaries/auto.pareto.data"
30
+ import { $ as d_typescript_intermediate } from "../../glossaries/typescript_intermediate.data"
31
+
32
+ const d = pd.d
33
+
34
+ export const $: g_glossary.D.Glossary = {
35
+ 'imports': d({
36
+ "pareto": imp(d_pareto, {}),
37
+ "typescript intermediate": imp(d_typescript_intermediate, {}),
38
+ }),
39
+
40
+ 'glossary parameters': d({}),
41
+ 'root': {
42
+ 'namespaces': d({}),
43
+ 'data types': d({
44
+ "Map Data": type(group({
45
+ "compilation unit": member(ref(externalTypeReference("pareto", "Compilation Unit", {}))),
46
+ })),
47
+ }),
48
+ },
49
+ 'interface types': d({}),
50
+ 'algorithm types': d({
51
+ "Map": sfunction(externalTypeReference("typescript intermediate", "Block"), data(typeReference("Map Data"))),
52
+ }),
53
+ }
@@ -26,9 +26,8 @@ import {
26
26
 
27
27
  import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
28
28
 
29
-
30
- import { $ as d_tendril } from "../../auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data"
31
- import { $ as d_alan_light } from "../../auto.dependencies/pareto-pure/glossaries/auto.alan.data"
29
+ import { $ as d_tendril } from "../../glossaries/auto.tendril_resolved.data"
30
+ import { $ as d_alan_light } from "../../glossaries/auto.alan_light.data"
32
31
 
33
32
  const d = pd.d
34
33
 
@@ -37,7 +36,6 @@ export const $: g_glossary.D.Glossary = {
37
36
  "tendril": imp(d_tendril, {}),
38
37
  "alan light": imp(d_alan_light, {}),
39
38
  }),
40
-
41
39
  'glossary parameters': d({}),
42
40
  'root': {
43
41
  'namespaces': d({}),
@@ -11,6 +11,7 @@ import { $ as glos } from "./glossary.data"
11
11
  export const $: g_project.D.API = api(
12
12
  glos,
13
13
  {
14
- "createResolver": algorithm("CreateResolver", null, {})
14
+ "createResolver": algorithm("CreateResolver", null, {}),
15
+ "createSerializer": algorithm("CreateSerializer", null, {}),
15
16
  }
16
17
  )
@@ -29,5 +29,6 @@ export const $: g_glossary.D.Glossary = {
29
29
  }),
30
30
  'algorithm types': d({
31
31
  "CreateResolver": sfunction(externalTypeReference("pareto", "Compilation Unit", {}), data(externalTypeReference("tendril", "Type Library", {}))),
32
+ "CreateSerializer": sfunction(externalTypeReference("pareto", "Compilation Unit", {}), data(externalTypeReference("tendril", "Type Library", {}))),
32
33
  }),
33
34
  }
@@ -4,10 +4,8 @@ import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/
4
4
 
5
5
  import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
6
6
 
7
-
8
7
  import { $ as d_glos } from "./glossary.data"
9
8
 
10
-
11
9
  export const $: g_project.D.API = api(
12
10
  d_glos,
13
11
  {
@@ -10,7 +10,6 @@ import { $ as d_array } from "./modules/array/api.data"
10
10
  import { $ as d_boolean } from "./modules/boolean/api.data"
11
11
  import { $ as d_build } from "./modules/build/api.data"
12
12
  import { $ as d_dictionary } from "./modules/dictionary/api.data"
13
- import { $ as d_json } from "./modules/json/api.data"
14
13
  import { $ as d_nested } from "./modules/nested/api.data"
15
14
  import { $ as d_resolve } from "./modules/resolve/api.data"
16
15
  import { $ as d_string } from "./modules/string/api.data"
@@ -31,7 +30,6 @@ export const $: g_project.D.Library = {
31
30
  "boolean": d_boolean,
32
31
  "build": d_build,
33
32
  "dictionary": d_dictionary,
34
- "json": d_json,
35
33
  "nested": d_nested,
36
34
  "resolve": d_resolve,
37
35
  "string": d_string,
@@ -10,9 +10,12 @@ import { glossary, group, member, number, type } from "pareto-pure/auto.dist/pub
10
10
  export const $: g_project.D.API = api(
11
11
  glos,
12
12
  {
13
+ "add": algorithm("Add", null, {}),
13
14
  "divideWithRemainder": algorithm("DivideWithRemainder", null, {}),
14
15
  "increment": algorithm("Increment", "IncrementConfig", {}),
16
+ "min": algorithm("Min", null, {}),
15
17
  "max": algorithm("Max", null, {}),
18
+ "multiply": algorithm("Multiply", null, {}),
16
19
  "negate": algorithm("Negate", null, {}),
17
20
  "subtract": algorithm("Subtract", null, {}),
18
21
  }
@@ -46,8 +46,10 @@ export const $: g_glossary.D.Glossary = {
46
46
  },
47
47
  'interface types': d({}),
48
48
  'algorithm types': d({
49
+ "Add": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
50
+ "Multiply": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
49
51
  "Increment": sfunction(typeReference("Number"), data(typeReference("Number"))),
50
- "Array Multiply": sfunction(typeReference("Number"), data(typeReference("NumberRange"))),
52
+ // "Array Multiply": sfunction(typeReference("Number"), data(typeReference("NumberRange"))),
51
53
  "Negate": sfunction(typeReference("Number"), data(typeReference("Number"))),
52
54
  /**
53
55
  * if the denominator is 0, the return value is null
@@ -57,19 +59,20 @@ export const $: g_glossary.D.Glossary = {
57
59
  /**
58
60
  * calculates the max of an array of numbers. If there are no entries, the result value is 0
59
61
  */
60
- "ArrayMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
61
- "ArrayMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
62
- "ArraySum": sfunction(typeReference("Number"), data(typeReference("NumberArray"))),
62
+ // "ArrayMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
63
+ // "ArrayMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
64
+ // "ArraySum": sfunction(typeReference("Number"), data(typeReference("NumberArray"))),
63
65
  /**
64
66
  * calculates the max of a dictionary of number. If there are no entries, the result value is 0
65
67
  */
66
- "DictionaryMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
67
- "DictionaryMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
68
+ // "DictionaryMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
69
+ // "DictionaryMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
68
70
  /**
69
71
  * calculates the max of a tuple of numbers
70
72
  */
71
73
  "DictionarySum": sfunction(typeReference("Number"), data(typeReference("NumberDictionary"))),
72
74
 
75
+ "Min": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
73
76
  "Max": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
74
77
  "Subtract": sfunction(typeReference("Number"), data(typeReference("SubtractData"))),
75
78
  }),
@@ -18,7 +18,6 @@ export const $: g_project.D.API = api(
18
18
  "createSafeDictionaryBuilder": algorithm("CreateSafeDictionaryBuilder", "DictionaryBuildStrategy", {}),
19
19
  "createArrayBuilder": algorithm("CreateArrayBuilder", null, {}),
20
20
 
21
-
22
21
  "createStringBuilder": algorithm("CreateStringBuilder", "Startstring", {
23
22
  }),
24
23
  }
@@ -41,10 +41,6 @@ export const $: g_glossary.D.Glossary = {
41
41
  "value": member(ref(typeParameter("Type"))),
42
42
  })),
43
43
 
44
-
45
-
46
-
47
-
48
44
  "DictionaryBuildStrategy": type(taggedUnion({
49
45
  "ignore": group({}),
50
46
  "overwrite": group({}),
@@ -80,10 +76,6 @@ export const $: g_glossary.D.Glossary = {
80
76
  ), { "EndType": null }),
81
77
  "Add": sInterface(sInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })), { "Type": null }),
82
78
  "Push": sInterface(sInterfaceMethod(typeParameter("Type")), { "Type": null }),
83
-
84
-
85
-
86
-
87
79
  }),
88
80
  'algorithm types': d({
89
81
  "CreateArrayBuilder": infInit(aInterfaceReference("Elements", {
@@ -64,7 +64,6 @@ export const $: g_glossary.D.Glossary = {
64
64
  })),
65
65
  "KeyValueDictionary": parametrizedType({ "Type": null }, dictionary(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
66
66
 
67
-
68
67
  "RekeyDictionary": parametrizedType({ "Type": null }, dictionary(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
69
68
 
70
69
  }),
@@ -11,7 +11,9 @@ export const $: g_project.D.API = api(
11
11
  {
12
12
  "getArrayAsString": algorithm("GetArrayAsString", "Configuration", {}),
13
13
  "getLengthAsString": algorithm("GetLengthAsString", null, {}),
14
- "getKeysAsString": algorithm("GetKeysAsString", "Configuration", {}),
14
+
15
+ //this one implicitely sorts the keys
16
+ //"getKeysAsString": algorithm("GetKeysAsString", "Configuration", {}),
15
17
 
16
18
  "getNumberOfKeysAsString": algorithm("GetNumberOfKeysAsString", null, {}),
17
19
 
@@ -22,7 +22,6 @@ export const $: g_glossary.D.Glossary = {
22
22
  "StringArray": type(array(string())),
23
23
  "Dictionary": parametrizedType({ "T": null }, dictionary(ref(typeParameter("T")))),
24
24
 
25
-
26
25
  "Configuration": type(group({
27
26
  "separator": member(string()),
28
27
  "maximum": member(optional(group({
@@ -36,7 +35,7 @@ export const $: g_glossary.D.Glossary = {
36
35
  'algorithm types': d({
37
36
  "GetLengthAsString": sfunction(typeReference("String"), data(typeReference("Array", { "T": typeParameter("T") })), { "T": null}),
38
37
  "GetArrayAsString": sfunction(typeReference("String"), data(typeReference("StringArray"))),
39
- "GetKeysAsString": sfunction(typeReference("String"), data(typeReference("Dictionary", { "T": typeParameter("T") })), { "T": null}),
38
+ //"GetKeysAsString": sfunction(typeReference("String"), data(typeReference("Dictionary", { "T": typeParameter("T") })), { "T": null}),
40
39
  "GetNumberOfKeysAsString": sfunction(typeReference("String"), data(typeReference("Dictionary", { "T": typeParameter("T") })), { "T": null}),
41
40
  }),
42
41
  }
@@ -34,7 +34,6 @@ export const $: g_glossary.D.Glossary = {
34
34
  "Value": parametrizedType({ "Type": null }, ref(typeParameter("Type"))),
35
35
 
36
36
 
37
-
38
37
  }),
39
38
  },
40
39
  'interface types': d({}),
@@ -10,7 +10,13 @@ import { glossary, group, member, number, sInterface, sInterfaceMethod, string,
10
10
  export const $: g_project.D.API = api(
11
11
  glos,
12
12
  {
13
- "convertJSON": algorithm("ConvertJSON", null, {}),
14
- "unsafeConvertJSON": algorithm("UnsafeConvertJSON", null, {}),
13
+ "parse": algorithm("Parse", null, {}),
14
+
15
+ /**
16
+ * this one is impure because it uses needs to inspect strings to escape them properly
17
+ */
18
+ "serialize": algorithm("Serialize", null, {}),
19
+
20
+ "unsafeParse": algorithm("UnsafeParse", null, {}),
15
21
  }
16
22
  )
@@ -35,17 +35,18 @@ export const $: g_glossary.D.Glossary = {
35
35
  "null": null_(),
36
36
  })),
37
37
 
38
-
39
38
  }),
40
39
  },
41
40
  'interface types': d({
42
41
 
43
42
  }),
44
43
  'algorithm types': d({
45
- "ConvertJSON": sfunction(typeReference("Result"), data(typeReference("String"))),
44
+ "Parse": sfunction(typeReference("Result"), data(typeReference("String"))),
45
+
46
+ "Serialize": sfunction(typeReference("String"), data(typeReference("Value"))),
46
47
 
47
48
  /*use this one if the application may crash if the JSON is invalid*/
48
- "UnsafeConvertJSON": sfunction(typeReference("Value"), data(typeReference("String"))),
49
+ "UnsafeParse": sfunction(typeReference("Value"), data(typeReference("String"))),
49
50
  //"Convert": sfunction(typeReference("Result"), data(typeReference("Value"))),
50
51
  }),
51
52
  }
@@ -37,6 +37,5 @@ export const $: g_project.D.API = api(
37
37
  // lastIndexOf(searchValue[, fromIndex])
38
38
  // Returns the last index of the specified value.
39
39
 
40
-
41
40
  }
42
41
  )
@@ -10,6 +10,6 @@ import { glossary, group, member, number, type } from "pareto-pure/auto.dist/pub
10
10
  export const $: g_project.D.API = api(
11
11
  glos,
12
12
  {
13
- "serialize": algorithm("Serialize", null, {}),
13
+ "map": algorithm("Map", null, {}),
14
14
  }
15
15
  )
@@ -15,8 +15,8 @@ import {
15
15
  externalTypeReference,
16
16
  } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
17
17
 
18
- import { $ as d_alan } from "../../auto.dependencies/pareto-pure/glossaries/auto.alan.data"
19
- import { $ as d_fp } from "../../auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data"
18
+ import { $ as d_alan_light_intermediate } from "../../auto.dependencies/pareto-pure/glossaries/alan_light_intermediate.data"
19
+ import { $ as d_fp } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen.data"
20
20
 
21
21
  import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
22
22
  const d = pd.d
@@ -24,18 +24,17 @@ const d = pd.d
24
24
  export const $: g_glossary.D.Glossary = {
25
25
  'glossary parameters': d({}),
26
26
  'imports': d({
27
- "alan": imp(d_alan, {}),
27
+ "ali": imp(d_alan_light_intermediate, {}),
28
28
  "fp": imp(d_fp, {}),
29
29
  }),
30
30
  'root': {
31
31
  'namespaces': d({}),
32
32
  'data types': d({
33
- "String": type(string()),
34
33
  }),
35
34
  },
36
35
  'interface types': d({}),
37
36
  'algorithm types': d({
38
- "Serialize": sfunction(externalTypeReference("fp", "Indented Lines"), data(externalTypeReference("alan", "Root"))),
37
+ "Map": sfunction(externalTypeReference("fp", "Block"), data(externalTypeReference("ali", "Block"))),
39
38
  }),
40
39
 
41
40
  }
@@ -0,0 +1,15 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
4
+
5
+ import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+ {
13
+ "temp_compile_boekhouding": algorithm("Main", null, {}),
14
+ }
15
+ )
@@ -0,0 +1,43 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ aInterface,
5
+ aInterfaceMethod,
6
+ aInterfaceReference,
7
+ array, data, dictionary, externalTypeReference, group, infInit, infref, member, number, optional, parametrizedType, ref, sfunction,
8
+ streamconsumer,
9
+ string,
10
+ type, typeParameter, typeReference
11
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
12
+
13
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
14
+
15
+ const d = pd.d
16
+
17
+ export const $: g_glossary.D.Glossary = {
18
+ 'glossary parameters': d({}),
19
+ 'imports': d({
20
+ }),
21
+ 'root': {
22
+ 'namespaces': d({}),
23
+ 'data types': d({
24
+ "Message": type(string()),
25
+ "Exit code": type(number()),
26
+ "Command Line Arguments": type(group({
27
+ "arguments": member(array(string()))
28
+ })),
29
+ }),
30
+ },
31
+ 'interface types': d({
32
+ "Main": aInterface(aInterfaceMethod(typeReference("Command Line Arguments"))),
33
+ "Message Stream": aInterface(streamconsumer(aInterfaceMethod(typeReference("Message")), null)),
34
+ "Exit": aInterface(aInterfaceMethod(typeReference("Exit code"))),
35
+ }),
36
+ 'algorithm types': d({
37
+ "Main": infInit(aInterfaceReference("Main", {}), {
38
+ "stdout": aInterfaceReference("Message Stream", {}),
39
+ "stderr": aInterfaceReference("Message Stream", {}),
40
+ "exit": aInterfaceReference("Exit")
41
+ }, { }),
42
+ }),
43
+ }
@@ -9,13 +9,10 @@ import { aInterface, aInterfaceMethod, glossary, group, member, number, sInterfa
9
9
 
10
10
  export const $: g_project.D.API = api(
11
11
  glos,
12
-
13
12
  {
14
13
  /**
15
14
  * this algorithm is not pure because it uses subatomic algorithms ('isEmpty' and several string operations)
16
15
  */
17
- "serializeCompilationUnit": algorithm("SerializeCompilationUnit", null, {
18
- })
19
-
16
+ "compilationUnit_2_Indented_Lines": algorithm("CompilationUnit_2_Indented_Lines", null, {}),
20
17
  }
21
18
  )
@@ -26,33 +26,30 @@ import {
26
26
 
27
27
  import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
28
28
 
29
-
30
29
  import { $ as d_pareto } from "../../auto.dependencies/pareto-pure/glossaries/auto.pareto.data"
31
- import { $ as d_fp } from "../../auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data"
30
+ import { $ as d_fp } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen.data"
31
+ import { $ as d_l } from "../../auto.dependencies/pareto-pure/glossaries/lines.data"
32
32
 
33
33
  const d = pd.d
34
34
 
35
35
  export const $: g_glossary.D.Glossary = {
36
36
  'imports': d({
37
- "pareto": imp(d_pareto, {}),
38
37
  "fp": imp(d_fp, {}),
38
+ "l": imp(d_l, {}),
39
+ "pareto": imp(d_pareto, {}),
39
40
  }),
40
41
 
41
42
  'glossary parameters': d({}),
42
43
  'root': {
43
44
  'namespaces': d({}),
44
45
  'data types': d({
45
- "Serialize CompilationUnit Data": type(group({
46
- // "phase": member(taggedUnion({
47
- // "production": null_(),
48
- // "development": null_(),
49
- // })),
46
+ "Data": type(group({
50
47
  "compilation unit": member(ref(externalTypeReference("pareto", "Compilation Unit", {}))),
51
48
  })),
52
49
  }),
53
50
  },
54
51
  'interface types': d({}),
55
52
  'algorithm types': d({
56
- "SerializeCompilationUnit": sfunction(externalTypeReference("fp", "Indented Lines"), data(typeReference("Serialize CompilationUnit Data"))),
53
+ "CompilationUnit_2_Indented_Lines": sfunction(externalTypeReference("l", "Lines"), data(typeReference("Data"))),
57
54
  }),
58
55
  }
@@ -13,5 +13,12 @@ export const $: g_project.D.API = api(
13
13
  "createQuotedString": algorithm("CreateQuotedString", null, {}),
14
14
  "createApostrophedString": algorithm("CreateBacktickedString", null, {}),
15
15
  "createBacktickedString": algorithm("CreateApostrophedString", null, {}),
16
+
17
+ /**
18
+ * this function serializes a typescript block to a fountain pen block.
19
+ * the fp block can then easily be streamed to a file or console.
20
+ *
21
+ */
22
+ "serialize": algorithm("Serialize", null, {}),
16
23
  }
17
24
  )
@@ -11,14 +11,21 @@ import {
11
11
  dictionary,
12
12
  null_,
13
13
  array,
14
+ externalTypeReference,
15
+ imp,
14
16
  } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
15
17
 
16
18
  import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
17
19
  const d = pd.d
18
20
 
21
+ import { $ as d_fp } from "../../auto.dependencies/pareto-pure/glossaries/fountain_pen.data"
22
+ import { $ as d_ts } from "../../auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data"
23
+
19
24
  export const $: g_glossary.D.Glossary = {
20
25
  'glossary parameters': d({}),
21
26
  'imports': d({
27
+ "fp": imp(d_fp, {}),
28
+ "ts": imp(d_ts, {}),
22
29
  }),
23
30
  'root': {
24
31
  'namespaces': d({}),
@@ -31,6 +38,7 @@ export const $: g_glossary.D.Glossary = {
31
38
  "CreateQuotedString": sfunction(typeReference("String"), data(typeReference("String"))),
32
39
  "CreateApostrophedString": sfunction(typeReference("String"), data(typeReference("String"))),
33
40
  "CreateBacktickedString": sfunction(typeReference("String"), data(typeReference("String"))),
41
+ "Serialize": sfunction(externalTypeReference("fp", "Block"), data(externalTypeReference("ts", "Block"))),
34
42
  }),
35
43
 
36
44
  }
@@ -23,12 +23,13 @@ export const $: g_glossary.D.Glossary = {
23
23
  'root': {
24
24
  'namespaces': d({}),
25
25
  'data types': d({
26
- "String": type(string()),
26
+ "Raw Identifier": type(string()),
27
+ "Sanitized Identifier": type(string()),
27
28
  }),
28
29
  },
29
30
  'interface types': d({}),
30
31
  'algorithm types': d({
31
- "CreateIdentifier": sfunction(typeReference("String"), data(typeReference("String"))),
32
+ "CreateIdentifier": sfunction(typeReference("Sanitized Identifier"), data(typeReference("Raw Identifier"))),
32
33
  }),
33
34
 
34
35
  }
package/package.json CHANGED
@@ -4,11 +4,15 @@
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "pareto-core-alg": "^0.2.2",
7
+ "pareto-core-bin": "^0.1.3",
7
8
  "pareto-core-data": "^0.7.2",
8
9
  "pareto-core-dev": "^0.9.1",
9
- "pareto-pure": "^0.6.2",
10
- "pareto-standard-library": "^0.5.0",
11
- "pareto-subatomic-library": "^0.4.0"
10
+ "pareto-pure": "^0.19.0",
11
+ "pareto-standard-library": "^0.6.0",
12
+ "pareto-subatomic-library": "^0.5.0"
13
+ },
14
+ "bin": {
15
+ "boekhouding": "auto.dist/auto.bin/auto.boekhouding.js"
12
16
  },
13
17
  "files": [
14
18
  "auto.dist",
@@ -21,6 +25,6 @@
21
25
  "main": "auto.dist/index.js",
22
26
  "types": "auto.dist/index.d.ts",
23
27
  "name": "pareto",
24
- "version": "0.58.0",
25
- "content-fingerprint": "7d41b1ba4f2864412f7125c094d4a3ad037aea0f"
28
+ "version": "0.59.0",
29
+ "content-fingerprint": "b603a114314867b038e8055cafdd1004322aab3a"
26
30
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- export { $$ as serialize } from "./implementations/serialize.alg";
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serialize = void 0;
4
- var serialize_alg_1 = require("./implementations/serialize.alg");
5
- Object.defineProperty(exports, "serialize", { enumerable: true, get: function () { return serialize_alg_1.$$; } });
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by5pbXBsZW1lbnRhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9wdWJsaWMvbW9kdWxlcy9hbGFuX19saWdodF9fc2VyaWFsaXplL2F1dG8uaW1wbGVtZW50YXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBRUEsaUVBQWlFO0FBQXhELDBHQUFBLEVBQUUsT0FBYSJ9