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