pareto 0.58.0 → 0.60.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 (172) 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 → main}/auto.api.d.ts +1 -1
  8. package/auto.dist/public/modules/{pareto2typescript → main}/auto.api.js +1 -1
  9. package/auto.dist/public/modules/main/auto.implementation.d.ts +2 -0
  10. package/auto.dist/public/modules/main/auto.implementation.js +6 -0
  11. package/auto.dist/public/modules/main/auto.provided_interface_glossary.d.ts +31 -0
  12. package/auto.dist/public/modules/{pareto2typescript → main}/auto.provided_interface_glossary.js +1 -1
  13. package/auto.dist/public/modules/main/auto.provided_interface_glossary.shadow.d.ts +12 -0
  14. package/auto.dist/public/modules/{pareto2typescript → main}/auto.provided_interface_glossary.shadow.js +1 -1
  15. package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.d.ts +2 -0
  16. package/auto.dist/public/modules/main/implementations/temp_$compile_$boekhouding.alg.js +83 -0
  17. package/auto.dist/public/modules/{pareto2typescript → main}/index.js +1 -1
  18. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.api.d.ts +1 -1
  19. package/auto.dist/public/modules/{tendril2alan__light → pareto__2__fountain__pen}/auto.api.js +1 -1
  20. package/auto.dist/public/modules/pareto__2__fountain__pen/auto.implementation.d.ts +2 -0
  21. package/auto.dist/public/modules/pareto__2__fountain__pen/auto.implementation.js +6 -0
  22. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.provided_interface_glossary.d.ts +22 -41
  23. package/auto.dist/public/modules/{alan__light__serialize → pareto__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  24. package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +11 -6
  25. package/auto.dist/public/modules/{tendril2alan__light → pareto__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  26. package/auto.dist/public/modules/pareto__2__fountain__pen/implementations/compilationUnit_$2_$Indented_$Lines.alg.d.ts +2 -0
  27. package/auto.dist/public/modules/pareto__2__fountain__pen/implementations/compilationUnit_$2_$Indented_$Lines.alg.js +54 -0
  28. package/auto.dist/public/modules/{alan__light__serialize → pareto__2__fountain__pen}/index.js +1 -1
  29. package/auto.dist/public/modules/{typescript__serialize → string__aware__fountain__pen__2__fountain__pen}/auto.api.js +1 -1
  30. package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/auto.implementation.js +1 -1
  31. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/auto.provided_interface_glossary.d.ts +90 -0
  32. package/auto.dist/public/modules/{typescript__serialize → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.js +1 -1
  33. package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.shadow.d.ts +2 -2
  34. package/auto.dist/public/modules/{typescript__serialize → string__aware__fountain__pen__2__fountain__pen}/auto.provided_interface_glossary.shadow.js +1 -1
  35. package/auto.dist/public/modules/string__aware__fountain__pen__2__fountain__pen/implementations/map.alg.js +65 -0
  36. package/auto.dist/public/modules/{typescript__serialize → string__aware__fountain__pen__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/{alan__light__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/{tendril2alan__light → 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/{tendril2alan__light → 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 -10
  53. package/auto.pareto/auto.dependencies/index.ts +3 -3
  54. package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +41 -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 +6 -10
  57. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +2 -0
  58. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +89 -20
  59. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/build → pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers}/api.data.ts +0 -1
  60. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +167 -0
  61. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +5 -3
  62. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +0 -1
  63. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +0 -6
  64. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/arithmetic → pareto-pure/auto.dependencies/pareto-standard-library/modules/number}/api.data.ts +3 -1
  65. package/auto.pareto/auto.dependencies/{pareto-standard-library/modules/arithmetic → pareto-pure/auto.dependencies/pareto-standard-library/modules/number}/glossary.data.ts +11 -17
  66. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +16 -0
  67. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +36 -0
  68. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
  69. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +0 -14
  70. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +9 -1
  71. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +19 -1
  72. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -5
  73. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +0 -14
  74. package/auto.pareto/auto.dependencies/pareto-pure/{auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts → glossaries/astn.data.ts} +11 -14
  75. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/{auto.alan.data.ts → auto.graphviz.data.ts} +491 -264
  76. package/auto.pareto/auto.dependencies/pareto-pure/{modules/fountain_pen/glossary.data.ts → glossaries/fountain_pen.data.ts} +11 -18
  77. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/lines.data.ts +27 -0
  78. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/string_aware_fountain_pen.data.ts +40 -0
  79. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/testresult.data.ts +137 -0
  80. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/typescript_intermediate.data.ts +68 -0
  81. package/auto.pareto/auto.dependencies/pareto-pure/modules/alan_light_2_string_aware_fountain_pen/api.data.ts +20 -0
  82. package/auto.pareto/{modules/alan_light_serialize → auto.dependencies/pareto-pure/modules/alan_light_2_string_aware_fountain_pen}/glossary.data.ts +5 -6
  83. package/auto.pareto/auto.dependencies/pareto-pure/{auto.dependencies/pareto-standard-library/modules/json → modules/astn_2_fountain_pen}/api.data.ts +1 -1
  84. package/auto.pareto/auto.dependencies/pareto-pure/modules/astn_2_fountain_pen/glossary.data.ts +39 -0
  85. package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2pareto → cosmos_type_system_2_graphviz}/api.data.ts +3 -2
  86. package/auto.pareto/auto.dependencies/pareto-pure/modules/cosmos_type_system_2_graphviz/glossary.data.ts +30 -0
  87. package/auto.pareto/auto.dependencies/pareto-pure/modules/{cosmos2pareto → cosmos_type_system_2_pareto}/glossary.data.ts +6 -6
  88. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_2_fountain_pen/api.data.ts +17 -0
  89. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_2_fountain_pen/glossary.data.ts +36 -0
  90. package/auto.pareto/auto.dependencies/pareto-pure/modules/{fountain_pen → fountain_pen_2_lines}/api.data.ts +0 -1
  91. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen_2_lines/glossary.data.ts +42 -0
  92. package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_string_aware_fountain_pen/api.data.ts +20 -0
  93. package/auto.pareto/auto.dependencies/pareto-pure/modules/graphviz_2_string_aware_fountain_pen/glossary.data.ts +40 -0
  94. package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript/api.data.ts +16 -0
  95. package/auto.pareto/auto.dependencies/pareto-pure/modules/pareto_2_typescript/glossary.data.ts +53 -0
  96. package/auto.pareto/{modules/tendril2alan_light → auto.dependencies/pareto-pure/modules/tendril_2_alan_light}/glossary.data.ts +5 -7
  97. package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2cosmos_type_system → tendril_2_cosmos_type_system}/glossary.data.ts +6 -6
  98. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril_2_pareto/api.data.ts +17 -0
  99. package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2pareto → tendril_2_pareto}/glossary.data.ts +6 -5
  100. package/auto.pareto/auto.dependencies/pareto-pure/modules/{testresult → testresult_2_testresult}/api.data.ts +0 -2
  101. package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +6 -10
  102. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +2 -0
  103. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +89 -20
  104. package/auto.pareto/auto.dependencies/{pareto-pure/auto.dependencies/pareto-standard-library/modules/build → pareto-standard-library/modules/buildInterfaceInitializers}/api.data.ts +0 -1
  105. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/buildInterfaceInitializers/glossary.data.ts +167 -0
  106. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +5 -3
  107. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +0 -1
  108. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +0 -6
  109. package/auto.pareto/auto.dependencies/{pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic → pareto-standard-library/modules/number}/api.data.ts +3 -1
  110. package/auto.pareto/auto.dependencies/{pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic → pareto-standard-library/modules/number}/glossary.data.ts +11 -17
  111. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/api.data.ts +16 -0
  112. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/optional/glossary.data.ts +36 -0
  113. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +0 -1
  114. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +0 -14
  115. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +9 -1
  116. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +19 -1
  117. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +0 -5
  118. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +0 -14
  119. package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +2 -0
  120. package/auto.pareto/auto.dependencies/pareto-subatomic-library/glossaries/lines.data.ts +27 -0
  121. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +0 -1
  122. package/auto.pareto/{modules/alan_light_serialize → auto.dependencies/pareto-subatomic-library/modules/filesystem}/api.data.ts +1 -1
  123. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/filesystem/glossary.data.ts +59 -0
  124. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +8 -2
  125. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +4 -3
  126. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +0 -1
  127. package/auto.pareto/modules/main/api.data.ts +14 -0
  128. package/auto.pareto/modules/main/glossary.data.ts +43 -0
  129. package/auto.pareto/modules/{pareto2typescript → pareto_2_fountain_pen}/api.data.ts +1 -4
  130. package/auto.pareto/modules/{pareto2typescript → pareto_2_fountain_pen}/glossary.data.ts +6 -9
  131. package/auto.pareto/modules/string_aware_fountain_pen_2 fountain_pen/api.data.ts +15 -0
  132. package/auto.pareto/modules/string_aware_fountain_pen_2 fountain_pen/glossary.data.ts +27 -0
  133. package/auto.pareto/modules/{typescript_serialize → typescript_intermediate_2_fountain_pen}/api.data.ts +7 -0
  134. package/auto.pareto/modules/{typescript_serialize → typescript_intermediate_2_fountain_pen}/glossary.data.ts +8 -0
  135. package/auto.pareto/modules/typescript_naming/glossary.data.ts +3 -2
  136. package/package.json +9 -5
  137. package/auto.dist/public/modules/alan__light__serialize/auto.implementation.d.ts +0 -2
  138. package/auto.dist/public/modules/alan__light__serialize/auto.implementation.js +0 -6
  139. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.d.ts +0 -705
  140. package/auto.dist/public/modules/alan__light__serialize/implementations/serialize.alg.js +0 -115
  141. package/auto.dist/public/modules/pareto2typescript/auto.implementation.d.ts +0 -2
  142. package/auto.dist/public/modules/pareto2typescript/auto.implementation.js +0 -6
  143. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.d.ts +0 -2
  144. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +0 -529
  145. package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.d.ts +0 -1583
  146. package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.js +0 -141
  147. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +0 -11
  148. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +0 -11
  149. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
  150. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +0 -20
  151. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -133
  152. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.liana.data.ts +0 -1955
  153. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +0 -24
  154. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +0 -48
  155. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +0 -133
  156. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +0 -15
  157. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +0 -47
  158. /package/auto.dist/public/modules/{alan__light__serialize → main}/index.d.ts +0 -0
  159. /package/auto.dist/public/modules/{pareto2typescript → pareto__2__fountain__pen}/index.d.ts +0 -0
  160. /package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/auto.api.d.ts +0 -0
  161. /package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/auto.implementation.d.ts +0 -0
  162. /package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/implementations/map.alg.d.ts +0 -0
  163. /package/auto.dist/public/modules/{tendril2alan__light → string__aware__fountain__pen__2__fountain__pen}/index.d.ts +0 -0
  164. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createApostrophedString.alg.d.ts +0 -0
  165. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createBacktickedString.alg.d.ts +0 -0
  166. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/implementations/createQuotedString.alg.d.ts +0 -0
  167. /package/auto.dist/public/modules/{alan__light__serialize → typescript__intermediate__2__fountain__pen}/implementations/serialize.alg.d.ts +0 -0
  168. /package/auto.dist/public/modules/{typescript__serialize → typescript__intermediate__2__fountain__pen}/index.d.ts +0 -0
  169. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{cosmos2pareto → cosmos_type_system_2_pareto}/api.data.ts +0 -0
  170. /package/auto.pareto/{modules/tendril2alan_light → auto.dependencies/pareto-pure/modules/tendril_2_alan_light}/api.data.ts +0 -0
  171. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{tendril2cosmos_type_system → tendril_2_cosmos_type_system}/api.data.ts +0 -0
  172. /package/auto.pareto/auto.dependencies/pareto-pure/modules/{testresult → testresult_2_testresult}/glossary.data.ts +0 -0
@@ -20,36 +20,29 @@ export const $: g_glossary.D.Glossary = {
20
20
  "Block": type(array(taggedUnion({
21
21
  "nested line": ref(typeReference("Line")),
22
22
  "line": string(),
23
+ /**
24
+ * this one can be used to make code generation easier.
25
+ * it will be inlined
26
+ */
27
+ "sub block": ref(typeReference("Block")),
23
28
  }))),
24
29
  "Line": type(array(taggedUnion({
25
30
  "snippet": string(),
26
- "indent": ref(typeReference("Block"))
31
+ "indent": ref(typeReference("Block")),
32
+ /**
33
+ * this one can be used to make code generation easier.
34
+ * it will be inlined
35
+ */
36
+ "sub line": ref(typeReference("Line")),
27
37
  }))),
28
38
  "Lines": type(array(group({
29
39
  "indentation": member(number()),
30
40
  "text": member(string()),
31
41
  }))),
32
- "Indented Lines": type(array(string())),
33
- "SerializeData": type(group({
34
- "block": member(ref(typeReference("Block"))),
35
- "indentation": member(string()),
36
- })),
37
- "IndentData": type(group({
38
- "lines": member(ref(typeReference("Lines"))),
39
- "indentation": member(string()),
40
- })),
41
- "String": type(string()),
42
42
  }),
43
43
  },
44
44
  'interface types': d({
45
- "Lines": aInterface(aInterfaceMethod(typeReference("Lines"))),
46
- "Indented Lines": aInterface(streamconsumer(aInterfaceMethod(typeReference("String")), null)),
47
45
  }),
48
46
  'algorithm types': d({
49
- "Indent": sfunction(typeReference("Indented Lines"), data(typeReference("IndentData"))),
50
- "Serialize": sfunction(typeReference("Lines"), data(typeReference("Block"))),
51
- "Stream": infInit(aInterfaceReference("Lines"), {
52
- "handler": aInterfaceReference("Indented Lines")
53
- }),
54
47
  }),
55
48
  }
@@ -0,0 +1,27 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ aInterface,
5
+ aInterfaceMethod,
6
+ aInterfaceReference,
7
+ array, data, dictionary, externalTypeReference, glossaryParameter, group, 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
+ export const $: g_glossary.D.Glossary = {
14
+ 'glossary parameters': d({}),
15
+ 'imports': d({
16
+ }),
17
+ 'root': {
18
+ 'namespaces': d({}),
19
+ 'data types': d({
20
+ "Lines": type(array(string())),
21
+ }),
22
+ },
23
+ 'interface types': d({
24
+ }),
25
+ 'algorithm types': d({
26
+ }),
27
+ }
@@ -0,0 +1,40 @@
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
+ export const $: g_glossary.D.Glossary = {
14
+ 'glossary parameters': d({}),
15
+ 'imports': d({
16
+ }),
17
+ 'root': {
18
+ 'namespaces': d({}),
19
+ 'data types': d({
20
+ "Block": type(array(taggedUnion({
21
+ "nested line": ref(typeReference("Line")),
22
+ "line": string(),
23
+ }))),
24
+ "Line": type(array(taggedUnion({
25
+ "snippet": string(),
26
+ "apostrophed string": string(),
27
+ "quoted string": string(),
28
+ "backticked string": string(),
29
+ "indent": ref(typeReference("Block"))
30
+ }))),
31
+ "Lines": type(array(group({
32
+ "indentation": member(number()),
33
+ "text": member(string()),
34
+ }))),
35
+ }),
36
+ },
37
+ 'interface types': d({}),
38
+ 'algorithm types': d({
39
+ }),
40
+ }
@@ -0,0 +1,137 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, boolean, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, number, optional, parametrizedType, procedure, ref, sfunction, sInterface, sInterfaceMethod, sInterfaceReference, string, taggedUnion, type, typeParameter, typeReference
5
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
6
+
7
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
+
9
+ const d = pd.d
10
+
11
+ export const $: g_glossary.D.Glossary = {
12
+ 'glossary parameters': d({}),
13
+ 'imports': d({
14
+ }),
15
+ 'root': {
16
+ 'namespaces': d({
17
+ // "intermediate": {
18
+ // 'namespaces': d({
19
+
20
+ // }),
21
+ // 'data types': d({}),
22
+ // },
23
+ // "summary": {
24
+ // 'namespaces': d({
25
+
26
+ // }),
27
+ // 'data types': d({}),
28
+ // },
29
+ }),
30
+ 'data types': d({
31
+ "Library": type(group({
32
+ "public": member(ref(typeReference("Module Set"))),
33
+ "private": member(ref(typeReference("Module Set"))),
34
+ })),
35
+ "Module Set": type(dictionary(ref(typeReference("Module")))),
36
+ "Module": type(dictionary(ref(typeReference("Algorithm")))),
37
+ "Algorithm": type(group({
38
+ "location": member(ref(typeReference("Source Location"))),
39
+ "tests": member(optional(dictionary(ref(typeReference("Test"))))),
40
+ })),
41
+ "Source Location": type(group({
42
+ "file": member(string()),
43
+ "line": member(number()),
44
+ "column": member(number()),
45
+ })),
46
+ "Test": type(array(ref(typeReference("Error")))),
47
+ "Error": type(taggedUnion({
48
+ "content": ref(typeReference("Compare Error"))
49
+ })),
50
+ "Compare Error": type(group({
51
+ "location": member(ref(typeReference("Source Location"))),
52
+ "path": member(string()),
53
+ "type": member(taggedUnion({
54
+ "wrong number": group({
55
+ "found": member(number()),
56
+ }),
57
+ "wrong text": group({
58
+ "found": member(string()),
59
+ }),
60
+ "wrong boolean": group({
61
+ "found": member(boolean())
62
+ }),
63
+ "optional value expected not to be set": null_(),
64
+ "optional value expected to be set": null_(),
65
+ "not the right state": group({
66
+ "found": member(string())
67
+ }),
68
+ "not enough elements": null_(),
69
+ "too many elements": null_(),
70
+ "superfluous entries": group({
71
+ "keys": member(dictionary(null_()))
72
+ }),
73
+ "missing dictionary entry": group({
74
+ "key": member(string()),
75
+ }),
76
+ })),
77
+
78
+ })),
79
+ "Summary": type(group({
80
+ "number of tests": member(number()),
81
+ "number of missing tests": member(number()),
82
+ "number of errors": member(number()),
83
+ })),
84
+
85
+ "intLibrary": type(group({
86
+ "public": member(ref(typeReference("intModule Set"))),
87
+ "private": member(ref(typeReference("intModule Set"))),
88
+ })),
89
+ "intModule Set": type(dictionary(ref(typeReference("intModule")))),
90
+ "intModule": type(dictionary(ref(typeReference("intAlgorithm")))),
91
+ "intAlgorithm": type(group({
92
+ "location": member(ref(typeReference("Source Location"))),
93
+ "status": member(taggedUnion({
94
+ "no tests": null_(),
95
+ "skipped": null_(),
96
+ "has tests": dictionary(ref(typeReference("intTest"))),
97
+ })),
98
+ })),
99
+ "intTest": type(taggedUnion({
100
+ "has errors": array(ref(typeReference("Error"))),
101
+ "has no errors": null_(),
102
+ })),
103
+ "annotatedStatus": type(taggedUnion({
104
+ "has errors": null_(), // red
105
+ "missing tests": null_(), // yellow
106
+ "no tests": null_(), // grey
107
+ "success": null_(), // green
108
+ })),
109
+ "annotatedLibrary": type(group({
110
+ "public": member(ref(typeReference("annotatedModule Set"))),
111
+ "private": member(ref(typeReference("annotatedModule Set"))),
112
+ })),
113
+ "annotatedModule Set": type(group({
114
+ "status": member(ref(typeReference("annotatedStatus"))),
115
+ "modules": member(dictionary(ref(typeReference("annotatedModule")))),
116
+ })),
117
+ "annotatedModule": type(group({
118
+ "status": member(ref(typeReference("annotatedStatus"))),
119
+ "algorithms": member(dictionary(ref(typeReference("annotatedAlgorithm")))),
120
+ })),
121
+ "annotatedAlgorithm": type(group({
122
+ "location": member(ref(typeReference("Source Location"))),
123
+ "status": member(ref(typeReference("annotatedStatus"))),
124
+ "tests": member(dictionary(ref(typeReference("annotatedTest")))),
125
+ })),
126
+ "annotatedTest": type(group({
127
+ "status": member(ref(typeReference("annotatedStatus"))),
128
+ "errors": member(array(ref(typeReference("Error")))),
129
+ })),
130
+ }),
131
+ },
132
+ 'interface types': d({
133
+
134
+ }),
135
+ 'algorithm types': d({
136
+ }),
137
+ }
@@ -0,0 +1,68 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ aInterface,
5
+ aInterfaceMethod,
6
+ aInterfaceReference,
7
+ array, boolean, 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
+ export const $: g_glossary.D.Glossary = {
14
+ 'glossary parameters': d({}),
15
+ 'imports': d({
16
+ }),
17
+ 'root': {
18
+ 'namespaces': d({}),
19
+ 'data types': d({
20
+ "Block": type(array(taggedUnion({
21
+ "nested line": ref(typeReference("Line")),
22
+ "line": string(),
23
+
24
+ //specials
25
+
26
+ /**
27
+ * this one can be used to transform a dictionary into an array of blocks. The order is not controllable.
28
+ */
29
+ "block dictionary": dictionary(ref(typeReference("Block"))),
30
+ }))),
31
+ "Line": type(array(taggedUnion({
32
+ "snippet": string(),
33
+ "indent": ref(typeReference("Block")),
34
+
35
+ //specials
36
+ "apostrophed string": string(),
37
+ "quoted string": string(),
38
+ "backticked string": string(),
39
+ "identifier": string(),
40
+ // /**
41
+ // * this one is necessary because TypeScript does not allow trailing commas in certain places.
42
+ // * for example in type arguments.
43
+ // */
44
+ // "array without trailing commas": array(ref(typeReference("Line"))),
45
+ /**
46
+ * this one can be used to transform a dictionary into an array of line parts. The order is not controllable.
47
+ * typescript sometimes handles empty dictoinaries in impure ways and sometimes doesn't accept a trailing comma.
48
+ */
49
+ "line dictionary": group({
50
+ "dictionary": member(dictionary(ref(typeReference("Line")))),
51
+ "if empty": member(ref(typeReference("Line"))),
52
+ "if not empty": member(group({
53
+ "prefix": member(ref(typeReference("Line"))),
54
+ "suffix": member(ref(typeReference("Line"))),
55
+ "add commas in between": member(boolean()),
56
+ })),
57
+ }),
58
+ }))),
59
+ "Lines": type(array(group({
60
+ "indentation": member(number()),
61
+ "text": member(string()),
62
+ }))),
63
+ }),
64
+ },
65
+ 'interface types': d({}),
66
+ 'algorithm types': d({
67
+ }),
68
+ }
@@ -0,0 +1,20 @@
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
+ /**
14
+ * use this function to serialize to an intermediate format.
15
+ * Serialization to this format can be done in a pure way.
16
+ * serialization from this format to an array of strings is not pure, specifically for 1 reason so far: apostrophed strings.
17
+ */
18
+ "map": algorithm("Map", null, {}),
19
+ }
20
+ )
@@ -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_in } from "../../glossaries/auto.alan_light.data"
19
+ import { $ as d_out } from "../../glossaries/string_aware_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, {}),
28
- "fp": imp(d_fp, {}),
27
+ "in": imp(d_in, {}),
28
+ "out": imp(d_out, {}),
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("out", "Block"), data(externalTypeReference("in", "Root"))),
39
38
  }),
40
39
 
41
40
  }
@@ -10,6 +10,6 @@ import { glossary, group, member, number, sInterface, sInterfaceMethod, string,
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
  )
@@ -0,0 +1,39 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, afunction, boolean, computed, data, dictionary,
5
+ glossaryParameter, group, member, number, optional, ref, sfunction, string, type, typeReference,
6
+ taggedUnion,
7
+ null_,
8
+ sInterface,
9
+ sInterfaceMethod,
10
+ imp,
11
+ externalTypeReference
12
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
13
+
14
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
15
+
16
+ import { $ as d_in } from "../../glossaries/astn.data"
17
+ import { $ as d_out } from "../../glossaries/fountain_pen.data"
18
+
19
+ const d = pd.d
20
+
21
+ export const $: g_glossary.D.Glossary = {
22
+ 'glossary parameters': d({
23
+ }),
24
+ 'imports': d({
25
+ "in": imp(d_in, {}),
26
+ "out": imp(d_out, {}),
27
+ }),
28
+ 'root': {
29
+ 'namespaces': d({}),
30
+ 'data types': d({
31
+ }),
32
+ },
33
+ 'interface types': d({
34
+
35
+ }),
36
+ 'algorithm types': d({
37
+ "Map": sfunction(externalTypeReference("out", "Block"), data(externalTypeReference("in", "Value"))),
38
+ }),
39
+ }
@@ -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
+ "map": algorithm("Map", null, {}),
15
+
15
16
  }
16
- )
17
+ )
@@ -0,0 +1,30 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, data, dictionary, externalTypeReference, glossaryParameter, group, imp, member, null_, parametrizedType, ref, sfunction, string, taggedUnion, type, typeParameter, typeReference
5
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
6
+
7
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
+
9
+ import { $ as d_out } from "../../glossaries/auto.graphviz.data"
10
+ import { $ as d_in } from "../../glossaries/auto.cosmos_type_system.data"
11
+
12
+ const d = pd.d
13
+
14
+ export const $: g_glossary.D.Glossary = {
15
+ 'glossary parameters': d({}),
16
+ 'imports': d({
17
+ "in": imp(d_in, {}),
18
+ "out": imp(d_out, {}),
19
+ }),
20
+ 'root': {
21
+ 'namespaces': d({}),
22
+ 'data types': d({
23
+ }),
24
+ },
25
+ 'interface types': d({}),
26
+ 'algorithm types': d({
27
+ "Map": sfunction(externalTypeReference("out", "Graph"), data(externalTypeReference("in", "Glossary"))),
28
+
29
+ }),
30
+ }
@@ -6,28 +6,28 @@ import {
6
6
 
7
7
  import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
8
 
9
- import { $ as d_pareto } from "../../glossaries/auto.pareto.data"
10
- import { $ as d_cosmos } from "../../glossaries/auto.cosmos_type_system.data"
9
+ import { $ as d_out } from "../../glossaries/auto.pareto.data"
10
+ import { $ as d_in } from "../../glossaries/auto.cosmos_type_system.data"
11
11
 
12
12
  const d = pd.d
13
13
 
14
14
  export const $: g_glossary.D.Glossary = {
15
15
  'glossary parameters': d({}),
16
16
  'imports': d({
17
- "pareto": imp(d_pareto, {}),
18
- "cosmos": imp(d_cosmos, {}),
17
+ "in": imp(d_in, {}),
18
+ "out": imp(d_out, {}),
19
19
  }),
20
20
  'root': {
21
21
  'namespaces': d({}),
22
22
  'data types': d({
23
23
  "Library2ParetoComparatorsData": type(group({
24
- "library": member(ref(externalTypeReference("cosmos", "Library"))),
24
+ "library": member(ref(externalTypeReference("in", "Library"))),
25
25
  })),
26
26
  }),
27
27
  },
28
28
  'interface types': d({}),
29
29
  'algorithm types': d({
30
- "Library2ParetoComparators": sfunction(externalTypeReference("pareto", "Compilation Unit"), data(typeReference("Library2ParetoComparatorsData"))),
30
+ "Library2ParetoComparators": sfunction(externalTypeReference("out", "Compilation Unit"), data(typeReference("Library2ParetoComparatorsData"))),
31
31
 
32
32
  }),
33
33
  }
@@ -0,0 +1,17 @@
1
+
2
+
3
+ import * as pd from 'pareto-core-data'
4
+
5
+ import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
6
+
7
+ import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
+
9
+ import { $ as glos } from "./glossary.data"
10
+ import { glossary, group, member, number, type } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
11
+
12
+ export const $: g_project.D.API = api(
13
+ glos,
14
+ {
15
+ "map": algorithm("Map", null, {}),
16
+ }
17
+ )
@@ -0,0 +1,36 @@
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_in } from "../../glossaries/fountain_pen.data"
14
+ import { $ as d_out } from "../../glossaries/fountain_pen.data"
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({}),
18
+ 'imports': d({
19
+
20
+ "in": imp(d_in, {}),
21
+ "out": imp(d_out, {}),
22
+ }),
23
+ 'root': {
24
+ 'namespaces': d({}),
25
+ 'data types': d({
26
+ // "SerializeData": type(group({
27
+ // "block": member(ref(externalTypeReference("in", "Block"))),
28
+ // })),
29
+ // "String": type(string()),
30
+ }),
31
+ },
32
+ 'interface types': d({}),
33
+ 'algorithm types': d({
34
+ "Map": sfunction(externalTypeReference("out", "Lines"), data(externalTypeReference("in", "Block"))),
35
+ }),
36
+ }
@@ -13,7 +13,6 @@ export const $: g_project.D.API = api(
13
13
  glos,
14
14
  {
15
15
  "indent": algorithm("Indent", null, {}),
16
- "serialize": algorithm("Serialize", null, {}),
17
16
  "stream": algorithm("Stream", null, {}),
18
17
  }
19
18
  )
@@ -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_in } from "../../glossaries/fountain_pen.data"
14
+ import { $ as d_out } from "../../glossaries/lines.data"
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({}),
18
+ 'imports': d({
19
+ "in": imp(d_in, {}),
20
+ "out": imp(d_out, {}),
21
+ }),
22
+ 'root': {
23
+ 'namespaces': d({}),
24
+ 'data types': d({
25
+ "IndentData": type(group({
26
+ "lines": member(ref(externalTypeReference("in", "Lines"))),
27
+ "indentation": member(string()),
28
+ })),
29
+ "String": type(string()),
30
+ }),
31
+ },
32
+ 'interface types': d({
33
+ "Lines": aInterface(aInterfaceMethod(externalTypeReference("in", "Lines"))),
34
+ "Indented Lines": aInterface(streamconsumer(aInterfaceMethod(typeReference("String")), null)),
35
+ }),
36
+ 'algorithm types': d({
37
+ "Indent": sfunction(externalTypeReference("out", "Lines"), data(typeReference("IndentData"))),
38
+ "Stream": infInit(aInterfaceReference("Lines"), {
39
+ "handler": aInterfaceReference("Indented Lines")
40
+ }),
41
+ }),
42
+ }
@@ -0,0 +1,20 @@
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
+ /**
14
+ * use this function to serialize to an intermediate format.
15
+ * Serialization to this format can be done in a pure way.
16
+ * serialization from this format to an array of strings is not pure, specifically for 1 reason so far: apostrophed strings.
17
+ */
18
+ "map": algorithm("Map", null, {}),
19
+ }
20
+ )