wirely 0.1.6__tar.gz → 0.1.7__tar.gz

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 (900) hide show
  1. wirely-0.1.7/CHANGELOG.md +610 -0
  2. wirely-0.1.7/PKG-INFO +241 -0
  3. wirely-0.1.7/README.md +201 -0
  4. wirely-0.1.7/doc/README.md +24 -0
  5. wirely-0.1.7/doc/bytecode-format.md +1897 -0
  6. wirely-0.1.7/doc/compiler-stages.md +177 -0
  7. wirely-0.1.7/doc/control-protocol.md +783 -0
  8. wirely-0.1.7/doc/diagram-layout.md +178 -0
  9. wirely-0.1.7/doc/language.md +1739 -0
  10. wirely-0.1.7/doc/libraries.md +2620 -0
  11. wirely-0.1.7/doc/native-python.md +695 -0
  12. wirely-0.1.7/doc/state-directory.md +111 -0
  13. wirely-0.1.7/doc/tests.md +208 -0
  14. wirely-0.1.7/doc/transitions.md +132 -0
  15. wirely-0.1.7/doc/type-inference.md +145 -0
  16. wirely-0.1.7/doc/value-types.md +436 -0
  17. wirely-0.1.7/doc/wirely-style.md +146 -0
  18. wirely-0.1.7/examples/impulse_relay.wrl +23 -0
  19. wirely-0.1.7/examples/test.wrl +79 -0
  20. wirely-0.1.7/pyproject.toml +67 -0
  21. wirely-0.1.7/tests/compiler/arithmetic.wrl +125 -0
  22. wirely-0.1.7/tests/compiler/arrays.wrl +134 -0
  23. wirely-0.1.7/tests/compiler/assertions.wrl +134 -0
  24. wirely-0.1.7/tests/compiler/attributes.wrl +276 -0
  25. wirely-0.1.7/tests/compiler/bindings.wrl +53 -0
  26. wirely-0.1.7/tests/compiler/bitwise.wrl +214 -0
  27. wirely-0.1.7/tests/compiler/blocks.wrl +290 -0
  28. wirely-0.1.7/tests/compiler/changed.wrl +42 -0
  29. wirely-0.1.7/tests/compiler/connection_order.wrl +73 -0
  30. wirely-0.1.7/tests/compiler/constant_expressions.wrl +102 -0
  31. wirely-0.1.7/tests/compiler/constant_inputs.wrl +304 -0
  32. wirely-0.1.7/tests/compiler/constants.wrl +208 -0
  33. wirely-0.1.7/tests/compiler/conversions.wrl +71 -0
  34. wirely-0.1.7/tests/compiler/declarations.wrl +74 -0
  35. wirely-0.1.7/tests/compiler/deprecated_parameters.wrl +25 -0
  36. wirely-0.1.7/tests/compiler/equality.wrl +59 -0
  37. wirely-0.1.7/tests/compiler/events.wrl +223 -0
  38. wirely-0.1.7/tests/compiler/inference.wrl +672 -0
  39. wirely-0.1.7/tests/compiler/integer.wrl +139 -0
  40. wirely-0.1.7/tests/compiler/length.wrl +149 -0
  41. wirely-0.1.7/tests/compiler/library_settings.wrl +120 -0
  42. wirely-0.1.7/tests/compiler/load_checks.wrl +60 -0
  43. wirely-0.1.7/tests/compiler/load_stage.wrl +65 -0
  44. wirely-0.1.7/tests/compiler/match.wrl +245 -0
  45. wirely-0.1.7/tests/compiler/multi_procedures.wrl +102 -0
  46. wirely-0.1.7/tests/compiler/multi_sources.wrl +76 -0
  47. wirely-0.1.7/tests/compiler/native_functions.wrl +31 -0
  48. wirely-0.1.7/tests/compiler/native_warnings.wrl +18 -0
  49. wirely-0.1.7/tests/compiler/operators.wrl +205 -0
  50. wirely-0.1.7/tests/compiler/options.wrl +135 -0
  51. wirely-0.1.7/tests/compiler/parameters.wrl +175 -0
  52. wirely-0.1.7/tests/compiler/path.wrl +21 -0
  53. wirely-0.1.7/tests/compiler/port_members.wrl +91 -0
  54. wirely-0.1.7/tests/compiler/runtime_limits.wrl +179 -0
  55. wirely-0.1.7/tests/compiler/static_sources.wrl +107 -0
  56. wirely-0.1.7/tests/compiler/structs.wrl +45 -0
  57. wirely-0.1.7/tests/compiler/syntax.wrl +310 -0
  58. wirely-0.1.7/tests/compiler/transition_renames.wrl +47 -0
  59. wirely-0.1.7/tests/compiler/type_kinds.wrl +105 -0
  60. wirely-0.1.7/tests/compiler/type_limits.wrl +123 -0
  61. wirely-0.1.7/tests/compiler/type_stages.wrl +28 -0
  62. wirely-0.1.7/tests/compiler/types.wrl +365 -0
  63. wirely-0.1.7/tests/compiler/warnings.wrl +221 -0
  64. wirely-0.1.7/tests/compiler/warnings_allowed.wrl +16 -0
  65. wirely-0.1.7/tests/compiler/widening.wrl +292 -0
  66. wirely-0.1.7/tests/infra/bytecode.py +210 -0
  67. wirely-0.1.7/tests/infra/check_distribution.py +178 -0
  68. wirely-0.1.7/tests/infra/gpio.py +87 -0
  69. wirely-0.1.7/tests/infra/native_extension/compiler/function_implementations/test_library.py +48 -0
  70. wirely-0.1.7/tests/infra/native_extension/library.wrl +80 -0
  71. wirely-0.1.7/tests/infra/native_extension/native/test_library.py +52 -0
  72. wirely-0.1.7/tests/infra/runner/__main__.py +114 -0
  73. wirely-0.1.7/tests/infra/runner/execution.py +256 -0
  74. wirely-0.1.7/tests/infra/runner/registry.py +294 -0
  75. wirely-0.1.7/tests/infra/runner/transitions.py +129 -0
  76. wirely-0.1.7/tests/infra/support.py +286 -0
  77. wirely-0.1.7/tests/misc/grammar.py +10 -0
  78. wirely-0.1.7/tests/misc/imports.py +138 -0
  79. wirely-0.1.7/tests/misc/type_check.py +12 -0
  80. wirely-0.1.7/tests/negative/arithmetic.wrl +118 -0
  81. wirely-0.1.7/tests/negative/arrays.wrl +104 -0
  82. wirely-0.1.7/tests/negative/assertions.wrl +383 -0
  83. wirely-0.1.7/tests/negative/attributes.wrl +566 -0
  84. wirely-0.1.7/tests/negative/bindings.wrl +105 -0
  85. wirely-0.1.7/tests/negative/bitwise.wrl +176 -0
  86. wirely-0.1.7/tests/negative/blocks.wrl +424 -0
  87. wirely-0.1.7/tests/negative/changed.wrl +95 -0
  88. wirely-0.1.7/tests/negative/connections.wrl +1060 -0
  89. wirely-0.1.7/tests/negative/constant_expressions.wrl +88 -0
  90. wirely-0.1.7/tests/negative/constant_inputs.wrl +301 -0
  91. wirely-0.1.7/tests/negative/constants.wrl +313 -0
  92. wirely-0.1.7/tests/negative/conversions.wrl +102 -0
  93. wirely-0.1.7/tests/negative/durations.wrl +56 -0
  94. wirely-0.1.7/tests/negative/enum_declarations.wrl +253 -0
  95. wirely-0.1.7/tests/negative/inference.wrl +441 -0
  96. wirely-0.1.7/tests/negative/integer.wrl +122 -0
  97. wirely-0.1.7/tests/negative/integer_literals.wrl +215 -0
  98. wirely-0.1.7/tests/negative/length.wrl +166 -0
  99. wirely-0.1.7/tests/negative/library_settings.wrl +522 -0
  100. wirely-0.1.7/tests/negative/list_literals.wrl +14 -0
  101. wirely-0.1.7/tests/negative/load_stage.wrl +119 -0
  102. wirely-0.1.7/tests/negative/match.wrl +436 -0
  103. wirely-0.1.7/tests/negative/multi_procedures.wrl +218 -0
  104. wirely-0.1.7/tests/negative/names.wrl +46 -0
  105. wirely-0.1.7/tests/negative/native_functions.wrl +129 -0
  106. wirely-0.1.7/tests/negative/native_procedures.wrl +56 -0
  107. wirely-0.1.7/tests/negative/native_states.wrl +79 -0
  108. wirely-0.1.7/tests/negative/native_values.wrl +72 -0
  109. wirely-0.1.7/tests/negative/node_declarations.wrl +198 -0
  110. wirely-0.1.7/tests/negative/node_types.wrl +50 -0
  111. wirely-0.1.7/tests/negative/operators.wrl +275 -0
  112. wirely-0.1.7/tests/negative/option_literals.wrl +40 -0
  113. wirely-0.1.7/tests/negative/option_properties.wrl +126 -0
  114. wirely-0.1.7/tests/negative/optional_forwarding.wrl +68 -0
  115. wirely-0.1.7/tests/negative/optional_outputs.wrl +69 -0
  116. wirely-0.1.7/tests/negative/options.wrl +205 -0
  117. wirely-0.1.7/tests/negative/parameters.wrl +74 -0
  118. wirely-0.1.7/tests/negative/prepared_configuration.wrl +173 -0
  119. wirely-0.1.7/tests/negative/procedure_ports.wrl +593 -0
  120. wirely-0.1.7/tests/negative/procedures.wrl +505 -0
  121. wirely-0.1.7/tests/negative/resource_connections.wrl +156 -0
  122. wirely-0.1.7/tests/negative/resource_declarations.wrl +222 -0
  123. wirely-0.1.7/tests/negative/runtime_limits.wrl +472 -0
  124. wirely-0.1.7/tests/negative/runtime_types.wrl +69 -0
  125. wirely-0.1.7/tests/negative/state_connections.wrl +263 -0
  126. wirely-0.1.7/tests/negative/string_literals.wrl +131 -0
  127. wirely-0.1.7/tests/negative/structs.wrl +378 -0
  128. wirely-0.1.7/tests/negative/syntax_lists.wrl +56 -0
  129. wirely-0.1.7/tests/negative/transition_renames.wrl +84 -0
  130. wirely-0.1.7/tests/negative/type_comparisons.wrl +153 -0
  131. wirely-0.1.7/tests/negative/type_kinds.wrl +188 -0
  132. wirely-0.1.7/tests/negative/type_limits.wrl +239 -0
  133. wirely-0.1.7/tests/negative/unit_literals.wrl +21 -0
  134. wirely-0.1.7/tests/negative/weak_keywords.wrl +48 -0
  135. wirely-0.1.7/tests/repo/bytecode_format.py +17 -0
  136. wirely-0.1.7/tests/repo/doctests.py +49 -0
  137. wirely-0.1.7/tests/repo/files.py +34 -0
  138. wirely-0.1.7/tests/repo/generation.py +14 -0
  139. wirely-0.1.7/tests/repo/library_reference.py +16 -0
  140. wirely-0.1.7/tests/repo/output_dependencies.py +19 -0
  141. wirely-0.1.7/tests/transition/conversions.1.wrl +105 -0
  142. wirely-0.1.7/tests/transition/conversions.2.wrl +105 -0
  143. wirely-0.1.7/tests/transition/conversions.py +50 -0
  144. wirely-0.1.7/tests/transition/csv_keep.1.wrl +9 -0
  145. wirely-0.1.7/tests/transition/csv_keep.2.wrl +10 -0
  146. wirely-0.1.7/tests/transition/csv_keep.py +33 -0
  147. wirely-0.1.7/tests/transition/gpio_keep.1.wrl +17 -0
  148. wirely-0.1.7/tests/transition/gpio_keep.2.wrl +20 -0
  149. wirely-0.1.7/tests/transition/gpio_keep.py +34 -0
  150. wirely-0.1.7/tests/transition/knx_keep.1.wrl +28 -0
  151. wirely-0.1.7/tests/transition/knx_keep.2.wrl +35 -0
  152. wirely-0.1.7/tests/transition/knx_keep.py +78 -0
  153. wirely-0.1.7/tests/transition/matching.1.wrl +41 -0
  154. wirely-0.1.7/tests/transition/matching.2.wrl +82 -0
  155. wirely-0.1.7/tests/transition/matching.3.wrl +82 -0
  156. wirely-0.1.7/tests/transition/matching.py +55 -0
  157. wirely-0.1.7/tests/transition/mqtt_keep.1.wrl +25 -0
  158. wirely-0.1.7/tests/transition/mqtt_keep.2.wrl +31 -0
  159. wirely-0.1.7/tests/transition/mqtt_keep.py +68 -0
  160. wirely-0.1.7/tests/transition/process_keep.1.wrl +9 -0
  161. wirely-0.1.7/tests/transition/process_keep.2.wrl +9 -0
  162. wirely-0.1.7/tests/transition/process_keep.py +46 -0
  163. wirely-0.1.7/tests/transition/renames.1.wrl +84 -0
  164. wirely-0.1.7/tests/transition/renames.2.wrl +105 -0
  165. wirely-0.1.7/tests/transition/renames.3.wrl +106 -0
  166. wirely-0.1.7/tests/transition/renames.py +78 -0
  167. wirely-0.1.7/tests/transition/two_n_keep.1.wrl +31 -0
  168. wirely-0.1.7/tests/transition/two_n_keep.2.wrl +33 -0
  169. wirely-0.1.7/tests/transition/two_n_keep.py +56 -0
  170. wirely-0.1.7/tests/unit/analysis.py +472 -0
  171. wirely-0.1.7/tests/unit/build_tools.py +227 -0
  172. wirely-0.1.7/tests/unit/bytecode_roundtrip.py +67 -0
  173. wirely-0.1.7/tests/unit/cbor_diagnostic.py +30 -0
  174. wirely-0.1.7/tests/unit/compiler_api.py +376 -0
  175. wirely-0.1.7/tests/unit/compiler_warnings.py +59 -0
  176. wirely-0.1.7/tests/unit/const_data.py +165 -0
  177. wirely-0.1.7/tests/unit/container.py +509 -0
  178. wirely-0.1.7/tests/unit/control.py +1654 -0
  179. wirely-0.1.7/tests/unit/control.wrl +37 -0
  180. wirely-0.1.7/tests/unit/csv.py +130 -0
  181. wirely-0.1.7/tests/unit/documentation.py +425 -0
  182. wirely-0.1.7/tests/unit/editing.py +683 -0
  183. wirely-0.1.7/tests/unit/editor.py +413 -0
  184. wirely-0.1.7/tests/unit/editor_cache.py +108 -0
  185. wirely-0.1.7/tests/unit/editor_export.py +56 -0
  186. wirely-0.1.7/tests/unit/editor_widgets.py +897 -0
  187. wirely-0.1.7/tests/unit/editor_workspace.py +379 -0
  188. wirely-0.1.7/tests/unit/engine_wakeup.py +103 -0
  189. wirely-0.1.7/tests/unit/format_records.py +210 -0
  190. wirely-0.1.7/tests/unit/inference.py +127 -0
  191. wirely-0.1.7/tests/unit/instructions.py +488 -0
  192. wirely-0.1.7/tests/unit/knx_loading.py +83 -0
  193. wirely-0.1.7/tests/unit/libraries.py +118 -0
  194. wirely-0.1.7/tests/unit/library_configuration.py +621 -0
  195. wirely-0.1.7/tests/unit/library_files.py +169 -0
  196. wirely-0.1.7/tests/unit/load_checks.py +340 -0
  197. wirely-0.1.7/tests/unit/load_stage.py +457 -0
  198. wirely-0.1.7/tests/unit/monotonic_timestamp.py +86 -0
  199. wirely-0.1.7/tests/unit/mqtt_loading.py +116 -0
  200. wirely-0.1.7/tests/unit/native_contracts.py +454 -0
  201. wirely-0.1.7/tests/unit/native_extensions.py +266 -0
  202. wirely-0.1.7/tests/unit/native_interface.py +1560 -0
  203. wirely-0.1.7/tests/unit/native_objects.py +458 -0
  204. wirely-0.1.7/tests/unit/native_values.py +405 -0
  205. wirely-0.1.7/tests/unit/negative_cases.py +334 -0
  206. wirely-0.1.7/tests/unit/outline.py +238 -0
  207. wirely-0.1.7/tests/unit/parser_runtime.py +39 -0
  208. wirely-0.1.7/tests/unit/procedures.py +390 -0
  209. wirely-0.1.7/tests/unit/program_loader.py +730 -0
  210. wirely-0.1.7/tests/unit/program_verifier.py +760 -0
  211. wirely-0.1.7/tests/unit/program_writer.py +586 -0
  212. wirely-0.1.7/tests/unit/public_interface.py +172 -0
  213. wirely-0.1.7/tests/unit/recursion_depth.py +53 -0
  214. wirely-0.1.7/tests/unit/repeated_errors.py +86 -0
  215. wirely-0.1.7/tests/unit/resources.py +432 -0
  216. wirely-0.1.7/tests/unit/runtime_program.py +597 -0
  217. wirely-0.1.7/tests/unit/serialization.py +350 -0
  218. wirely-0.1.7/tests/unit/state_connections.py +424 -0
  219. wirely-0.1.7/tests/unit/static_sources.py +51 -0
  220. wirely-0.1.7/tests/unit/static_sources.wrl +113 -0
  221. wirely-0.1.7/tests/unit/test_resources.py +238 -0
  222. wirely-0.1.7/tests/unit/test_runner.py +176 -0
  223. wirely-0.1.7/tests/unit/transition_format.py +510 -0
  224. wirely-0.1.7/tests/unit/transition_generator.py +217 -0
  225. wirely-0.1.7/tests/unit/types.py +1002 -0
  226. wirely-0.1.7/tests/unit/wall_clock.py +642 -0
  227. wirely-0.1.7/tests/wrl/abb.py +38 -0
  228. wirely-0.1.7/tests/wrl/and.py +36 -0
  229. wirely-0.1.7/tests/wrl/arithmetic_nodes.py +209 -0
  230. wirely-0.1.7/tests/wrl/arrays.py +23 -0
  231. wirely-0.1.7/tests/wrl/arrays.wrl +43 -0
  232. wirely-0.1.7/tests/wrl/bitwise.py +54 -0
  233. wirely-0.1.7/tests/wrl/bitwise.wrl +140 -0
  234. wirely-0.1.7/tests/wrl/changed.py +46 -0
  235. wirely-0.1.7/tests/wrl/changed.wrl +52 -0
  236. wirely-0.1.7/tests/wrl/compare.py +125 -0
  237. wirely-0.1.7/tests/wrl/compare.wrl +191 -0
  238. wirely-0.1.7/tests/wrl/copied_states.py +28 -0
  239. wirely-0.1.7/tests/wrl/copied_states.wrl +54 -0
  240. wirely-0.1.7/tests/wrl/csv.py +470 -0
  241. wirely-0.1.7/tests/wrl/delay.py +65 -0
  242. wirely-0.1.7/tests/wrl/equality.py +88 -0
  243. wirely-0.1.7/tests/wrl/equality.wrl +86 -0
  244. wirely-0.1.7/tests/wrl/event_bindings.py +40 -0
  245. wirely-0.1.7/tests/wrl/event_bindings.wrl +81 -0
  246. wirely-0.1.7/tests/wrl/events.py +56 -0
  247. wirely-0.1.7/tests/wrl/events.wrl +170 -0
  248. wirely-0.1.7/tests/wrl/gpio.py +113 -0
  249. wirely-0.1.7/tests/wrl/impulse_relay.py +87 -0
  250. wirely-0.1.7/tests/wrl/impulse_relay.wrl +9 -0
  251. wirely-0.1.7/tests/wrl/knx.py +590 -0
  252. wirely-0.1.7/tests/wrl/knx.wrl +220 -0
  253. wirely-0.1.7/tests/wrl/knx_reconnect.py +101 -0
  254. wirely-0.1.7/tests/wrl/knx_time.py +82 -0
  255. wirely-0.1.7/tests/wrl/length.py +23 -0
  256. wirely-0.1.7/tests/wrl/length.wrl +68 -0
  257. wirely-0.1.7/tests/wrl/logic.py +51 -0
  258. wirely-0.1.7/tests/wrl/match.py +50 -0
  259. wirely-0.1.7/tests/wrl/mqtt.py +356 -0
  260. wirely-0.1.7/tests/wrl/mqtt_reconnect.py +227 -0
  261. wirely-0.1.7/tests/wrl/multi_arrays.py +47 -0
  262. wirely-0.1.7/tests/wrl/multi_arrays.wrl +135 -0
  263. wirely-0.1.7/tests/wrl/multi_forward.py +18 -0
  264. wirely-0.1.7/tests/wrl/multi_forward.wrl +34 -0
  265. wirely-0.1.7/tests/wrl/option.py +170 -0
  266. wirely-0.1.7/tests/wrl/option.wrl +195 -0
  267. wirely-0.1.7/tests/wrl/procedures.py +313 -0
  268. wirely-0.1.7/tests/wrl/procedures.wrl +636 -0
  269. wirely-0.1.7/tests/wrl/process.py +107 -0
  270. wirely-0.1.7/tests/wrl/pure_stages.py +9 -0
  271. wirely-0.1.7/tests/wrl/pure_stages.wrl +22 -0
  272. wirely-0.1.7/tests/wrl/root_procedures.py +8 -0
  273. wirely-0.1.7/tests/wrl/root_procedures.wrl +5 -0
  274. wirely-0.1.7/tests/wrl/std.py +150 -0
  275. wirely-0.1.7/tests/wrl/std.wrl +54 -0
  276. wirely-0.1.7/tests/wrl/time.py +543 -0
  277. wirely-0.1.7/tests/wrl/time.wrl +59 -0
  278. wirely-0.1.7/tests/wrl/two_n.py +390 -0
  279. wirely-0.1.7/tests/wrl/two_n_reconnect.py +208 -0
  280. wirely-0.1.7/tests/wrl/widening.py +72 -0
  281. wirely-0.1.7/tests/wrl/widening.wrl +203 -0
  282. wirely-0.1.7/wirely/__main__.py +135 -0
  283. wirely-0.1.7/wirely/cli/client.py +979 -0
  284. wirely-0.1.7/wirely/cli/compile.py +113 -0
  285. wirely-0.1.7/wirely/cli/doc.py +46 -0
  286. wirely-0.1.7/wirely/cli/interface.py +30 -0
  287. wirely-0.1.7/wirely/cli/objdump.py +435 -0
  288. wirely-0.1.7/wirely/cli/run.py +204 -0
  289. wirely-0.1.7/wirely/compiler/analysis.py +612 -0
  290. wirely-0.1.7/wirely/compiler/ast/base.py +236 -0
  291. wirely-0.1.7/wirely/compiler/ast/functions.py +106 -0
  292. wirely-0.1.7/wirely/compiler/ast/node_types.py +58 -0
  293. wirely-0.1.7/wirely/compiler/ast/nodes.py +1705 -0
  294. wirely-0.1.7/wirely/compiler/ast/parameter_declarations.py +275 -0
  295. wirely-0.1.7/wirely/compiler/ast/ports.py +215 -0
  296. wirely-0.1.7/wirely/compiler/ast/procedures.py +712 -0
  297. wirely-0.1.7/wirely/compiler/ast/scope.py +470 -0
  298. wirely-0.1.7/wirely/compiler/ast/specifiers.py +126 -0
  299. wirely-0.1.7/wirely/compiler/ast/type_declarations.py +308 -0
  300. wirely-0.1.7/wirely/compiler/ast/values.py +417 -0
  301. wirely-0.1.7/wirely/compiler/attributes.py +654 -0
  302. wirely-0.1.7/wirely/compiler/connection_constants.py +123 -0
  303. wirely-0.1.7/wirely/compiler/coordinator.py +341 -0
  304. wirely-0.1.7/wirely/compiler/diagnostics.py +186 -0
  305. wirely-0.1.7/wirely/compiler/documentation.py +636 -0
  306. wirely-0.1.7/wirely/compiler/editing.py +1341 -0
  307. wirely-0.1.7/wirely/compiler/expressions.py +5223 -0
  308. wirely-0.1.7/wirely/compiler/graph.py +454 -0
  309. wirely-0.1.7/wirely/compiler/inference.py +1276 -0
  310. wirely-0.1.7/wirely/compiler/instance.py +699 -0
  311. wirely-0.1.7/wirely/compiler/instructions.py +707 -0
  312. wirely-0.1.7/wirely/compiler/model.py +360 -0
  313. wirely-0.1.7/wirely/compiler/native_contracts.py +1117 -0
  314. wirely-0.1.7/wirely/compiler/native_functions.py +273 -0
  315. wirely-0.1.7/wirely/compiler/native_signatures.py +257 -0
  316. wirely-0.1.7/wirely/compiler/node_type.py +507 -0
  317. wirely-0.1.7/wirely/compiler/operators.py +575 -0
  318. wirely-0.1.7/wirely/compiler/outline.py +912 -0
  319. wirely-0.1.7/wirely/compiler/parameters.py +379 -0
  320. wirely-0.1.7/wirely/compiler/parser.py +316 -0
  321. wirely-0.1.7/wirely/compiler/patterns.py +801 -0
  322. wirely-0.1.7/wirely/compiler/prelude.py +37 -0
  323. wirely-0.1.7/wirely/compiler/program.py +697 -0
  324. wirely-0.1.7/wirely/compiler/public_interface.py +373 -0
  325. wirely-0.1.7/wirely/compiler/shuffle.py +142 -0
  326. wirely-0.1.7/wirely/compiler/sources.py +239 -0
  327. wirely-0.1.7/wirely/compiler/static_bindings.py +33 -0
  328. wirely-0.1.7/wirely/compiler/support.py +670 -0
  329. wirely-0.1.7/wirely/compiler/transition_renames.py +61 -0
  330. wirely-0.1.7/wirely/compiler/type_conversion.py +119 -0
  331. wirely-0.1.7/wirely/compiler/types.py +1237 -0
  332. wirely-0.1.7/wirely/compiler/value.py +690 -0
  333. wirely-0.1.7/wirely/compiler/wirely.lark +443 -0
  334. wirely-0.1.7/wirely/control/client.py +455 -0
  335. wirely-0.1.7/wirely/control/controller.py +513 -0
  336. wirely-0.1.7/wirely/control/host.py +581 -0
  337. wirely-0.1.7/wirely/control/log.py +305 -0
  338. wirely-0.1.7/wirely/control/messages.py +449 -0
  339. wirely-0.1.7/wirely/control/node_commands.py +147 -0
  340. wirely-0.1.7/wirely/control/saved_state.py +156 -0
  341. wirely-0.1.7/wirely/control/server.py +496 -0
  342. wirely-0.1.7/wirely/control/store.py +112 -0
  343. wirely-0.1.7/wirely/editor/app.py +685 -0
  344. wirely-0.1.7/wirely/editor/export.py +83 -0
  345. wirely-0.1.7/wirely/editor/graph_model.py +475 -0
  346. wirely-0.1.7/wirely/editor/graph_view.py +1119 -0
  347. wirely-0.1.7/wirely/editor/palette.py +153 -0
  348. wirely-0.1.7/wirely/editor/program.py +283 -0
  349. wirely-0.1.7/wirely/editor/properties.py +184 -0
  350. wirely-0.1.7/wirely/lib/actuator.wrl +94 -0
  351. wirely-0.1.7/wirely/lib/csv.wrl +69 -0
  352. wirely-0.1.7/wirely/lib/gpio.wrl +82 -0
  353. wirely-0.1.7/wirely/lib/knx.wrl +338 -0
  354. wirely-0.1.7/wirely/lib/mqtt.wrl +302 -0
  355. wirely-0.1.7/wirely/lib/path.wrl +31 -0
  356. wirely-0.1.7/wirely/lib/process.wrl +33 -0
  357. wirely-0.1.7/wirely/lib/schedule.wrl +171 -0
  358. wirely-0.1.7/wirely/lib/std.wrl +2015 -0
  359. wirely-0.1.7/wirely/lib/timer.wrl +301 -0
  360. wirely-0.1.7/wirely/lib/two_n.wrl +303 -0
  361. wirely-0.1.7/wirely/misc/state_directory.py +101 -0
  362. wirely-0.1.7/wirely/native/csv.py +271 -0
  363. wirely-0.1.7/wirely/native/gpio.py +179 -0
  364. wirely-0.1.7/wirely/native/knx.py +864 -0
  365. wirely-0.1.7/wirely/native/mqtt.py +862 -0
  366. wirely-0.1.7/wirely/native/process.py +95 -0
  367. wirely-0.1.7/wirely/native/std.py +239 -0
  368. wirely-0.1.7/wirely/native/two_n.py +886 -0
  369. wirely-0.1.7/wirely/program/_binary.py +354 -0
  370. wirely-0.1.7/wirely/program/const_data.py +254 -0
  371. wirely-0.1.7/wirely/program/const_layout.py +69 -0
  372. wirely-0.1.7/wirely/program/container.py +123 -0
  373. wirely-0.1.7/wirely/program/format.wrl +649 -0
  374. wirely-0.1.7/wirely/program/limits.py +76 -0
  375. wirely-0.1.7/wirely/program/loader.py +473 -0
  376. wirely-0.1.7/wirely/program/names.py +43 -0
  377. wirely-0.1.7/wirely/program/program.py +497 -0
  378. wirely-0.1.7/wirely/program/records.py +114 -0
  379. wirely-0.1.7/wirely/program/transition.py +254 -0
  380. wirely-0.1.7/wirely/program/transition_generator.py +512 -0
  381. wirely-0.1.7/wirely/program/types.py +1364 -0
  382. wirely-0.1.7/wirely/program/validation.py +372 -0
  383. wirely-0.1.7/wirely/program/verifier.py +1197 -0
  384. wirely-0.1.7/wirely/program/writer.py +573 -0
  385. wirely-0.1.7/wirely/runtime/engine.py +565 -0
  386. wirely-0.1.7/wirely/runtime/extensions.py +147 -0
  387. wirely-0.1.7/wirely/runtime/linking.py +245 -0
  388. wirely-0.1.7/wirely/runtime/loading.py +297 -0
  389. wirely-0.1.7/wirely/runtime/native_api.py +624 -0
  390. wirely-0.1.7/wirely/runtime/procedures.py +282 -0
  391. wirely-0.1.7/wirely/runtime/resources.py +87 -0
  392. wirely-0.1.7/wirely/runtime/signatures.py +250 -0
  393. wirely-0.1.7/wirely/runtime/switching.py +210 -0
  394. wirely-0.1.7/wirely/runtime/text.py +179 -0
  395. wirely-0.1.7/wirely/runtime/transition.py +92 -0
  396. wirely-0.1.7/wirely/runtime/value_types.py +425 -0
  397. wirely-0.1.7/wirely/two_n/client.py +568 -0
  398. wirely-0.1.7/wirely.egg-info/PKG-INFO +241 -0
  399. wirely-0.1.7/wirely.egg-info/SOURCES.txt +564 -0
  400. wirely-0.1.6/CHANGELOG.md +0 -484
  401. wirely-0.1.6/PKG-INFO +0 -229
  402. wirely-0.1.6/README.md +0 -189
  403. wirely-0.1.6/doc/README.md +0 -21
  404. wirely-0.1.6/doc/bytecode-format.md +0 -1598
  405. wirely-0.1.6/doc/compiler-stages.md +0 -177
  406. wirely-0.1.6/doc/control-protocol.md +0 -741
  407. wirely-0.1.6/doc/diagram-layout.md +0 -163
  408. wirely-0.1.6/doc/language.md +0 -1456
  409. wirely-0.1.6/doc/libraries.md +0 -2428
  410. wirely-0.1.6/doc/native-python.md +0 -620
  411. wirely-0.1.6/doc/state-directory.md +0 -84
  412. wirely-0.1.6/doc/tests.md +0 -186
  413. wirely-0.1.6/doc/type-inference.md +0 -137
  414. wirely-0.1.6/doc/value-types.md +0 -400
  415. wirely-0.1.6/doc/wirely-style.md +0 -141
  416. wirely-0.1.6/examples/flipflop.wrl +0 -13
  417. wirely-0.1.6/examples/test.wrl +0 -79
  418. wirely-0.1.6/pyproject.toml +0 -76
  419. wirely-0.1.6/tests/compiler/arithmetic.wrl +0 -125
  420. wirely-0.1.6/tests/compiler/assertions.wrl +0 -100
  421. wirely-0.1.6/tests/compiler/attributes.wrl +0 -275
  422. wirely-0.1.6/tests/compiler/bindings.wrl +0 -53
  423. wirely-0.1.6/tests/compiler/bitwise.wrl +0 -214
  424. wirely-0.1.6/tests/compiler/blocks.wrl +0 -217
  425. wirely-0.1.6/tests/compiler/changed.wrl +0 -42
  426. wirely-0.1.6/tests/compiler/connection_order.wrl +0 -73
  427. wirely-0.1.6/tests/compiler/constant_expressions.wrl +0 -102
  428. wirely-0.1.6/tests/compiler/constants.wrl +0 -210
  429. wirely-0.1.6/tests/compiler/conversions.wrl +0 -71
  430. wirely-0.1.6/tests/compiler/equality.wrl +0 -59
  431. wirely-0.1.6/tests/compiler/events.wrl +0 -152
  432. wirely-0.1.6/tests/compiler/inference.wrl +0 -626
  433. wirely-0.1.6/tests/compiler/integer.wrl +0 -139
  434. wirely-0.1.6/tests/compiler/length.wrl +0 -121
  435. wirely-0.1.6/tests/compiler/library_settings.wrl +0 -120
  436. wirely-0.1.6/tests/compiler/load_checks.wrl +0 -60
  437. wirely-0.1.6/tests/compiler/load_stage.wrl +0 -65
  438. wirely-0.1.6/tests/compiler/match.wrl +0 -245
  439. wirely-0.1.6/tests/compiler/multi_procedures.wrl +0 -102
  440. wirely-0.1.6/tests/compiler/native_functions.wrl +0 -15
  441. wirely-0.1.6/tests/compiler/operators.wrl +0 -205
  442. wirely-0.1.6/tests/compiler/options.wrl +0 -82
  443. wirely-0.1.6/tests/compiler/parameters.wrl +0 -155
  444. wirely-0.1.6/tests/compiler/path.wrl +0 -21
  445. wirely-0.1.6/tests/compiler/runtime_limits.wrl +0 -169
  446. wirely-0.1.6/tests/compiler/static_sources.wrl +0 -57
  447. wirely-0.1.6/tests/compiler/structs.wrl +0 -45
  448. wirely-0.1.6/tests/compiler/syntax.wrl +0 -253
  449. wirely-0.1.6/tests/compiler/type_kinds.wrl +0 -76
  450. wirely-0.1.6/tests/compiler/type_stages.wrl +0 -28
  451. wirely-0.1.6/tests/compiler/types.wrl +0 -365
  452. wirely-0.1.6/tests/compiler/warnings.wrl +0 -212
  453. wirely-0.1.6/tests/compiler/warnings_allowed.wrl +0 -16
  454. wirely-0.1.6/tests/compiler/widening.wrl +0 -292
  455. wirely-0.1.6/tests/infra/bytecode.py +0 -208
  456. wirely-0.1.6/tests/infra/check_distribution.py +0 -108
  457. wirely-0.1.6/tests/infra/gpio.py +0 -72
  458. wirely-0.1.6/tests/infra/native_extension/compiler/function_implementations/test_library.py +0 -38
  459. wirely-0.1.6/tests/infra/native_extension/library.wrl +0 -47
  460. wirely-0.1.6/tests/infra/native_extension/native/test_library.py +0 -10
  461. wirely-0.1.6/tests/infra/runner/__main__.py +0 -111
  462. wirely-0.1.6/tests/infra/runner/execution.py +0 -247
  463. wirely-0.1.6/tests/infra/runner/registry.py +0 -256
  464. wirely-0.1.6/tests/infra/support.py +0 -243
  465. wirely-0.1.6/tests/misc/grammar.py +0 -10
  466. wirely-0.1.6/tests/misc/imports.py +0 -138
  467. wirely-0.1.6/tests/misc/type_check.py +0 -12
  468. wirely-0.1.6/tests/negative/arithmetic.wrl +0 -118
  469. wirely-0.1.6/tests/negative/assertions.wrl +0 -294
  470. wirely-0.1.6/tests/negative/attributes.wrl +0 -561
  471. wirely-0.1.6/tests/negative/bindings.wrl +0 -105
  472. wirely-0.1.6/tests/negative/bitwise.wrl +0 -176
  473. wirely-0.1.6/tests/negative/blocks.wrl +0 -331
  474. wirely-0.1.6/tests/negative/changed.wrl +0 -95
  475. wirely-0.1.6/tests/negative/connections.wrl +0 -666
  476. wirely-0.1.6/tests/negative/constant_expressions.wrl +0 -88
  477. wirely-0.1.6/tests/negative/constants.wrl +0 -284
  478. wirely-0.1.6/tests/negative/conversions.wrl +0 -102
  479. wirely-0.1.6/tests/negative/durations.wrl +0 -47
  480. wirely-0.1.6/tests/negative/enum_declarations.wrl +0 -248
  481. wirely-0.1.6/tests/negative/inference.wrl +0 -405
  482. wirely-0.1.6/tests/negative/integer.wrl +0 -117
  483. wirely-0.1.6/tests/negative/integer_literals.wrl +0 -215
  484. wirely-0.1.6/tests/negative/length.wrl +0 -155
  485. wirely-0.1.6/tests/negative/library_settings.wrl +0 -504
  486. wirely-0.1.6/tests/negative/list_literals.wrl +0 -14
  487. wirely-0.1.6/tests/negative/load_stage.wrl +0 -119
  488. wirely-0.1.6/tests/negative/match.wrl +0 -436
  489. wirely-0.1.6/tests/negative/multi_procedures.wrl +0 -183
  490. wirely-0.1.6/tests/negative/names.wrl +0 -29
  491. wirely-0.1.6/tests/negative/native_functions.wrl +0 -122
  492. wirely-0.1.6/tests/negative/native_initializers.wrl +0 -143
  493. wirely-0.1.6/tests/negative/native_procedures.wrl +0 -50
  494. wirely-0.1.6/tests/negative/native_values.wrl +0 -86
  495. wirely-0.1.6/tests/negative/node_declarations.wrl +0 -198
  496. wirely-0.1.6/tests/negative/node_types.wrl +0 -50
  497. wirely-0.1.6/tests/negative/operators.wrl +0 -275
  498. wirely-0.1.6/tests/negative/option_literals.wrl +0 -40
  499. wirely-0.1.6/tests/negative/option_properties.wrl +0 -126
  500. wirely-0.1.6/tests/negative/optional_forwarding.wrl +0 -90
  501. wirely-0.1.6/tests/negative/optional_outputs.wrl +0 -69
  502. wirely-0.1.6/tests/negative/options.wrl +0 -118
  503. wirely-0.1.6/tests/negative/parameters.wrl +0 -51
  504. wirely-0.1.6/tests/negative/prepared_configuration.wrl +0 -161
  505. wirely-0.1.6/tests/negative/procedure_ports.wrl +0 -573
  506. wirely-0.1.6/tests/negative/procedures.wrl +0 -402
  507. wirely-0.1.6/tests/negative/resource_connections.wrl +0 -156
  508. wirely-0.1.6/tests/negative/resource_declarations.wrl +0 -222
  509. wirely-0.1.6/tests/negative/runtime_limits.wrl +0 -431
  510. wirely-0.1.6/tests/negative/runtime_types.wrl +0 -69
  511. wirely-0.1.6/tests/negative/state_connections.wrl +0 -263
  512. wirely-0.1.6/tests/negative/string_literals.wrl +0 -131
  513. wirely-0.1.6/tests/negative/structs.wrl +0 -378
  514. wirely-0.1.6/tests/negative/syntax_lists.wrl +0 -59
  515. wirely-0.1.6/tests/negative/type_comparisons.wrl +0 -153
  516. wirely-0.1.6/tests/negative/type_kinds.wrl +0 -114
  517. wirely-0.1.6/tests/negative/unit_literals.wrl +0 -21
  518. wirely-0.1.6/tests/negative/weak_keywords.wrl +0 -51
  519. wirely-0.1.6/tests/repo/bytecode_format.py +0 -17
  520. wirely-0.1.6/tests/repo/doctests.py +0 -49
  521. wirely-0.1.6/tests/repo/files.py +0 -29
  522. wirely-0.1.6/tests/repo/generation.py +0 -14
  523. wirely-0.1.6/tests/repo/library_reference.py +0 -16
  524. wirely-0.1.6/tests/repo/output_dependencies.py +0 -19
  525. wirely-0.1.6/tests/unit/analysis.py +0 -406
  526. wirely-0.1.6/tests/unit/build_tools.py +0 -226
  527. wirely-0.1.6/tests/unit/bytecode_roundtrip.py +0 -66
  528. wirely-0.1.6/tests/unit/cbor_diagnostic.py +0 -30
  529. wirely-0.1.6/tests/unit/compiler_api.py +0 -361
  530. wirely-0.1.6/tests/unit/compiler_warnings.py +0 -92
  531. wirely-0.1.6/tests/unit/const_data.py +0 -152
  532. wirely-0.1.6/tests/unit/container.py +0 -112
  533. wirely-0.1.6/tests/unit/control.py +0 -1225
  534. wirely-0.1.6/tests/unit/control.wrl +0 -37
  535. wirely-0.1.6/tests/unit/csv.py +0 -129
  536. wirely-0.1.6/tests/unit/documentation.py +0 -416
  537. wirely-0.1.6/tests/unit/editing.py +0 -673
  538. wirely-0.1.6/tests/unit/editor.py +0 -319
  539. wirely-0.1.6/tests/unit/editor_cache.py +0 -108
  540. wirely-0.1.6/tests/unit/editor_export.py +0 -56
  541. wirely-0.1.6/tests/unit/editor_widgets.py +0 -812
  542. wirely-0.1.6/tests/unit/editor_workspace.py +0 -375
  543. wirely-0.1.6/tests/unit/engine_wakeup.py +0 -101
  544. wirely-0.1.6/tests/unit/format_records.py +0 -208
  545. wirely-0.1.6/tests/unit/inference.py +0 -113
  546. wirely-0.1.6/tests/unit/instructions.py +0 -482
  547. wirely-0.1.6/tests/unit/knx_loading.py +0 -47
  548. wirely-0.1.6/tests/unit/libraries.py +0 -112
  549. wirely-0.1.6/tests/unit/library_configuration.py +0 -614
  550. wirely-0.1.6/tests/unit/library_files.py +0 -162
  551. wirely-0.1.6/tests/unit/load_checks.py +0 -337
  552. wirely-0.1.6/tests/unit/load_stage.py +0 -337
  553. wirely-0.1.6/tests/unit/monotonic_timestamp.py +0 -85
  554. wirely-0.1.6/tests/unit/mqtt_loading.py +0 -77
  555. wirely-0.1.6/tests/unit/native_contracts.py +0 -298
  556. wirely-0.1.6/tests/unit/native_extensions.py +0 -288
  557. wirely-0.1.6/tests/unit/native_interface.py +0 -1488
  558. wirely-0.1.6/tests/unit/native_values.py +0 -322
  559. wirely-0.1.6/tests/unit/negative_cases.py +0 -329
  560. wirely-0.1.6/tests/unit/outline.py +0 -175
  561. wirely-0.1.6/tests/unit/parser_runtime.py +0 -39
  562. wirely-0.1.6/tests/unit/procedures.py +0 -821
  563. wirely-0.1.6/tests/unit/procedures.wrl +0 -556
  564. wirely-0.1.6/tests/unit/program_loader.py +0 -699
  565. wirely-0.1.6/tests/unit/program_verifier.py +0 -563
  566. wirely-0.1.6/tests/unit/program_writer.py +0 -528
  567. wirely-0.1.6/tests/unit/public_interface.py +0 -162
  568. wirely-0.1.6/tests/unit/recursion_depth.py +0 -53
  569. wirely-0.1.6/tests/unit/repeated_errors.py +0 -86
  570. wirely-0.1.6/tests/unit/resources.py +0 -421
  571. wirely-0.1.6/tests/unit/runtime_program.py +0 -554
  572. wirely-0.1.6/tests/unit/serialization.py +0 -315
  573. wirely-0.1.6/tests/unit/state_connections.py +0 -506
  574. wirely-0.1.6/tests/unit/static_sources.py +0 -41
  575. wirely-0.1.6/tests/unit/static_sources.wrl +0 -73
  576. wirely-0.1.6/tests/unit/test_resources.py +0 -236
  577. wirely-0.1.6/tests/unit/test_runner.py +0 -176
  578. wirely-0.1.6/tests/unit/types.py +0 -917
  579. wirely-0.1.6/tests/unit/wall_clock.py +0 -643
  580. wirely-0.1.6/tests/wrl/abb.py +0 -36
  581. wirely-0.1.6/tests/wrl/and.py +0 -32
  582. wirely-0.1.6/tests/wrl/arithmetic_nodes.py +0 -205
  583. wirely-0.1.6/tests/wrl/bitwise.py +0 -52
  584. wirely-0.1.6/tests/wrl/bitwise.wrl +0 -140
  585. wirely-0.1.6/tests/wrl/changed.py +0 -45
  586. wirely-0.1.6/tests/wrl/changed.wrl +0 -52
  587. wirely-0.1.6/tests/wrl/compare.py +0 -122
  588. wirely-0.1.6/tests/wrl/compare.wrl +0 -191
  589. wirely-0.1.6/tests/wrl/csv.py +0 -462
  590. wirely-0.1.6/tests/wrl/delay.py +0 -61
  591. wirely-0.1.6/tests/wrl/equality.py +0 -82
  592. wirely-0.1.6/tests/wrl/equality.wrl +0 -86
  593. wirely-0.1.6/tests/wrl/event_bindings.py +0 -39
  594. wirely-0.1.6/tests/wrl/event_bindings.wrl +0 -81
  595. wirely-0.1.6/tests/wrl/events.py +0 -41
  596. wirely-0.1.6/tests/wrl/events.wrl +0 -116
  597. wirely-0.1.6/tests/wrl/flipflop.py +0 -84
  598. wirely-0.1.6/tests/wrl/flipflop.wrl +0 -9
  599. wirely-0.1.6/tests/wrl/gpio.py +0 -99
  600. wirely-0.1.6/tests/wrl/knx.py +0 -591
  601. wirely-0.1.6/tests/wrl/knx.wrl +0 -220
  602. wirely-0.1.6/tests/wrl/knx_reconnect.py +0 -102
  603. wirely-0.1.6/tests/wrl/knx_time.py +0 -79
  604. wirely-0.1.6/tests/wrl/length.py +0 -19
  605. wirely-0.1.6/tests/wrl/length.wrl +0 -50
  606. wirely-0.1.6/tests/wrl/logic.py +0 -48
  607. wirely-0.1.6/tests/wrl/match.py +0 -43
  608. wirely-0.1.6/tests/wrl/mqtt.py +0 -363
  609. wirely-0.1.6/tests/wrl/mqtt_reconnect.py +0 -202
  610. wirely-0.1.6/tests/wrl/multi_forward.py +0 -15
  611. wirely-0.1.6/tests/wrl/multi_forward.wrl +0 -34
  612. wirely-0.1.6/tests/wrl/option.py +0 -139
  613. wirely-0.1.6/tests/wrl/option.wrl +0 -77
  614. wirely-0.1.6/tests/wrl/process.py +0 -87
  615. wirely-0.1.6/tests/wrl/std.py +0 -79
  616. wirely-0.1.6/tests/wrl/std.wrl +0 -29
  617. wirely-0.1.6/tests/wrl/time.py +0 -442
  618. wirely-0.1.6/tests/wrl/time.wrl +0 -35
  619. wirely-0.1.6/tests/wrl/two_n.py +0 -392
  620. wirely-0.1.6/tests/wrl/two_n_reconnect.py +0 -209
  621. wirely-0.1.6/tests/wrl/widening.py +0 -69
  622. wirely-0.1.6/tests/wrl/widening.wrl +0 -203
  623. wirely-0.1.6/wirely/__main__.py +0 -114
  624. wirely-0.1.6/wirely/cli/client.py +0 -701
  625. wirely-0.1.6/wirely/cli/compile.py +0 -73
  626. wirely-0.1.6/wirely/cli/doc.py +0 -38
  627. wirely-0.1.6/wirely/cli/interface.py +0 -26
  628. wirely-0.1.6/wirely/cli/objdump.py +0 -55
  629. wirely-0.1.6/wirely/cli/run.py +0 -204
  630. wirely-0.1.6/wirely/compiler/analysis.py +0 -525
  631. wirely-0.1.6/wirely/compiler/ast/base.py +0 -213
  632. wirely-0.1.6/wirely/compiler/ast/functions.py +0 -104
  633. wirely-0.1.6/wirely/compiler/ast/node_types.py +0 -63
  634. wirely-0.1.6/wirely/compiler/ast/nodes.py +0 -986
  635. wirely-0.1.6/wirely/compiler/ast/parameter_declarations.py +0 -198
  636. wirely-0.1.6/wirely/compiler/ast/ports.py +0 -153
  637. wirely-0.1.6/wirely/compiler/ast/procedures.py +0 -716
  638. wirely-0.1.6/wirely/compiler/ast/scope.py +0 -396
  639. wirely-0.1.6/wirely/compiler/ast/specifiers.py +0 -107
  640. wirely-0.1.6/wirely/compiler/ast/type_declarations.py +0 -283
  641. wirely-0.1.6/wirely/compiler/ast/values.py +0 -432
  642. wirely-0.1.6/wirely/compiler/attributes.py +0 -507
  643. wirely-0.1.6/wirely/compiler/connection_constants.py +0 -122
  644. wirely-0.1.6/wirely/compiler/coordinator.py +0 -305
  645. wirely-0.1.6/wirely/compiler/diagnostics.py +0 -186
  646. wirely-0.1.6/wirely/compiler/documentation.py +0 -628
  647. wirely-0.1.6/wirely/compiler/editing.py +0 -1332
  648. wirely-0.1.6/wirely/compiler/expressions.py +0 -3596
  649. wirely-0.1.6/wirely/compiler/graph.py +0 -417
  650. wirely-0.1.6/wirely/compiler/inference.py +0 -1058
  651. wirely-0.1.6/wirely/compiler/instance.py +0 -647
  652. wirely-0.1.6/wirely/compiler/instructions.py +0 -577
  653. wirely-0.1.6/wirely/compiler/model.py +0 -330
  654. wirely-0.1.6/wirely/compiler/native_contracts.py +0 -1154
  655. wirely-0.1.6/wirely/compiler/native_functions.py +0 -257
  656. wirely-0.1.6/wirely/compiler/native_signatures.py +0 -177
  657. wirely-0.1.6/wirely/compiler/node_type.py +0 -429
  658. wirely-0.1.6/wirely/compiler/operators.py +0 -416
  659. wirely-0.1.6/wirely/compiler/outline.py +0 -867
  660. wirely-0.1.6/wirely/compiler/parameters.py +0 -301
  661. wirely-0.1.6/wirely/compiler/parser.py +0 -312
  662. wirely-0.1.6/wirely/compiler/patterns.py +0 -772
  663. wirely-0.1.6/wirely/compiler/prelude.py +0 -36
  664. wirely-0.1.6/wirely/compiler/program.py +0 -556
  665. wirely-0.1.6/wirely/compiler/public_interface.py +0 -364
  666. wirely-0.1.6/wirely/compiler/shuffle.py +0 -131
  667. wirely-0.1.6/wirely/compiler/sources.py +0 -239
  668. wirely-0.1.6/wirely/compiler/static_bindings.py +0 -32
  669. wirely-0.1.6/wirely/compiler/support.py +0 -497
  670. wirely-0.1.6/wirely/compiler/type_conversion.py +0 -105
  671. wirely-0.1.6/wirely/compiler/types.py +0 -803
  672. wirely-0.1.6/wirely/compiler/value.py +0 -389
  673. wirely-0.1.6/wirely/compiler/wirely.lark +0 -404
  674. wirely-0.1.6/wirely/control/client.py +0 -260
  675. wirely-0.1.6/wirely/control/controller.py +0 -445
  676. wirely-0.1.6/wirely/control/host.py +0 -323
  677. wirely-0.1.6/wirely/control/log.py +0 -300
  678. wirely-0.1.6/wirely/control/messages.py +0 -185
  679. wirely-0.1.6/wirely/control/node_commands.py +0 -148
  680. wirely-0.1.6/wirely/control/saved_state.py +0 -156
  681. wirely-0.1.6/wirely/control/server.py +0 -480
  682. wirely-0.1.6/wirely/editor/app.py +0 -666
  683. wirely-0.1.6/wirely/editor/export.py +0 -82
  684. wirely-0.1.6/wirely/editor/graph_model.py +0 -422
  685. wirely-0.1.6/wirely/editor/graph_view.py +0 -1072
  686. wirely-0.1.6/wirely/editor/palette.py +0 -151
  687. wirely-0.1.6/wirely/editor/program.py +0 -264
  688. wirely-0.1.6/wirely/editor/properties.py +0 -175
  689. wirely-0.1.6/wirely/lib/csv.wrl +0 -66
  690. wirely-0.1.6/wirely/lib/gpio.wrl +0 -75
  691. wirely-0.1.6/wirely/lib/knx.wrl +0 -316
  692. wirely-0.1.6/wirely/lib/memory.wrl +0 -96
  693. wirely-0.1.6/wirely/lib/mqtt.wrl +0 -281
  694. wirely-0.1.6/wirely/lib/path.wrl +0 -31
  695. wirely-0.1.6/wirely/lib/process.wrl +0 -30
  696. wirely-0.1.6/wirely/lib/schedule.wrl +0 -172
  697. wirely-0.1.6/wirely/lib/std.wrl +0 -1791
  698. wirely-0.1.6/wirely/lib/timer.wrl +0 -180
  699. wirely-0.1.6/wirely/lib/two_n.wrl +0 -298
  700. wirely-0.1.6/wirely/misc/state_directory.py +0 -99
  701. wirely-0.1.6/wirely/native/csv.py +0 -249
  702. wirely-0.1.6/wirely/native/gpio.py +0 -130
  703. wirely-0.1.6/wirely/native/knx.py +0 -668
  704. wirely-0.1.6/wirely/native/mqtt.py +0 -625
  705. wirely-0.1.6/wirely/native/process.py +0 -74
  706. wirely-0.1.6/wirely/native/std.py +0 -197
  707. wirely-0.1.6/wirely/native/two_n.py +0 -677
  708. wirely-0.1.6/wirely/program/_binary.py +0 -261
  709. wirely-0.1.6/wirely/program/const_data.py +0 -258
  710. wirely-0.1.6/wirely/program/container.py +0 -121
  711. wirely-0.1.6/wirely/program/format.wrl +0 -524
  712. wirely-0.1.6/wirely/program/limits.py +0 -52
  713. wirely-0.1.6/wirely/program/loader.py +0 -366
  714. wirely-0.1.6/wirely/program/names.py +0 -25
  715. wirely-0.1.6/wirely/program/program.py +0 -464
  716. wirely-0.1.6/wirely/program/records.py +0 -114
  717. wirely-0.1.6/wirely/program/types.py +0 -1147
  718. wirely-0.1.6/wirely/program/validation.py +0 -324
  719. wirely-0.1.6/wirely/program/verifier.py +0 -828
  720. wirely-0.1.6/wirely/program/writer.py +0 -447
  721. wirely-0.1.6/wirely/runtime/engine.py +0 -488
  722. wirely-0.1.6/wirely/runtime/extensions.py +0 -154
  723. wirely-0.1.6/wirely/runtime/linking.py +0 -243
  724. wirely-0.1.6/wirely/runtime/loading.py +0 -211
  725. wirely-0.1.6/wirely/runtime/native_api.py +0 -503
  726. wirely-0.1.6/wirely/runtime/procedures.py +0 -281
  727. wirely-0.1.6/wirely/runtime/resources.py +0 -62
  728. wirely-0.1.6/wirely/runtime/signatures.py +0 -197
  729. wirely-0.1.6/wirely/runtime/text.py +0 -148
  730. wirely-0.1.6/wirely/runtime/value_types.py +0 -402
  731. wirely-0.1.6/wirely/two_n/client.py +0 -562
  732. wirely-0.1.6/wirely.egg-info/PKG-INFO +0 -229
  733. wirely-0.1.6/wirely.egg-info/SOURCES.txt +0 -499
  734. {wirely-0.1.6 → wirely-0.1.7}/LICENSE +0 -0
  735. {wirely-0.1.6 → wirely-0.1.7}/LICENSE-MPL-2.0 +0 -0
  736. {wirely-0.1.6 → wirely-0.1.7}/MANIFEST.in +0 -0
  737. {wirely-0.1.6 → wirely-0.1.7}/NOTICE +0 -0
  738. {wirely-0.1.6 → wirely-0.1.7}/doc/python-style.md +0 -0
  739. {wirely-0.1.6 → wirely-0.1.7}/examples/delay.wrl +0 -0
  740. {wirely-0.1.6 → wirely-0.1.7}/examples/gpio.wrl +0 -0
  741. {wirely-0.1.6 → wirely-0.1.7}/examples/knx.wrl +0 -0
  742. {wirely-0.1.6 → wirely-0.1.7}/setup.cfg +0 -0
  743. {wirely-0.1.6 → wirely-0.1.7}/tests/__init__.py +0 -0
  744. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/durations.wrl +0 -0
  745. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/knx.wrl +0 -0
  746. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/literals.wrl +0 -0
  747. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/namespaces.wrl +0 -0
  748. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/ordering.wrl +0 -0
  749. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/parser_runtime.wrl +0 -0
  750. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/port_dependencies.wrl +0 -0
  751. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/port_stages.wrl +0 -0
  752. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/prepared_configuration.wrl +0 -0
  753. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/simple.wrl +0 -0
  754. {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/time_of_day.wrl +0 -0
  755. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/__init__.py +0 -0
  756. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/__init__.py +0 -0
  757. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/compiler/__init__.py +0 -0
  758. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/compiler/function_implementations/__init__.py +0 -0
  759. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/functions/__init__.py +0 -0
  760. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/functions/test_library.py +0 -0
  761. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/native/__init__.py +0 -0
  762. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/parser_runtime.py +0 -0
  763. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/__init__.py +0 -0
  764. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/diagnostics.py +0 -0
  765. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/logs.py +0 -0
  766. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/parallel.py +0 -0
  767. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/progress.py +0 -0
  768. {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/services.py +0 -0
  769. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/enum_literals.wrl +0 -0
  770. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/float_literals.wrl +0 -0
  771. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/load_checks.wrl +0 -0
  772. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/monotonic_time.wrl +0 -0
  773. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/parser_runtime.wrl +0 -0
  774. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/path.wrl +0 -0
  775. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/port_dependencies.wrl +0 -0
  776. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/port_stages.wrl +0 -0
  777. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/resource_value_types.wrl +0 -0
  778. {wirely-0.1.6 → wirely-0.1.7}/tests/negative/time_of_day.wrl +0 -0
  779. {wirely-0.1.6 → wirely-0.1.7}/tests/unit/engine_wakeup.wrl +0 -0
  780. {wirely-0.1.6 → wirely-0.1.7}/tests/unit/native_values.wrl +0 -0
  781. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/abb.wrl +0 -0
  782. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/and.wrl +0 -0
  783. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/arithmetic_nodes.wrl +0 -0
  784. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/csv.wrl +0 -0
  785. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/delay.wrl +0 -0
  786. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/gpio.wrl +0 -0
  787. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/knx_reconnect.wrl +0 -0
  788. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/knx_time.wrl +0 -0
  789. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/logic.wrl +0 -0
  790. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/match.wrl +0 -0
  791. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/mqtt.wrl +0 -0
  792. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/mqtt_reconnect.wrl +0 -0
  793. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/process.wrl +0 -0
  794. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/two_n.wrl +0 -0
  795. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/two_n_reconnect.wrl +0 -0
  796. {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/username_password.txt +0 -0
  797. {wirely-0.1.6 → wirely-0.1.7}/tools/__init__.py +0 -0
  798. {wirely-0.1.6 → wirely-0.1.7}/tools/build-pex +0 -0
  799. {wirely-0.1.6 → wirely-0.1.7}/tools/build_backend.py +0 -0
  800. {wirely-0.1.6 → wirely-0.1.7}/tools/generate +0 -0
  801. {wirely-0.1.6 → wirely-0.1.7}/tools/generate-library-key +0 -0
  802. {wirely-0.1.6 → wirely-0.1.7}/tools/generate-native-types +0 -0
  803. {wirely-0.1.6 → wirely-0.1.7}/tools/generate-parser +0 -0
  804. {wirely-0.1.6 → wirely-0.1.7}/tools/generate-standard-library +0 -0
  805. {wirely-0.1.6 → wirely-0.1.7}/tools/generation.py +0 -0
  806. {wirely-0.1.6 → wirely-0.1.7}/tools/git_write_wd_tree.py +0 -0
  807. {wirely-0.1.6 → wirely-0.1.7}/tools/launch.py +0 -0
  808. {wirely-0.1.6 → wirely-0.1.7}/tools/library_key_generator.py +0 -0
  809. {wirely-0.1.6 → wirely-0.1.7}/tools/native_types_generator.py +0 -0
  810. {wirely-0.1.6 → wirely-0.1.7}/tools/parser_generator.py +0 -0
  811. {wirely-0.1.6 → wirely-0.1.7}/tools/run-tests +0 -0
  812. {wirely-0.1.6 → wirely-0.1.7}/tools/run-tests-dependencies +0 -0
  813. {wirely-0.1.6 → wirely-0.1.7}/tools/setup-dev +0 -0
  814. {wirely-0.1.6 → wirely-0.1.7}/tools/setup-venv +0 -0
  815. {wirely-0.1.6 → wirely-0.1.7}/tools/standard_library_generator.py +0 -0
  816. {wirely-0.1.6 → wirely-0.1.7}/tools/test-gitlab-ci +0 -0
  817. {wirely-0.1.6 → wirely-0.1.7}/tools/wirely +0 -0
  818. {wirely-0.1.6 → wirely-0.1.7}/wirely/__init__.py +0 -0
  819. {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/__init__.py +0 -0
  820. {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/edit.py +0 -0
  821. {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/export_image.py +0 -0
  822. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/__init__.py +0 -0
  823. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/__init__.py +0 -0
  824. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/library.py +0 -0
  825. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/operators.py +0 -0
  826. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/compilation.py +0 -0
  827. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/extensions.py +0 -0
  828. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/__init__.py +0 -0
  829. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/csv.py +0 -0
  830. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/knx.py +0 -0
  831. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/mqtt.py +0 -0
  832. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/path.py +0 -0
  833. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/schedule_time_of_day.py +0 -0
  834. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/std.py +0 -0
  835. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/std_duration.py +0 -0
  836. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/test.py +0 -0
  837. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/two_n.py +0 -0
  838. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/library_files.py +0 -0
  839. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/lookup.py +0 -0
  840. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/parser_config.py +0 -0
  841. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/parser_runtime.py +0 -0
  842. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/seal.py +0 -0
  843. {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/stages.py +0 -0
  844. {wirely-0.1.6 → wirely-0.1.7}/wirely/control/__init__.py +0 -0
  845. {wirely-0.1.6 → wirely-0.1.7}/wirely/control/diagnostic.py +0 -0
  846. {wirely-0.1.6 → wirely-0.1.7}/wirely/control/framing.py +0 -0
  847. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/__init__.py +0 -0
  848. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/grid.py +0 -0
  849. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/layout.py +0 -0
  850. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/qt_application.py +0 -0
  851. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/sync.py +0 -0
  852. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/text_view.py +0 -0
  853. {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/workspace.py +0 -0
  854. {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/__init__.py +0 -0
  855. {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/schedule_time_of_day.py +0 -0
  856. {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/std_duration.py +0 -0
  857. {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/timer_monotonic_time.py +0 -0
  858. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/__init__.py +0 -0
  859. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/address.py +0 -0
  860. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/connection_adapter.py +0 -0
  861. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/connection_config.py +0 -0
  862. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/settings.py +0 -0
  863. {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/value_types.py +0 -0
  864. {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/abb_jra.wrl +0 -0
  865. {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/matter.wrl +0 -0
  866. {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/test.wrl +0 -0
  867. {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/__init__.py +0 -0
  868. {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/repeated_errors.py +0 -0
  869. {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/service.py +0 -0
  870. {wirely-0.1.6 → wirely-0.1.7}/wirely/mqtt/__init__.py +0 -0
  871. {wirely-0.1.6 → wirely-0.1.7}/wirely/mqtt/settings.py +0 -0
  872. {wirely-0.1.6 → wirely-0.1.7}/wirely/native/__init__.py +0 -0
  873. {wirely-0.1.6 → wirely-0.1.7}/wirely/native/schedule.py +0 -0
  874. {wirely-0.1.6 → wirely-0.1.7}/wirely/native/support.py +0 -0
  875. {wirely-0.1.6 → wirely-0.1.7}/wirely/native/timer.py +0 -0
  876. {wirely-0.1.6 → wirely-0.1.7}/wirely/program/__init__.py +0 -0
  877. {wirely-0.1.6 → wirely-0.1.7}/wirely/program/encoding.py +0 -0
  878. {wirely-0.1.6 → wirely-0.1.7}/wirely/program/procedures.py +0 -0
  879. {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/__init__.py +0 -0
  880. {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/contexts.py +0 -0
  881. {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/logs.py +0 -0
  882. {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/time_snapshot.py +0 -0
  883. {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/wall_clock.py +0 -0
  884. {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/__init__.py +0 -0
  885. {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/cert.py +0 -0
  886. {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/fake_server.py +0 -0
  887. {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/grab_images.py +0 -0
  888. {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/settings.py +0 -0
  889. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/__init__.py +0 -0
  890. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/integer_text.py +0 -0
  891. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/integers.py +0 -0
  892. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/open_enum.py +0 -0
  893. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/option.py +0 -0
  894. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/time.py +0 -0
  895. {wirely-0.1.6 → wirely-0.1.7}/wirely/types/unit.py +0 -0
  896. {wirely-0.1.6 → wirely-0.1.7}/wirely/util.py +0 -0
  897. {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/dependency_links.txt +0 -0
  898. {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/entry_points.txt +0 -0
  899. {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/requires.txt +0 -0
  900. {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/top_level.txt +0 -0
@@ -0,0 +1,610 @@
1
+ # Changelog
2
+
3
+ ## 0.1.7 - 2026-12-06
4
+
5
+ ### Breaking changes and migration
6
+
7
+ #### Constant inputs replace parameters
8
+
9
+ Node types declare their compile-time configuration as constant inputs.
10
+ `parameter` still compiles, with a `Deprecated` warning. Replace the
11
+ declarations as follows:
12
+
13
+ | 0.1.6 | 0.1.7 |
14
+ | ----------------------------------------- | ------------------------------------------ |
15
+ | `parameter X: T;` | `input X: constant T;` |
16
+ | `parameter X: T = d;` | `input X: optional constant T = d;` |
17
+ | `optional parameter X: T;` | `input X: optional constant T;` |
18
+ | `parameter X: runtime type = infer type;` | `input X: inferred constant runtime type;` |
19
+
20
+ Node blocks supply constant inputs as before, and `connect` statements
21
+ from compile-time expressions can now supply them as well.
22
+
23
+ #### Optional constant inputs
24
+
25
+ An optional constant input without a default reads as an option inside its
26
+ node type, so use `Name` instead of `optional(Name)`, and `Name.Unwrap()`
27
+ where a plain value is needed. Pass an option to an input with
28
+ `Name: ?value` instead of `Name?: value`:
29
+
30
+ ```wirely ignore
31
+ node type Forward {
32
+ input Label: optional constant string;
33
+ node child: Child { Label: ?Label }
34
+ }
35
+ ```
36
+
37
+ #### Events in procedures
38
+
39
+ Event dependencies are values of type `Event[T]`. Read the payload inside
40
+ an `on` block with `.Payload`, and replace `optional(e)` with
41
+ `e.AsOption`. Event outputs are assigned events made with `emit`:
42
+
43
+ | 0.1.6 | 0.1.7 |
44
+ | ------------------------------- | ------------------------------------ |
45
+ | `on reset { next = reset; }` | `on reset { next = reset.Payload; }` |
46
+ | `optional(reset)` | `reset.AsOption` |
47
+ | `emit out(x)` | `out = emit x` |
48
+ | `emit? out(option)` | `out = emit ?option` |
49
+ | `emit out` | `out = emit ()` |
50
+ | `on input { emit out(input); }` | `out = input` |
51
+
52
+ `emit` is a strong keyword; write `r#emit` for names.
53
+
54
+ #### Forwarding multi inputs
55
+
56
+ Forward a multi input to a child's multi input with `*In` instead of `In`.
57
+
58
+ #### Native state
59
+
60
+ `native initializer` is removed. Declare a native state slot with
61
+ `native state name: Type;` and a type declared with
62
+ `native state type Name;`, and configure the object from load procedures
63
+ that read the slot (see
64
+ [Native state](doc/language.md#native-state)). In Python, native states
65
+ consist of a `NativeStateConfig` and a `NativeState`; see
66
+ [Native objects, resources, and tasks](doc/native-python.md#native-objects-resources-and-tasks).
67
+ Native code of libraries outside this repository needs to be ported.
68
+
69
+ #### Diagram attributes
70
+
71
+ Remove `#[Diagram.ShowValue]`. The editor shows required and supplied
72
+ inputs, constant inputs included, at sockets; `#[Diagram.Show(...)]`
73
+ changes when an input is shown.
74
+
75
+ #### Impulse relay
76
+
77
+ Rename `Memory.ToggleFlipFlopTrigger` to `Actuator.ImpulseRelay`. Its
78
+ parameters and ports are unchanged.
79
+
80
+ ### Added
81
+
82
+ - State transitions carry the state of a running program into a new
83
+ version. `wirely compile --transition-from running.wbc
84
+ --transition-output upgrade.wbt` generates one; matching state carries
85
+ forward, also across lossless type changes, and
86
+ `#[Transition.From = "old_name"]` declares former names. Native objects,
87
+ such as bus connections, are kept across program switches. See
88
+ [State transitions](doc/transitions.md).
89
+ - `wirely client set-state NAME VALUE` changes one state variable of a
90
+ running program.
91
+ - Constant inputs can be `multi constant`, can be `optional` with or
92
+ without a default, and `inferred` constant inputs can infer types,
93
+ `Array` lengths, and `Option` presences. `connect` statements from
94
+ compile-time expressions supply constant inputs.
95
+ - Value, fixed, and event inputs can be `optional`, with or without a
96
+ default, as in `input Interval: optional value uint16 = 60;`. Without a
97
+ default, the node type reads the input as an option whose presence each
98
+ instance knows. A `?value` source supplies an input only where the
99
+ option `value` is present.
100
+ - `Option[T, true]` and `Option[T, false]` are options whose presence is
101
+ known at compile time.
102
+ - `Array[T, N]` holds exactly `N` values. Procedures read multi inputs as
103
+ arrays, `xs[i]` reads elements at compile-time indices, `*xs` spreads an
104
+ array into a list literal or a multi input, and `.Indices` gives the
105
+ indices.
106
+ - Procedures can store events in locals, arrays, and structs, compare
107
+ them, and forward them by assignment. `on` takes any event expression.
108
+ - `constant for` loops over compile-time arrays and lists, and assignments
109
+ to fields and elements of mutable locals, as in
110
+ `items[1].valid = false;`.
111
+ - Type positions and the length and presence arguments of `Array` and
112
+ `Option` accept compile-time expressions that depend on constant inputs,
113
+ such as `Array[T, Count + 1]`.
114
+ - The connection source `e.AsOption` supplies `Some(payload)` while the
115
+ event `e` is present and `None` otherwise.
116
+ - Procedure bodies can use `default input` and `default output` without an
117
+ alias, and read `name.old` of a state and fixed inputs without listing
118
+ them in `reads`.
119
+ - `Std.DetectChange`, `Std.LastEvent`, `Std.OptionHoldLast`,
120
+ `Std.Hysteresis`, `Std.OnOffCommand`, `Std.OnOffState`, and
121
+ `Timer.OptionHoldLast` and `Timer.LastEvent` with a maximum age.
122
+
123
+ ### Changed
124
+
125
+ - `Some(x)` has the type `Option[T, true]`, which is always present. A
126
+ type input inferred only from `Some(x)` cannot hold `None`; supply the
127
+ type, as in `Type: Option[uint8]`, where the node needs `None`.
128
+
129
+ ## 0.1.6 - 2026-11-15
130
+
131
+ ### Breaking changes and migration
132
+
133
+ #### KNX and MQTT value providers
134
+
135
+ `KNX.ValueProvider` and `MQTT.ValueProvider` take `value Option[Type]` and
136
+ replace `ValueOptionProvider`. Rename `ValueOptionProvider` to
137
+ `ValueProvider`, and wrap values that are always present with `Some`:
138
+
139
+ ```wirely
140
+ node lights: KNX.ValueProvider { GroupAddress: "0/0/3", Type: boolean }
141
+ connect Some(lights_on) -> lights;
142
+ ```
143
+
144
+ Recompile programs that use these node types.
145
+
146
+ #### ABB JRA status
147
+
148
+ `ABB.JRA.InterpretStatusInformation` takes `value Option[uint16]` and
149
+ produces `value Option[boolean]` outputs, replacing
150
+ `InterpretStatusInformationOption`. Rename `InterpretStatusInformationOption`
151
+ to `InterpretStatusInformation`, and wrap a plain status word with
152
+ `Some(...)`.
153
+
154
+ #### Removed node types
155
+
156
+ Replace `Std.Constant` with a constant connection source, such as
157
+ `connect 5 -> target;`. Replace `Std.OptionNone` with the source `None`,
158
+ and `Std.OptionSome` with `Some(source)`. `Std.TwoStageValueForward` is
159
+ removed.
160
+
161
+ The `Connected` output of `TwoN.Connection`, `KNX.Connection`, and
162
+ `MQTT.Connection` is removed. Use the namespace's `ConnectionState` node
163
+ instead, connected to the connection:
164
+
165
+ ```wirely ignore
166
+ node bus_state: KNX.ConnectionState {}
167
+ connect bus -> bus_state.Bus;
168
+ ```
169
+
170
+ #### Impl blocks
171
+
172
+ Declare the constants, native functions, and operator bindings of a struct
173
+ or enum type in `impl Name { ... }` instead of a namespace named like the
174
+ type. Move other declarations of such a namespace to a separate namespace.
175
+
176
+ ### Added
177
+
178
+ - `match` expressions. `match` and `if let` support literal, struct, and
179
+ list patterns, `|` alternatives, and nesting; `match` arms take guards.
180
+ The compiler checks that a `match` covers every value.
181
+ - Omitted type arguments are inferred from connections and arguments for
182
+ type parameters declared with `= infer type`, including those of the
183
+ standard library's node types.
184
+ - The compile-time type `integer` holds integer literals and constant
185
+ arithmetic without bounds. Integers widen implicitly to integer types
186
+ that hold every value, on connections, in code, and in constants.
187
+ - The type `never` has no values and types expressions that do not
188
+ finish. `None` and `[]` have the types `Option[never]` and
189
+ `List[never]`.
190
+ - `require condition;` checks the parameters of a node type and reports a
191
+ failure at the instantiation. `fail "message";` fails compilation, and
192
+ `constant if` selects a branch at compile time.
193
+ - Connection sources can be compile-time expressions or `Some(source)`. A
194
+ node block can give an input a constant, as in
195
+ `node s: Std.Select { Type: uint8, IfFalse: 77 }`.
196
+ - `Std` logic, comparison, selection, and integer arithmetic and conversion
197
+ node types, also in `Std.Lifted` for optional values.
198
+ - With `--state-directory`, `wirely run` saves the program state at
199
+ shutdown and continues with it at the next start. Without program files,
200
+ clients upload, activate, restart, and unload the program.
201
+
202
+ ### Changed
203
+
204
+ - The standard library ships compiled, and the compiler uses a bundled
205
+ generated parser, so it starts faster and does not need Lark installed.
206
+
207
+ ## 0.1.5 - 2026-10-31
208
+
209
+ ### Breaking changes and migration
210
+
211
+ #### Procedure clauses
212
+
213
+ Replace `depends on` with `reads` and `produces` with `writes`. In native
214
+ procedures and initializers, move `uses` values into `reads` and give
215
+ expressions other than names an alias. `writes` is a reserved word.
216
+
217
+ ```wirely
218
+ native initializer create
219
+ reads Host, optional(Port) as Port
220
+ writes default output as "device";
221
+ ```
222
+
223
+ #### Native node types
224
+
225
+ Replace `native node type` with `node type`, and name initializers, as in
226
+ `native initializer create`.
227
+
228
+ #### Fixed ports
229
+
230
+ Replace the port kind `resource T` with `fixed T`.
231
+
232
+ #### Debug value sources
233
+
234
+ Give each `Std.DebugValueSource` an `Initial` value, as in
235
+ `Std.DebugValueSource { Type: boolean, Initial: false }`.
236
+
237
+ #### Commands
238
+
239
+ Replace `wirely run-service` with `wirely run`.
240
+
241
+ `wirely show-graph` and the `graphviz` extra are removed; use
242
+ `wirely edit` or `wirely export-image` to view diagrams.
243
+
244
+ #### TwoN state nodes
245
+
246
+ `TwoN.KeyState`, `TwoN.IOState`, and `TwoN.SwitchState` output
247
+ `Option[boolean]`, which is `None` while the state is unknown. Where a
248
+ `boolean` is needed, use `UnwrapOr(false)` or `Std.OptionUnwrapOr`.
249
+
250
+ #### JSON for enums
251
+
252
+ Mark enums converted to JSON, for example by MQTT nodes, with `#[JSON]`.
253
+
254
+ ### Added
255
+
256
+ - `wirely compile -o FILE` writes the compiled program in the binary
257
+ program format, an unstable development format. `wirely run` runs
258
+ such a file.
259
+ - `load assert` checks a condition while loading; `load fail` fails
260
+ loading from a load procedure.
261
+ - Structs and enums can bind `+`, `-`, and `<` to functions, as in
262
+ `operator + is Add;` in their companion namespace.
263
+ - `#[JSON.Name = "..."]` overrides the JSON name of an enum member or
264
+ struct field.
265
+ - `wirely run -i` and `wirely client` without a command read control
266
+ commands interactively. New client commands include `get`, `set`, and
267
+ `send` for debug sources, and `list`.
268
+ - MQTT, KNX, and TwoN connections connect in the background, reconnect,
269
+ and have a `Connected` output.
270
+ - `MQTT.ValueReceiver`, a `LastWill` for `MQTT.ValueOptionProvider`, and
271
+ `ClientID` and `KeepAlive` for `MQTT.Connection`.
272
+
273
+ ### Changed
274
+
275
+ - MQTT providers retain their values; set `Retain: false` to turn this
276
+ off.
277
+
278
+ ## 0.1.4 - 2026-10-24
279
+
280
+ ### Breaking changes and migration
281
+
282
+ #### Optional parameters
283
+
284
+ Replace `parameter_option(x)` with `optional(x)`.
285
+
286
+ #### Type names
287
+
288
+ Replace `String` with `string` and `ValueType` with `type`.
289
+ Replace `Duration`, `TimeOfDay`, and `MonotonicTime` with `Std.Duration`,
290
+ `Schedule.TimeOfDay`, and `Timer.MonotonicTime`, respectively, including
291
+ in qualified function calls.
292
+
293
+ #### Schedule.IsInDailyInterval
294
+
295
+ The output is `Option[boolean]`. Handle `None` when wall time is unknown.
296
+
297
+ #### Bindings
298
+
299
+ Replace `temporary name: T;` with `binding name: value T;`, and
300
+ `resource name: R;` with `binding name: resource R;`. The connection kind is
301
+ required. The old declaration forms are no longer accepted.
302
+
303
+ #### Enums
304
+
305
+ Declare enums as `open` or `closed`. Open enums keep an explicit underlying
306
+ type and member values and accept unnamed values of that type. Closed enums
307
+ omit both and number their members from zero in declaration order:
308
+
309
+ ```wirely
310
+ open enum type Protocol: uint8 {
311
+ TCP = 1,
312
+ UDP = 2,
313
+ }
314
+
315
+ closed enum type State {
316
+ Idle,
317
+ Running,
318
+ }
319
+ ```
320
+
321
+ Replace `enum type` with `open enum type` to keep existing numbering.
322
+
323
+ #### Std.DelayOneStep
324
+
325
+ Replace `Std.DelayOneStep` with state and read its previous value with
326
+ `.old`:
327
+
328
+ ```wirely
329
+ state delayed: boolean = false;
330
+ connect source -> delayed;
331
+ connect delayed.old -> target;
332
+ ```
333
+
334
+ ## 0.1.3 - 2026-10-12
335
+
336
+ ### Breaking changes and migration
337
+
338
+ #### Schedule and Timer namespaces
339
+
340
+ Replace `Time` with `Schedule` for `IsInDailyInterval`, `TriggerAt`,
341
+ `TimeOfDayMinute`, and `IsValidDailyInterval`, and with `Timer` for
342
+ `DebounceStable` and `MonotonicTimeReached`.
343
+
344
+ ### Added
345
+
346
+ - `Timer.MonotonicTimestamp` emits the step's monotonic time while an input
347
+ event is present.
348
+ - Bitwise operators `&`, `|`, `^`, `!`, `<<`, and `>>` for integers.
349
+ - Procedure ports can be declared with a type and wired with `connect`.
350
+ Refer to a port as `procedure.port`, also in reference ports of other
351
+ procedures:
352
+
353
+ ```wirely
354
+ procedure invert
355
+ depends on value: value boolean
356
+ produces inverted: value boolean
357
+ {
358
+ inverted = !value;
359
+ }
360
+ connect default input -> invert.value;
361
+ connect invert.inverted -> default output;
362
+ ```
363
+ - Connections can target temporaries and state; state takes its value from
364
+ a procedure output port. Reference output ports can target child inputs.
365
+ - `wirely edit` edits programs as source text and as diagrams, kept in
366
+ sync. `wirely export-image` draws a diagram as a PDF or PNG file. Install
367
+ the `editor` extra to use them.
368
+
369
+ ## 0.1.2 - 2026-10-10
370
+
371
+ ### Breaking changes and migration
372
+
373
+ #### Optional parameter forwarding
374
+
375
+ Replace implicit forwarding with `Foo?: parameter_option(Foo)` in node
376
+ arguments.
377
+
378
+ #### Node instance syntax
379
+
380
+ Replace parameter parentheses with braces, parameter `=` with `:`, and
381
+ remove the final semicolon. Every node instance needs braces:
382
+
383
+ | Before | After |
384
+ | --- | --- |
385
+ | `node n: T(P = value);` | `node n: T { P: value }` |
386
+ | `node n: T;` | `node n: T {}` |
387
+ | `node n: T();` | `node n: T {}` |
388
+
389
+ #### Connector syntax
390
+
391
+ Use `multi value`, `multi event`, and `multi resource` instead of `list value`,
392
+ `list event`, and `list resource` in input declarations.
393
+
394
+ Use `default input` and `default output` instead of `implicit input` and
395
+ `implicit output` in connector declarations, connection endpoints, and
396
+ procedure bindings.
397
+
398
+ #### Library and function names
399
+
400
+ Update node types and function calls as follows:
401
+
402
+ | In 0.1.1 | In 0.1.2 |
403
+ | --- | --- |
404
+ | `ExtProg.LaunchOnEvent` | `Process.LaunchOnEvent` |
405
+ | `MQTT.EventEmitter` | `MQTT.EventSender` |
406
+ | `KNX.EventEmitter` | `KNX.EventSender` |
407
+ | `Time.DelayChange` | `Time.DebounceStable` |
408
+ | `Std.Delay` | `Std.DelayOneStep` |
409
+ | `Time.IsBetween` | `Time.IsInDailyInterval` |
410
+ | `Std.OptionUnwrapOrDefault` | `Std.OptionUnwrapOr` |
411
+
412
+ #### Attribute names
413
+
414
+ Separate qualified attribute names with `.` instead of `::`.
415
+
416
+ #### Library settings
417
+
418
+ String settings are now library enums. For example, replace
419
+ `ActiveState: "Low"` with `ActiveState: GPIO.ActiveState.Low`:
420
+
421
+ | Node type | Parameter | Enum type |
422
+ | --- | --- | --- |
423
+ | `GPIO.Output` | `ActiveState` | `GPIO.ActiveState` |
424
+ | `GPIO.Output` | `Drive` | `GPIO.Drive` |
425
+ | `GPIO.Output` | `Bias` | `GPIO.Bias` |
426
+ | `Std.DetectEdge` | `EdgeType` | `Std.EdgeType` |
427
+ | `KNX.Connection` | `Protocol` | `KNX.Protocol` |
428
+ | MQTT nodes | `Format` | `MQTT.Format` |
429
+
430
+ Member names match the former strings.
431
+
432
+ `TwoN.Connection` requires an absolute `UsernamePasswordFile`. To read a
433
+ file beside the calling source file, use:
434
+
435
+ ```wirely
436
+ UsernamePasswordFile:
437
+ Path.Join(Path.Parent(Path.SourceFile()), "credentials.txt"),
438
+ ```
439
+
440
+ #### Time values
441
+
442
+ Replace `TimeOfDay_AddWrap(time, offset)` with
443
+ `TimeOfDay.WrappingAdd(time, duration)`, for example
444
+ `TimeOfDay.WrappingAdd("23:30", "PT1H")`.
445
+
446
+ `TimeOfDay` strings use two-digit hours and minutes, optionally followed by
447
+ seconds and up to nine fraction digits, such as `"08:00:30.125"`. `"24:00"`
448
+ is the end of the day.
449
+
450
+ Replace `MonotonicTime.Invalid` with `Option[MonotonicTime]` and `None`.
451
+ `Time.MonotonicTimeReached` takes `value Option[MonotonicTime]`.
452
+
453
+ #### Stricter checks
454
+
455
+ - Every input except `multi` inputs needs a source, including resource
456
+ inputs that nothing uses.
457
+ - Each state and temporary variable needs exactly one producing procedure.
458
+ - `assert` is a keyword; write `r#assert` to use it as an identifier.
459
+
460
+ ### Added
461
+
462
+ - Write procedure bodies in Wirely, in node types or at the program root.
463
+ Bodies assign each output once and support `let`, `if`, and expressions:
464
+
465
+ ```wirely
466
+ procedure run
467
+ depends on Enabled, default input as input
468
+ produces default output as output
469
+ {
470
+ output = if Enabled { input } else { Fallback };
471
+ }
472
+ ```
473
+
474
+ See [procedure bodies](doc/language.md#procedure-bodies).
475
+ - Declare compile-time constants with `constant Name: Type = expression;`
476
+ and check conditions with `assert condition, "message";`.
477
+ - Expressions support ordering comparisons, equality for all value types
478
+ (and for types at compile time), struct field access, and compile-time
479
+ integer arithmetic. Integer types provide wrapping, saturating, and
480
+ checked arithmetic and conversions such as `uint8.CheckedFrom(value)`.
481
+ Options support `IsSome`, `IsNone`, `UnwrapOr(fallback)`,
482
+ `if let Some(x) = value { ... } else { ... }`, and compile-time
483
+ `Unwrap()`.
484
+ - Declare `native function` and `native constant function` in libraries.
485
+ See [native functions](doc/language.md#native-functions).
486
+ - The `std` library provides arithmetic and conversions for `Duration`,
487
+ `MonotonicTime`, and `TimeOfDay`. See [value types](doc/value-types.md).
488
+ - The `path` library provides `Path.Join`, `Path.Parent`, and
489
+ `Path.SourceFile`.
490
+ - `wirely run-service --state-directory DIR` serves local control sockets
491
+ for status, pausing, stepping, and state snapshots; `wirely client` sends
492
+ these requests. See
493
+ [local sockets](doc/control-protocol.md#local-sockets).
494
+ - `wirely.compiler.attribute_editing` adds, sets, and removes attributes
495
+ while preserving source formatting.
496
+
497
+ ## 0.1.1 - 2026-10-04
498
+
499
+ ### Breaking changes and migration
500
+
501
+ #### Library names
502
+
503
+ Update node types, named arguments, and connection endpoints as follows.
504
+ Names are case-sensitive.
505
+
506
+ | In 0.1.0 | In 0.1.1 |
507
+ | --- | --- |
508
+ | `Std.DebugInput` | `Std.DebugValueSource` |
509
+ | `Std.DebugPrinter` | `Std.DebugValuePrinter` |
510
+ | `MQTT.Server` | `MQTT.Connection` |
511
+ | MQTT client input `Server` | `Broker` |
512
+ | `TwoN.Device` node type | `TwoN.Connection` |
513
+ | TwoN connection parameter `Hostname` | `Host` |
514
+ | `Time.TriggerAt` parameter `Type` | `OutputType` |
515
+ | `Time.TriggerAt` parameter `Value` | `OutputValue` |
516
+ | `Time.DelayChange` parameter `Time` | `Duration` |
517
+ | `Std.Delay` parameter `initialValue` | `InitialValue` |
518
+ | `Time.IsBetween` parameters `start`, `end` | `Start`, `End` |
519
+
520
+ Rename the parameter `type` to `Type` on `Std.Delay`,
521
+ `Std.TwoStageValueForward`, `Std.DebugValuePrinter`, `Std.DebugEventPrinter`,
522
+ `Std.DebugValueSource`, and `Std.DebugEventSource`.
523
+
524
+ The MQTT input rename applies to `ValueOptionProvider`, `ValueProvider`,
525
+ `EventEmitter`, and `EventReceiver`. For example, change
526
+ `connect broker -> publisher.Server;` to
527
+ `connect broker -> publisher.Broker;`.
528
+
529
+ #### Resource connectors
530
+
531
+ Replace integration-specific connector kinds in custom node declarations:
532
+
533
+ | In 0.1.0 | In 0.1.1 |
534
+ | --- | --- |
535
+ | `knx_bus` | `resource KNX.Bus` |
536
+ | `mqtt_server` | `resource MQTT.Broker` |
537
+ | `two_n_device` | `resource TwoN.Device` |
538
+
539
+ Custom libraries can declare their own opaque resources with
540
+ `resource type Name;`. See [resource connectors](doc/language.md#opaque-resource-ports).
541
+
542
+ #### Runtime types
543
+
544
+ `String` and `List[T]` are now enforced as parameter-only types, including
545
+ options containing them.
546
+
547
+ #### Procedure bindings and state dependencies
548
+
549
+ Add `as "key"` aliases to implicit connectors and complex references in
550
+ `depends on` and `produces`. Simple identifiers use their own names.
551
+ Procedures that read previous state must declare that dependency explicitly;
552
+ state changes only rerun procedures that depend on them. For example:
553
+
554
+ ```wirely
555
+ native procedure run
556
+ depends on implicit input as "input", last_value.old as "previous"
557
+ produces implicit output as "output", last_value as "next";
558
+ ```
559
+
560
+ See [state and execution](doc/language.md#state-and-execution).
561
+
562
+ #### String escapes
563
+
564
+ Quoted strings use Rust-style escapes. Replace Python-style Unicode escapes
565
+ such as `\u0041` or `\U0001F600` with `\u{41}` or `\u{1F600}`. Use raw
566
+ strings such as `r"C:\logs\wirely"` to preserve literal backslashes.
567
+
568
+ ### Added
569
+
570
+ - Integer literals accept unary `+` and `-`, including hexadecimal and
571
+ octal literals, such as `-42`, `-0x2a`, and `-0o52`.
572
+ - Use `()` for unit values and `Some(value)` for present optional values;
573
+ `None` represents absence.
574
+ - Declare named enum types with explicit integer representations and member
575
+ values, and use qualified literals such as `Mode.Heat`:
576
+
577
+ ```wirely
578
+ enum type Mode: uint8 {
579
+ Off = 0,
580
+ Heat = 1,
581
+ }
582
+ ```
583
+
584
+ - Declare named struct types and construct values by field name:
585
+
586
+ ```wirely
587
+ struct type Reading {
588
+ temperature: int16,
589
+ valid: boolean,
590
+ }
591
+ node reading: Std.Constant(
592
+ Type = Reading,
593
+ Value = Reading { valid: true, temperature: 215 }
594
+ );
595
+ ```
596
+
597
+ See [types and literals](doc/language.md#parameters-types-and-literals).
598
+ - Connect previous-step state directly with
599
+ `connect last_value.old -> target;`. Use `last_value.new` in connections
600
+ or procedure dependencies to read this step's value after its writer.
601
+ `.old` reads the initial value on the first step.
602
+ - Attach compiler attributes with `#[...]` and `#![...]`. Set node
603
+ coordinates with `#[position(x = 120, y = -40.5)]` before a node
604
+ declaration. See [attributes](doc/language.md#attributes).
605
+
606
+ ## 0.1.0
607
+
608
+ Initial release: typed node graphs, value and event connections, stateful
609
+ execution, composite and native nodes, and bundled KNX, MQTT, GPIO, 2N,
610
+ time, memory, CSV, and external-command libraries.