pareto 0.56.0 → 0.58.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 (219) hide show
  1. package/auto.dist/index.d.ts +5 -3
  2. package/auto.dist/index.js +7 -5
  3. package/auto.dist/public/modules/alan__light__serialize/auto.api.js +3 -0
  4. package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.js +1 -1
  5. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.d.ts +705 -0
  6. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.js +3 -0
  7. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.d.ts +34 -0
  8. package/auto.dist/public/modules/alan__light__serialize/auto.provided_interface_glossary.shadow.js +3 -0
  9. package/auto.dist/public/modules/alan__light__serialize/implementations/serialize.alg.js +115 -0
  10. package/auto.dist/public/modules/alan__light__serialize/index.js +19 -0
  11. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.js +1 -1
  12. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.js +1 -1
  13. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.d.ts +45 -8
  14. package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/auto.provided_interface_glossary.js +1 -1
  15. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.shadow.d.ts +4 -0
  16. package/auto.dist/public/modules/pareto2typescript/auto.provided_interface_glossary.shadow.js +3 -0
  17. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +529 -0
  18. package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.js +1 -1
  19. package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.d.ts +1 -1
  20. package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.api.js +1 -1
  21. package/auto.dist/public/modules/tendril2alan__light/auto.implementation.d.ts +2 -0
  22. package/auto.dist/public/modules/tendril2alan__light/auto.implementation.js +6 -0
  23. package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.d.ts +1583 -0
  24. package/auto.dist/public/{fountain__pen → modules/tendril2alan__light}/auto.provided_interface_glossary.js +1 -1
  25. package/auto.dist/public/{cosmos__2__pareto → modules/tendril2alan__light}/auto.provided_interface_glossary.shadow.d.ts +3 -3
  26. package/auto.dist/public/modules/tendril2alan__light/auto.provided_interface_glossary.shadow.js +3 -0
  27. package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.d.ts +2 -0
  28. package/auto.dist/public/modules/tendril2alan__light/implementations/map.alg.js +141 -0
  29. package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.js +1 -1
  30. package/auto.dist/public/modules/typescript__naming/auto.api.d.ts +6 -0
  31. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.api.js +1 -1
  32. package/auto.dist/public/modules/typescript__naming/auto.implementation.d.ts +2 -0
  33. package/auto.dist/public/modules/typescript__naming/auto.implementation.js +6 -0
  34. package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.d.ts +9 -0
  35. package/auto.dist/public/{pareto__2__typescript → modules/typescript__naming}/auto.provided_interface_glossary.js +1 -1
  36. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.shadow.d.ts +1 -1
  37. package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.shadow.js +3 -0
  38. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.d.ts +2 -0
  39. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +248 -0
  40. package/auto.dist/public/modules/typescript__naming/index.d.ts +2 -0
  41. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/index.js +1 -1
  42. package/auto.dist/public/modules/typescript__serialize/auto.api.d.ts +8 -0
  43. package/auto.dist/public/modules/typescript__serialize/auto.api.js +3 -0
  44. package/auto.dist/public/modules/typescript__serialize/auto.implementation.d.ts +4 -0
  45. package/auto.dist/public/modules/typescript__serialize/auto.implementation.js +10 -0
  46. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +11 -0
  47. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.js +3 -0
  48. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +11 -0
  49. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.js +3 -0
  50. package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.d.ts +2 -0
  51. package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.js +62 -0
  52. package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.d.ts +2 -0
  53. package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.js +62 -0
  54. package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.d.ts +2 -0
  55. package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.js +45 -0
  56. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
  57. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +20 -0
  58. package/auto.dist/public/modules/typescript__serialize/index.d.ts +2 -0
  59. package/auto.dist/public/modules/typescript__serialize/index.js +19 -0
  60. package/auto.pareto/$.data.ts +13 -19
  61. package/auto.pareto/auto.dependencies/index.ts +6 -4
  62. package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +65 -0
  63. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +7 -0
  64. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/$.data.ts +3 -15
  65. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
  66. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/arithmetic/glossary.data.ts +2 -2
  67. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
  68. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/array/glossary.data.ts +11 -19
  69. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/api.data.ts +3 -3
  70. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/boolean/glossary.data.ts +2 -2
  71. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/api.data.ts +3 -3
  72. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/build/glossary.data.ts +2 -2
  73. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/api.data.ts +5 -16
  74. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/dictionary/glossary.data.ts +9 -20
  75. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
  76. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
  77. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
  78. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/nested/glossary.data.ts +2 -2
  79. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
  80. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
  81. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
  82. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
  83. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/api.data.ts +3 -3
  84. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-pure/auto.dependencies/pareto-standard-library}/modules/tostring/glossary.data.ts +2 -2
  85. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan.data.ts +441 -0
  86. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.alan_light.data.ts +441 -0
  87. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.cosmos_type_system.data.ts +20 -13
  88. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +122 -0
  89. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.grammar.data.ts +1 -1
  90. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.liana.data.ts +1 -1
  91. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.pareto.data.ts +1 -1
  92. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.tendril.data.ts +18 -181
  93. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +862 -0
  94. package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/api.data.ts +2 -2
  95. package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts +5 -13
  96. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/api.data.ts +19 -0
  97. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data.ts +55 -0
  98. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +24 -0
  99. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +48 -0
  100. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/api.data.ts +16 -0
  101. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/glossary.data.ts +73 -0
  102. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/api.data.ts +16 -0
  103. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/glossary.data.ts +33 -0
  104. package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/api.data.ts +26 -0
  105. package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/glossary.data.ts +144 -0
  106. package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
  107. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
  108. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
  109. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
  110. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
  111. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
  112. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
  113. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
  114. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
  115. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
  116. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
  117. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
  118. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
  119. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
  120. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
  121. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
  122. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
  123. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
  124. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
  125. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
  126. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
  127. package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +36 -0
  128. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +23 -0
  129. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +88 -0
  130. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +27 -0
  131. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +82 -0
  132. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/json/api.data.ts +3 -3
  133. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/json/glossary.data.ts +8 -8
  134. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/api.data.ts +3 -3
  135. package/auto.pareto/auto.dependencies/{pareto-standard-impure-library → pareto-subatomic-library}/modules/numerical_predicates/glossary.data.ts +2 -2
  136. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +42 -0
  137. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +109 -0
  138. package/auto.pareto/modules/alan_light_serialize/api.data.ts +15 -0
  139. package/auto.pareto/modules/alan_light_serialize/glossary.data.ts +41 -0
  140. package/auto.pareto/modules/pareto2typescript/api.data.ts +10 -13
  141. package/auto.pareto/modules/pareto2typescript/glossary.data.ts +35 -24
  142. package/auto.pareto/modules/tendril2alan_light/api.data.ts +17 -0
  143. package/auto.pareto/modules/tendril2alan_light/glossary.data.ts +51 -0
  144. package/auto.pareto/modules/typescript_naming/api.data.ts +28 -0
  145. package/auto.pareto/{auto.dependencies/res-typescript/modules/naming → modules/typescript_naming}/glossary.data.ts +2 -2
  146. package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/api.data.ts +3 -4
  147. package/auto.pareto/{auto.dependencies/res-typescript/modules/serialize → modules/typescript_serialize}/glossary.data.ts +2 -8
  148. package/package.json +6 -5
  149. package/auto.dist/public/cosmos__2__pareto/auto.implementation.d.ts +0 -2
  150. package/auto.dist/public/cosmos__2__pareto/auto.implementation.js +0 -6
  151. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.d.ts +0 -3281
  152. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.js +0 -3
  153. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.d.ts +0 -2
  154. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.js +0 -359
  155. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.d.ts +0 -29
  156. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.js +0 -3
  157. package/auto.dist/public/fountain__pen/implementations/serialize.alg.js +0 -98
  158. package/auto.dist/public/glossaries/cosmos__type__system.d.ts +0 -1760
  159. package/auto.dist/public/glossaries/cosmos__type__system.js +0 -3
  160. package/auto.dist/public/glossaries/cosmos__type__system.shadow.d.ts +0 -8
  161. package/auto.dist/public/glossaries/cosmos__type__system.shadow.js +0 -3
  162. package/auto.dist/public/glossaries/grammar.d.ts +0 -260
  163. package/auto.dist/public/glossaries/grammar.js +0 -3
  164. package/auto.dist/public/glossaries/grammar.shadow.d.ts +0 -8
  165. package/auto.dist/public/glossaries/grammar.shadow.js +0 -3
  166. package/auto.dist/public/glossaries/liana.d.ts +0 -2433
  167. package/auto.dist/public/glossaries/liana.js +0 -3
  168. package/auto.dist/public/glossaries/liana.shadow.d.ts +0 -8
  169. package/auto.dist/public/glossaries/liana.shadow.js +0 -3
  170. package/auto.dist/public/glossaries/pareto.d.ts +0 -1503
  171. package/auto.dist/public/glossaries/pareto.js +0 -3
  172. package/auto.dist/public/glossaries/pareto.shadow.d.ts +0 -8
  173. package/auto.dist/public/glossaries/pareto.shadow.js +0 -3
  174. package/auto.dist/public/glossaries/tendril.d.ts +0 -1425
  175. package/auto.dist/public/glossaries/tendril.js +0 -3
  176. package/auto.dist/public/glossaries/tendril.shadow.d.ts +0 -8
  177. package/auto.dist/public/glossaries/tendril.shadow.js +0 -3
  178. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.js +0 -3
  179. package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.js +0 -558
  180. package/auto.dist/public/shorthands/cosmos.d.ts +0 -50
  181. package/auto.dist/public/shorthands/cosmos.js +0 -512
  182. package/auto.dist/public/shorthands/grammar.d.ts +0 -13
  183. package/auto.dist/public/shorthands/grammar.js +0 -110
  184. package/auto.dist/public/shorthands/liana.d.ts +0 -66
  185. package/auto.dist/public/shorthands/liana.js +0 -728
  186. package/auto.dist/public/shorthands/pareto.d.ts +0 -48
  187. package/auto.dist/public/shorthands/pareto.js +0 -243
  188. package/auto.dist/public/shorthands/tendril.d.ts +0 -48
  189. package/auto.dist/public/shorthands/tendril.js +0 -402
  190. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +0 -26
  191. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +0 -21
  192. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +0 -15
  193. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +0 -34
  194. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +0 -19
  195. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +0 -189
  196. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +0 -25
  197. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +0 -78
  198. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +0 -16
  199. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +0 -69
  200. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/nested/api.data.ts +0 -15
  201. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +0 -19
  202. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +0 -35
  203. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +0 -20
  204. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +0 -84
  205. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +0 -26
  206. package/auto.pareto/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +0 -75
  207. package/auto.pareto/auto.dependencies/res-typescript/$.data.ts +0 -35
  208. package/auto.pareto/auto.dependencies/res-typescript/modules/naming/api.data.ts +0 -15
  209. package/auto.pareto/modules/fountain_pen/api.data.ts +0 -17
  210. package/auto.pareto/modules/fountain_pen/glossary.data.ts +0 -32
  211. /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.api.d.ts +0 -0
  212. /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/auto.implementation.d.ts +0 -0
  213. /package/auto.dist/public/{fountain__pen → modules/alan__light__serialize}/implementations/serialize.alg.d.ts +0 -0
  214. /package/auto.dist/public/{cosmos__2__pareto → modules/alan__light__serialize}/index.d.ts +0 -0
  215. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.d.ts +0 -0
  216. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.d.ts +0 -0
  217. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/implementations/serializeCompilationUnit.alg.d.ts +0 -0
  218. /package/auto.dist/public/{fountain__pen → modules/pareto2typescript}/index.d.ts +0 -0
  219. /package/auto.dist/public/{pareto__2__typescript → modules/tendril2alan__light}/index.d.ts +0 -0
@@ -2,9 +2,9 @@
2
2
 
3
3
  import * as pd from 'pareto-core-data'
4
4
 
5
- import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
5
+ import { algorithm, algref, api } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
6
6
 
7
- import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
7
+ import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
8
 
9
9
  import { $ as glos } from "./glossary.data"
10
10
 
@@ -1,10 +1,10 @@
1
1
  import * as pd from 'pareto-core-data'
2
2
 
3
3
  import {
4
- array, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, parametrizedType, ref, sfunction, string, taggedUnion, type, typeParameter, typeReference
5
- } from "pareto/auto.dist/public/shorthands/cosmos"
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
6
 
7
- import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
7
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
8
8
 
9
9
  import { $ as d_pareto } from "../../glossaries/auto.pareto.data"
10
10
  import { $ as d_cosmos } from "../../glossaries/auto.cosmos_type_system.data"
@@ -14,16 +14,8 @@ const d = pd.d
14
14
  export const $: g_glossary.D.Glossary = {
15
15
  'glossary parameters': d({}),
16
16
  'imports': d({
17
- "pareto": {
18
- 'glossary': d_pareto,
19
- 'type arguments': d({
20
- }),
21
- },
22
- "cosmos": {
23
- 'glossary': d_cosmos,
24
- 'type arguments': d({
25
- }),
26
- },
17
+ "pareto": imp(d_pareto, {}),
18
+ "cosmos": imp(d_cosmos, {}),
27
19
  }),
28
20
  'root': {
29
21
  'namespaces': d({}),
@@ -0,0 +1,19 @@
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
+ "indent": algorithm("Indent", null, {}),
16
+ "serialize": algorithm("Serialize", null, {}),
17
+ "stream": algorithm("Stream", null, {}),
18
+ }
19
+ )
@@ -0,0 +1,55 @@
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
+ "Block": type(array(taggedUnion({
21
+ "nested line": ref(typeReference("Line")),
22
+ "line": string(),
23
+ }))),
24
+ "Line": type(array(taggedUnion({
25
+ "snippet": string(),
26
+ "indent": ref(typeReference("Block"))
27
+ }))),
28
+ "Lines": type(array(group({
29
+ "indentation": member(number()),
30
+ "text": member(string()),
31
+ }))),
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
+ }),
43
+ },
44
+ 'interface types': d({
45
+ "Lines": aInterface(aInterfaceMethod(typeReference("Lines"))),
46
+ "Indented Lines": aInterface(streamconsumer(aInterfaceMethod(typeReference("String")), null)),
47
+ }),
48
+ '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
+ }),
55
+ }
@@ -0,0 +1,24 @@
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
+
11
+ export const $: g_project.D.API = api(
12
+ glos,
13
+ {
14
+ // "map": algorithm("Map", null, {
15
+ // // "resolveDictionary": sfunction("resolve", {}, "SafeResolveDictionary"),
16
+ // // // "decorateDictionaryEntriesWithKey": sfunction("foreach", {}, "DecorateDictionaryEntriesWithKey"),
17
+ // // // "buildDictionary": sfunction("build", {}, "BuildUnsafeDictionary"),
18
+ // // // "filter": sfunction("dictionary", {}, "Filter"),
19
+ // // // "isEmpty": sfunction("dictionary", {}, "IsEmpty"),
20
+ // // // "merge": sfunction("array", {}, "Merge"),
21
+ // // // "push": sfunction("array", {}, "Push"),
22
+ // }),
23
+ }
24
+ )
@@ -0,0 +1,48 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, data, dictionary, externalTypeReference, glossaryParameter, group, member, null_, number, 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_liana } from "../../glossaries/auto.liana.data"
10
+ import { $ as d_tendril } from "../../glossaries/auto.tendril.data"
11
+
12
+ const d = pd.d
13
+
14
+ export const $: g_glossary.D.Glossary = {
15
+ 'glossary parameters': d({}),
16
+ 'imports': d({
17
+ "liana": {
18
+ 'glossary': d_liana,
19
+ 'type arguments': d({
20
+ }),
21
+ },
22
+ "tendril": {
23
+ 'glossary': d_tendril,
24
+ 'type arguments': d({
25
+ }),
26
+ },
27
+ }),
28
+ 'root': {
29
+ 'namespaces': d({}),
30
+ 'data types': d({
31
+ "TypeScript Location": type(group({
32
+ "file": member(string()),
33
+ "line": member(number()),
34
+ "column": member(number()),
35
+ }))
36
+ }),
37
+ },
38
+ 'interface types': d({}),
39
+ 'algorithm types': d({
40
+ "Map": sfunction(
41
+ //FIXME this function should reference to the libraries that don't have annotations.
42
+ //this function is designed not to be able to produce runtime errors, so no error info is needed
43
+ //However, the functionality to produce a resolved, annotationless library need to be written
44
+ externalTypeReference("tendril", "Type Library", { "Annotation": typeReference("TypeScript Location") }),
45
+ data(externalTypeReference("liana", "Type Library", { "Annotation": typeReference("TypeScript Location") }))
46
+ ),
47
+ }),
48
+ }
@@ -0,0 +1,16 @@
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
+
11
+ export const $: g_project.D.API = api(
12
+ glos,
13
+ {
14
+ "map": algorithm("Map", null, {})
15
+ }
16
+ )
@@ -0,0 +1,73 @@
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, optional, 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 d_cosmos } from "../../glossaries/auto.cosmos_type_system.data"
11
+ import { $ as d_tendril } from "../../glossaries/auto.tendril_resolved.data"
12
+
13
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
14
+ const d = pd.d
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({}),
18
+ 'imports': d({
19
+ "cosmos": imp(d_cosmos, {}),
20
+ "tendril": imp(d_tendril, {}),
21
+ }),
22
+ 'root': {
23
+ 'namespaces': d({}),
24
+ 'data types': d({
25
+ "MapData": type(group({
26
+ "mapped library": member(ref(typeReference("Mapped Library"))),
27
+ "settings": member(ref(typeReference("Mapping Settings"))),
28
+ })),
29
+ "Mapped Library": type(group({
30
+ "library": member(ref(externalTypeReference("tendril", "Type Library", {}))),
31
+ "terminal mapping": member(ref(typeReference("Terminal Mapping"))),
32
+ })),
33
+
34
+ "Terminal Mapping": type(dictionary(taggedUnion({
35
+ "boolean": null_(),
36
+ "number": null_(),
37
+ "string": null_(),
38
+ }))),
39
+ "Mapping Settings": type(group({
40
+ "annotations": member(boolean()),
41
+ "datamodel": member(optional(group({
42
+ "constraints mapping": member(group({
43
+ "terminal values": member(boolean()),
44
+ "constraints": member(optional(taggedUnion({
45
+ "optional": group({}),
46
+ "required": group({}),
47
+ }))),
48
+ })),
49
+ }))),
50
+ // "visitor interface": member(optional(group({
51
+ // "datamodel": member(taggedUnion({
52
+ // "internal": group({}),
53
+ // "exernal": group({
54
+ // "location": member(string()),
55
+ // }),
56
+ // })),
57
+ // }))),
58
+ // "algorithms": member(group({
59
+ // "serialize": member(optional(group({
60
+ // //data location,
61
+ // }))),
62
+ // //resolve
63
+ // })),
64
+ })),
65
+ }),
66
+ },
67
+ 'interface types': d({
68
+ }),
69
+ 'algorithm types': d({
70
+ "Map": sfunction(externalTypeReference("cosmos", "Glossary", {}), data(typeReference("MapData"))),
71
+
72
+ }),
73
+ }
@@ -0,0 +1,16 @@
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
+
11
+ export const $: g_project.D.API = api(
12
+ glos,
13
+ {
14
+ "createResolver": algorithm("CreateResolver", null, {})
15
+ }
16
+ )
@@ -0,0 +1,33 @@
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, optional, 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 d_pareto } from "../../glossaries/auto.pareto.data"
11
+ import { $ as d_tendril } from "../../glossaries/auto.tendril_resolved.data"
12
+
13
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
14
+ const d = pd.d
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({}),
18
+ 'imports': d({
19
+ "pareto": imp(d_pareto, {}),
20
+ "tendril": imp(d_tendril, {}),
21
+ }),
22
+ 'root': {
23
+ 'namespaces': d({}),
24
+ 'data types': d({
25
+
26
+ }),
27
+ },
28
+ 'interface types': d({
29
+ }),
30
+ 'algorithm types': d({
31
+ "CreateResolver": sfunction(externalTypeReference("pareto", "Compilation Unit", {}), data(externalTypeReference("tendril", "Type Library", {}))),
32
+ }),
33
+ }
@@ -0,0 +1,26 @@
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
+
8
+ import { $ as d_glos } from "./glossary.data"
9
+
10
+
11
+ export const $: g_project.D.API = api(
12
+ d_glos,
13
+ {
14
+ "annotateTestResult": algorithm("Annotate TestResult", null, {}),
15
+ "serializeSummary": algorithm("Serialize Summary", null, {
16
+ // "add": libDep("pareto-standard-impure-library", "arithmetic", "Add", {}),
17
+ // "isZero": libDep("pareto-standard-impure-library", "numerical__predicates", "IsZero", {}),
18
+ // "negate": libDep("pareto-standard-impure-library", "arithmetic", "Negate", {}),
19
+ }),
20
+ "serializeTestResult": algorithm("Serialize TestResult", null, {
21
+ // "dictionaryForEach": libDep("pareto-standard-impure-library", "foreach", "DictionaryForEach", {}),
22
+ }),
23
+ "summarize": algorithm("Summarize", null, {}),
24
+
25
+ }
26
+ )
@@ -0,0 +1,144 @@
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
+ "String": type(string()),
86
+
87
+ "intLibrary": type(group({
88
+ "public": member(ref(typeReference("intModule Set"))),
89
+ "private": member(ref(typeReference("intModule Set"))),
90
+ })),
91
+ "intModule Set": type(dictionary(ref(typeReference("intModule")))),
92
+ "intModule": type(dictionary(ref(typeReference("intAlgorithm")))),
93
+ "intAlgorithm": type(group({
94
+ "location": member(ref(typeReference("Source Location"))),
95
+ "status": member(taggedUnion({
96
+ "no tests": null_(),
97
+ "skipped": null_(),
98
+ "has tests": dictionary(ref(typeReference("intTest"))),
99
+ })),
100
+ })),
101
+ "intTest": type(taggedUnion({
102
+ "has errors": array(ref(typeReference("Error"))),
103
+ "has no errors": null_(),
104
+ })),
105
+ "annotatedStatus": type(taggedUnion({
106
+ "has errors": null_(), // red
107
+ "missing tests": null_(), // yellow
108
+ "no tests": null_(), // grey
109
+ "success": null_(), // green
110
+ })),
111
+ "annotatedLibrary": type(group({
112
+ "public": member(ref(typeReference("annotatedModule Set"))),
113
+ "private": member(ref(typeReference("annotatedModule Set"))),
114
+ })),
115
+ "annotatedModule Set": type(group({
116
+ "status": member(ref(typeReference("annotatedStatus"))),
117
+ "modules": member(dictionary(ref(typeReference("annotatedModule")))),
118
+ })),
119
+ "annotatedModule": type(group({
120
+ "status": member(ref(typeReference("annotatedStatus"))),
121
+ "algorithms": member(dictionary(ref(typeReference("annotatedAlgorithm")))),
122
+ })),
123
+ "annotatedAlgorithm": type(group({
124
+ "location": member(ref(typeReference("Source Location"))),
125
+ "status": member(ref(typeReference("annotatedStatus"))),
126
+ "tests": member(dictionary(ref(typeReference("annotatedTest")))),
127
+ })),
128
+ "annotatedTest": type(group({
129
+ "status": member(ref(typeReference("annotatedStatus"))),
130
+ "errors": member(array(ref(typeReference("Error")))),
131
+ })),
132
+ }),
133
+ },
134
+ 'interface types': d({
135
+ "Stringstream": sInterface(sInterfaceMethod(typeReference("String"))),
136
+
137
+ }),
138
+ 'algorithm types': d({
139
+ "Annotate TestResult": sfunction(typeReference("annotatedLibrary"), data(typeReference("intLibrary"))),
140
+ "Summarize": sfunction(typeReference("Summary"), data(typeReference("intLibrary"))),
141
+ "Serialize Summary": procedure(data(typeReference("Summary")), sInterfaceReference("Stringstream")),
142
+ "Serialize TestResult": procedure(data(typeReference("annotatedLibrary")), sInterfaceReference("Stringstream")),
143
+ }),
144
+ }
@@ -0,0 +1,46 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import * as g_project from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
4
+
5
+ const d = pd.d
6
+ import { } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
7
+
8
+ import { $ as d_arithmetic } from "./modules/arithmetic/api.data"
9
+ import { $ as d_array } from "./modules/array/api.data"
10
+ import { $ as d_boolean } from "./modules/boolean/api.data"
11
+ import { $ as d_build } from "./modules/build/api.data"
12
+ import { $ as d_dictionary } from "./modules/dictionary/api.data"
13
+ import { $ as d_json } from "./modules/json/api.data"
14
+ import { $ as d_nested } from "./modules/nested/api.data"
15
+ import { $ as d_resolve } from "./modules/resolve/api.data"
16
+ import { $ as d_string } from "./modules/string/api.data"
17
+ import { $ as d_tostring } from "./modules/tostring/api.data"
18
+
19
+ export const $: g_project.D.Library = {
20
+ 'author': "Corno",
21
+ 'description': "A library that contains very common functionality that cannot be implemented purely in Pareto",
22
+ 'license': "TBD",
23
+
24
+ 'type': ['primitive', null],
25
+ 'module sets': {
26
+ 'public': {
27
+ 'glossaries': d({}),
28
+ 'modules': d({
29
+ "arithmetic": d_arithmetic,
30
+ "array": d_array,
31
+ "boolean": d_boolean,
32
+ "build": d_build,
33
+ "dictionary": d_dictionary,
34
+ "json": d_json,
35
+ "nested": d_nested,
36
+ "resolve": d_resolve,
37
+ "string": d_string,
38
+ "tostring": d_tostring,
39
+ })
40
+ },
41
+ 'private': {
42
+ 'glossaries': d({}),
43
+ 'modules': d({}),
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,19 @@
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 { 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
+ "divideWithRemainder": algorithm("DivideWithRemainder", null, {}),
14
+ "increment": algorithm("Increment", "IncrementConfig", {}),
15
+ "max": algorithm("Max", null, {}),
16
+ "negate": algorithm("Negate", null, {}),
17
+ "subtract": algorithm("Subtract", null, {}),
18
+ }
19
+ )
@@ -0,0 +1,76 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, boolean, data, dictionary, externalTypeReference, group, member, number, optional, sfunction,
5
+ type, typeReference
6
+ } from "pareto-pure/auto.dist/public/shorthands/cosmos_type_system.sh"
7
+
8
+ import * as g_glossary from "pareto-pure/auto.dist/public/auto.glossaries/auto.cosmos__type__system"
9
+
10
+ const d = pd.d
11
+
12
+ export const $: g_glossary.D.Glossary = {
13
+ 'glossary parameters': d({}),
14
+ 'imports': d({
15
+ }),
16
+ 'root': {
17
+ 'namespaces': d({}),
18
+ 'data types': d({
19
+ "Number": type(number()),
20
+ "OptionalNumber": type(optional(number())),
21
+ "NumberRange": type(array(number())),
22
+ "DivisionData": type(group({
23
+ "numerator": member(number()),
24
+ "denominator": member(number()),
25
+ })),
26
+ "NumberTuple": type(group({
27
+ "yin": member(number()),
28
+ "yang": member(number()),
29
+ })),
30
+ "DivisionResult": type(optional(group({
31
+ "quotient": member(number()),
32
+ "remainder": member(number()),
33
+
34
+ }))),
35
+ "SubtractData": type(group({
36
+ "minuend": member(number()),
37
+ "subtrahend": member(number()),
38
+ })),
39
+ "NumberDictionary": type(dictionary(number())),
40
+ "NumberArray": type(array(number())),
41
+
42
+ "IncrementConfig": type(group({
43
+ "stepsize": member(number())
44
+ }))
45
+ }),
46
+ },
47
+ 'interface types': d({}),
48
+ 'algorithm types': d({
49
+ "Increment": sfunction(typeReference("Number"), data(typeReference("Number"))),
50
+ "Array Multiply": sfunction(typeReference("Number"), data(typeReference("NumberRange"))),
51
+ "Negate": sfunction(typeReference("Number"), data(typeReference("Number"))),
52
+ /**
53
+ * if the denominator is 0, the return value is null
54
+ * (division by 0),
55
+ */
56
+ "DivideWithRemainder": sfunction(typeReference("DivisionResult"), data(typeReference("DivisionData"))),
57
+ /**
58
+ * calculates the max of an array of numbers. If there are no entries, the result value is 0
59
+ */
60
+ "ArrayMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
61
+ "ArrayMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberArray"))),
62
+ "ArraySum": sfunction(typeReference("Number"), data(typeReference("NumberArray"))),
63
+ /**
64
+ * calculates the max of a dictionary of number. If there are no entries, the result value is 0
65
+ */
66
+ "DictionaryMax": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
67
+ "DictionaryMin": sfunction(typeReference("OptionalNumber"), data(typeReference("NumberDictionary"))),
68
+ /**
69
+ * calculates the max of a tuple of numbers
70
+ */
71
+ "DictionarySum": sfunction(typeReference("Number"), data(typeReference("NumberDictionary"))),
72
+
73
+ "Max": sfunction(typeReference("Number"), data(typeReference("NumberTuple"))),
74
+ "Subtract": sfunction(typeReference("Number"), data(typeReference("SubtractData"))),
75
+ }),
76
+ }