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.
- wirely-0.1.7/CHANGELOG.md +610 -0
- wirely-0.1.7/PKG-INFO +241 -0
- wirely-0.1.7/README.md +201 -0
- wirely-0.1.7/doc/README.md +24 -0
- wirely-0.1.7/doc/bytecode-format.md +1897 -0
- wirely-0.1.7/doc/compiler-stages.md +177 -0
- wirely-0.1.7/doc/control-protocol.md +783 -0
- wirely-0.1.7/doc/diagram-layout.md +178 -0
- wirely-0.1.7/doc/language.md +1739 -0
- wirely-0.1.7/doc/libraries.md +2620 -0
- wirely-0.1.7/doc/native-python.md +695 -0
- wirely-0.1.7/doc/state-directory.md +111 -0
- wirely-0.1.7/doc/tests.md +208 -0
- wirely-0.1.7/doc/transitions.md +132 -0
- wirely-0.1.7/doc/type-inference.md +145 -0
- wirely-0.1.7/doc/value-types.md +436 -0
- wirely-0.1.7/doc/wirely-style.md +146 -0
- wirely-0.1.7/examples/impulse_relay.wrl +23 -0
- wirely-0.1.7/examples/test.wrl +79 -0
- wirely-0.1.7/pyproject.toml +67 -0
- wirely-0.1.7/tests/compiler/arithmetic.wrl +125 -0
- wirely-0.1.7/tests/compiler/arrays.wrl +134 -0
- wirely-0.1.7/tests/compiler/assertions.wrl +134 -0
- wirely-0.1.7/tests/compiler/attributes.wrl +276 -0
- wirely-0.1.7/tests/compiler/bindings.wrl +53 -0
- wirely-0.1.7/tests/compiler/bitwise.wrl +214 -0
- wirely-0.1.7/tests/compiler/blocks.wrl +290 -0
- wirely-0.1.7/tests/compiler/changed.wrl +42 -0
- wirely-0.1.7/tests/compiler/connection_order.wrl +73 -0
- wirely-0.1.7/tests/compiler/constant_expressions.wrl +102 -0
- wirely-0.1.7/tests/compiler/constant_inputs.wrl +304 -0
- wirely-0.1.7/tests/compiler/constants.wrl +208 -0
- wirely-0.1.7/tests/compiler/conversions.wrl +71 -0
- wirely-0.1.7/tests/compiler/declarations.wrl +74 -0
- wirely-0.1.7/tests/compiler/deprecated_parameters.wrl +25 -0
- wirely-0.1.7/tests/compiler/equality.wrl +59 -0
- wirely-0.1.7/tests/compiler/events.wrl +223 -0
- wirely-0.1.7/tests/compiler/inference.wrl +672 -0
- wirely-0.1.7/tests/compiler/integer.wrl +139 -0
- wirely-0.1.7/tests/compiler/length.wrl +149 -0
- wirely-0.1.7/tests/compiler/library_settings.wrl +120 -0
- wirely-0.1.7/tests/compiler/load_checks.wrl +60 -0
- wirely-0.1.7/tests/compiler/load_stage.wrl +65 -0
- wirely-0.1.7/tests/compiler/match.wrl +245 -0
- wirely-0.1.7/tests/compiler/multi_procedures.wrl +102 -0
- wirely-0.1.7/tests/compiler/multi_sources.wrl +76 -0
- wirely-0.1.7/tests/compiler/native_functions.wrl +31 -0
- wirely-0.1.7/tests/compiler/native_warnings.wrl +18 -0
- wirely-0.1.7/tests/compiler/operators.wrl +205 -0
- wirely-0.1.7/tests/compiler/options.wrl +135 -0
- wirely-0.1.7/tests/compiler/parameters.wrl +175 -0
- wirely-0.1.7/tests/compiler/path.wrl +21 -0
- wirely-0.1.7/tests/compiler/port_members.wrl +91 -0
- wirely-0.1.7/tests/compiler/runtime_limits.wrl +179 -0
- wirely-0.1.7/tests/compiler/static_sources.wrl +107 -0
- wirely-0.1.7/tests/compiler/structs.wrl +45 -0
- wirely-0.1.7/tests/compiler/syntax.wrl +310 -0
- wirely-0.1.7/tests/compiler/transition_renames.wrl +47 -0
- wirely-0.1.7/tests/compiler/type_kinds.wrl +105 -0
- wirely-0.1.7/tests/compiler/type_limits.wrl +123 -0
- wirely-0.1.7/tests/compiler/type_stages.wrl +28 -0
- wirely-0.1.7/tests/compiler/types.wrl +365 -0
- wirely-0.1.7/tests/compiler/warnings.wrl +221 -0
- wirely-0.1.7/tests/compiler/warnings_allowed.wrl +16 -0
- wirely-0.1.7/tests/compiler/widening.wrl +292 -0
- wirely-0.1.7/tests/infra/bytecode.py +210 -0
- wirely-0.1.7/tests/infra/check_distribution.py +178 -0
- wirely-0.1.7/tests/infra/gpio.py +87 -0
- wirely-0.1.7/tests/infra/native_extension/compiler/function_implementations/test_library.py +48 -0
- wirely-0.1.7/tests/infra/native_extension/library.wrl +80 -0
- wirely-0.1.7/tests/infra/native_extension/native/test_library.py +52 -0
- wirely-0.1.7/tests/infra/runner/__main__.py +114 -0
- wirely-0.1.7/tests/infra/runner/execution.py +256 -0
- wirely-0.1.7/tests/infra/runner/registry.py +294 -0
- wirely-0.1.7/tests/infra/runner/transitions.py +129 -0
- wirely-0.1.7/tests/infra/support.py +286 -0
- wirely-0.1.7/tests/misc/grammar.py +10 -0
- wirely-0.1.7/tests/misc/imports.py +138 -0
- wirely-0.1.7/tests/misc/type_check.py +12 -0
- wirely-0.1.7/tests/negative/arithmetic.wrl +118 -0
- wirely-0.1.7/tests/negative/arrays.wrl +104 -0
- wirely-0.1.7/tests/negative/assertions.wrl +383 -0
- wirely-0.1.7/tests/negative/attributes.wrl +566 -0
- wirely-0.1.7/tests/negative/bindings.wrl +105 -0
- wirely-0.1.7/tests/negative/bitwise.wrl +176 -0
- wirely-0.1.7/tests/negative/blocks.wrl +424 -0
- wirely-0.1.7/tests/negative/changed.wrl +95 -0
- wirely-0.1.7/tests/negative/connections.wrl +1060 -0
- wirely-0.1.7/tests/negative/constant_expressions.wrl +88 -0
- wirely-0.1.7/tests/negative/constant_inputs.wrl +301 -0
- wirely-0.1.7/tests/negative/constants.wrl +313 -0
- wirely-0.1.7/tests/negative/conversions.wrl +102 -0
- wirely-0.1.7/tests/negative/durations.wrl +56 -0
- wirely-0.1.7/tests/negative/enum_declarations.wrl +253 -0
- wirely-0.1.7/tests/negative/inference.wrl +441 -0
- wirely-0.1.7/tests/negative/integer.wrl +122 -0
- wirely-0.1.7/tests/negative/integer_literals.wrl +215 -0
- wirely-0.1.7/tests/negative/length.wrl +166 -0
- wirely-0.1.7/tests/negative/library_settings.wrl +522 -0
- wirely-0.1.7/tests/negative/list_literals.wrl +14 -0
- wirely-0.1.7/tests/negative/load_stage.wrl +119 -0
- wirely-0.1.7/tests/negative/match.wrl +436 -0
- wirely-0.1.7/tests/negative/multi_procedures.wrl +218 -0
- wirely-0.1.7/tests/negative/names.wrl +46 -0
- wirely-0.1.7/tests/negative/native_functions.wrl +129 -0
- wirely-0.1.7/tests/negative/native_procedures.wrl +56 -0
- wirely-0.1.7/tests/negative/native_states.wrl +79 -0
- wirely-0.1.7/tests/negative/native_values.wrl +72 -0
- wirely-0.1.7/tests/negative/node_declarations.wrl +198 -0
- wirely-0.1.7/tests/negative/node_types.wrl +50 -0
- wirely-0.1.7/tests/negative/operators.wrl +275 -0
- wirely-0.1.7/tests/negative/option_literals.wrl +40 -0
- wirely-0.1.7/tests/negative/option_properties.wrl +126 -0
- wirely-0.1.7/tests/negative/optional_forwarding.wrl +68 -0
- wirely-0.1.7/tests/negative/optional_outputs.wrl +69 -0
- wirely-0.1.7/tests/negative/options.wrl +205 -0
- wirely-0.1.7/tests/negative/parameters.wrl +74 -0
- wirely-0.1.7/tests/negative/prepared_configuration.wrl +173 -0
- wirely-0.1.7/tests/negative/procedure_ports.wrl +593 -0
- wirely-0.1.7/tests/negative/procedures.wrl +505 -0
- wirely-0.1.7/tests/negative/resource_connections.wrl +156 -0
- wirely-0.1.7/tests/negative/resource_declarations.wrl +222 -0
- wirely-0.1.7/tests/negative/runtime_limits.wrl +472 -0
- wirely-0.1.7/tests/negative/runtime_types.wrl +69 -0
- wirely-0.1.7/tests/negative/state_connections.wrl +263 -0
- wirely-0.1.7/tests/negative/string_literals.wrl +131 -0
- wirely-0.1.7/tests/negative/structs.wrl +378 -0
- wirely-0.1.7/tests/negative/syntax_lists.wrl +56 -0
- wirely-0.1.7/tests/negative/transition_renames.wrl +84 -0
- wirely-0.1.7/tests/negative/type_comparisons.wrl +153 -0
- wirely-0.1.7/tests/negative/type_kinds.wrl +188 -0
- wirely-0.1.7/tests/negative/type_limits.wrl +239 -0
- wirely-0.1.7/tests/negative/unit_literals.wrl +21 -0
- wirely-0.1.7/tests/negative/weak_keywords.wrl +48 -0
- wirely-0.1.7/tests/repo/bytecode_format.py +17 -0
- wirely-0.1.7/tests/repo/doctests.py +49 -0
- wirely-0.1.7/tests/repo/files.py +34 -0
- wirely-0.1.7/tests/repo/generation.py +14 -0
- wirely-0.1.7/tests/repo/library_reference.py +16 -0
- wirely-0.1.7/tests/repo/output_dependencies.py +19 -0
- wirely-0.1.7/tests/transition/conversions.1.wrl +105 -0
- wirely-0.1.7/tests/transition/conversions.2.wrl +105 -0
- wirely-0.1.7/tests/transition/conversions.py +50 -0
- wirely-0.1.7/tests/transition/csv_keep.1.wrl +9 -0
- wirely-0.1.7/tests/transition/csv_keep.2.wrl +10 -0
- wirely-0.1.7/tests/transition/csv_keep.py +33 -0
- wirely-0.1.7/tests/transition/gpio_keep.1.wrl +17 -0
- wirely-0.1.7/tests/transition/gpio_keep.2.wrl +20 -0
- wirely-0.1.7/tests/transition/gpio_keep.py +34 -0
- wirely-0.1.7/tests/transition/knx_keep.1.wrl +28 -0
- wirely-0.1.7/tests/transition/knx_keep.2.wrl +35 -0
- wirely-0.1.7/tests/transition/knx_keep.py +78 -0
- wirely-0.1.7/tests/transition/matching.1.wrl +41 -0
- wirely-0.1.7/tests/transition/matching.2.wrl +82 -0
- wirely-0.1.7/tests/transition/matching.3.wrl +82 -0
- wirely-0.1.7/tests/transition/matching.py +55 -0
- wirely-0.1.7/tests/transition/mqtt_keep.1.wrl +25 -0
- wirely-0.1.7/tests/transition/mqtt_keep.2.wrl +31 -0
- wirely-0.1.7/tests/transition/mqtt_keep.py +68 -0
- wirely-0.1.7/tests/transition/process_keep.1.wrl +9 -0
- wirely-0.1.7/tests/transition/process_keep.2.wrl +9 -0
- wirely-0.1.7/tests/transition/process_keep.py +46 -0
- wirely-0.1.7/tests/transition/renames.1.wrl +84 -0
- wirely-0.1.7/tests/transition/renames.2.wrl +105 -0
- wirely-0.1.7/tests/transition/renames.3.wrl +106 -0
- wirely-0.1.7/tests/transition/renames.py +78 -0
- wirely-0.1.7/tests/transition/two_n_keep.1.wrl +31 -0
- wirely-0.1.7/tests/transition/two_n_keep.2.wrl +33 -0
- wirely-0.1.7/tests/transition/two_n_keep.py +56 -0
- wirely-0.1.7/tests/unit/analysis.py +472 -0
- wirely-0.1.7/tests/unit/build_tools.py +227 -0
- wirely-0.1.7/tests/unit/bytecode_roundtrip.py +67 -0
- wirely-0.1.7/tests/unit/cbor_diagnostic.py +30 -0
- wirely-0.1.7/tests/unit/compiler_api.py +376 -0
- wirely-0.1.7/tests/unit/compiler_warnings.py +59 -0
- wirely-0.1.7/tests/unit/const_data.py +165 -0
- wirely-0.1.7/tests/unit/container.py +509 -0
- wirely-0.1.7/tests/unit/control.py +1654 -0
- wirely-0.1.7/tests/unit/control.wrl +37 -0
- wirely-0.1.7/tests/unit/csv.py +130 -0
- wirely-0.1.7/tests/unit/documentation.py +425 -0
- wirely-0.1.7/tests/unit/editing.py +683 -0
- wirely-0.1.7/tests/unit/editor.py +413 -0
- wirely-0.1.7/tests/unit/editor_cache.py +108 -0
- wirely-0.1.7/tests/unit/editor_export.py +56 -0
- wirely-0.1.7/tests/unit/editor_widgets.py +897 -0
- wirely-0.1.7/tests/unit/editor_workspace.py +379 -0
- wirely-0.1.7/tests/unit/engine_wakeup.py +103 -0
- wirely-0.1.7/tests/unit/format_records.py +210 -0
- wirely-0.1.7/tests/unit/inference.py +127 -0
- wirely-0.1.7/tests/unit/instructions.py +488 -0
- wirely-0.1.7/tests/unit/knx_loading.py +83 -0
- wirely-0.1.7/tests/unit/libraries.py +118 -0
- wirely-0.1.7/tests/unit/library_configuration.py +621 -0
- wirely-0.1.7/tests/unit/library_files.py +169 -0
- wirely-0.1.7/tests/unit/load_checks.py +340 -0
- wirely-0.1.7/tests/unit/load_stage.py +457 -0
- wirely-0.1.7/tests/unit/monotonic_timestamp.py +86 -0
- wirely-0.1.7/tests/unit/mqtt_loading.py +116 -0
- wirely-0.1.7/tests/unit/native_contracts.py +454 -0
- wirely-0.1.7/tests/unit/native_extensions.py +266 -0
- wirely-0.1.7/tests/unit/native_interface.py +1560 -0
- wirely-0.1.7/tests/unit/native_objects.py +458 -0
- wirely-0.1.7/tests/unit/native_values.py +405 -0
- wirely-0.1.7/tests/unit/negative_cases.py +334 -0
- wirely-0.1.7/tests/unit/outline.py +238 -0
- wirely-0.1.7/tests/unit/parser_runtime.py +39 -0
- wirely-0.1.7/tests/unit/procedures.py +390 -0
- wirely-0.1.7/tests/unit/program_loader.py +730 -0
- wirely-0.1.7/tests/unit/program_verifier.py +760 -0
- wirely-0.1.7/tests/unit/program_writer.py +586 -0
- wirely-0.1.7/tests/unit/public_interface.py +172 -0
- wirely-0.1.7/tests/unit/recursion_depth.py +53 -0
- wirely-0.1.7/tests/unit/repeated_errors.py +86 -0
- wirely-0.1.7/tests/unit/resources.py +432 -0
- wirely-0.1.7/tests/unit/runtime_program.py +597 -0
- wirely-0.1.7/tests/unit/serialization.py +350 -0
- wirely-0.1.7/tests/unit/state_connections.py +424 -0
- wirely-0.1.7/tests/unit/static_sources.py +51 -0
- wirely-0.1.7/tests/unit/static_sources.wrl +113 -0
- wirely-0.1.7/tests/unit/test_resources.py +238 -0
- wirely-0.1.7/tests/unit/test_runner.py +176 -0
- wirely-0.1.7/tests/unit/transition_format.py +510 -0
- wirely-0.1.7/tests/unit/transition_generator.py +217 -0
- wirely-0.1.7/tests/unit/types.py +1002 -0
- wirely-0.1.7/tests/unit/wall_clock.py +642 -0
- wirely-0.1.7/tests/wrl/abb.py +38 -0
- wirely-0.1.7/tests/wrl/and.py +36 -0
- wirely-0.1.7/tests/wrl/arithmetic_nodes.py +209 -0
- wirely-0.1.7/tests/wrl/arrays.py +23 -0
- wirely-0.1.7/tests/wrl/arrays.wrl +43 -0
- wirely-0.1.7/tests/wrl/bitwise.py +54 -0
- wirely-0.1.7/tests/wrl/bitwise.wrl +140 -0
- wirely-0.1.7/tests/wrl/changed.py +46 -0
- wirely-0.1.7/tests/wrl/changed.wrl +52 -0
- wirely-0.1.7/tests/wrl/compare.py +125 -0
- wirely-0.1.7/tests/wrl/compare.wrl +191 -0
- wirely-0.1.7/tests/wrl/copied_states.py +28 -0
- wirely-0.1.7/tests/wrl/copied_states.wrl +54 -0
- wirely-0.1.7/tests/wrl/csv.py +470 -0
- wirely-0.1.7/tests/wrl/delay.py +65 -0
- wirely-0.1.7/tests/wrl/equality.py +88 -0
- wirely-0.1.7/tests/wrl/equality.wrl +86 -0
- wirely-0.1.7/tests/wrl/event_bindings.py +40 -0
- wirely-0.1.7/tests/wrl/event_bindings.wrl +81 -0
- wirely-0.1.7/tests/wrl/events.py +56 -0
- wirely-0.1.7/tests/wrl/events.wrl +170 -0
- wirely-0.1.7/tests/wrl/gpio.py +113 -0
- wirely-0.1.7/tests/wrl/impulse_relay.py +87 -0
- wirely-0.1.7/tests/wrl/impulse_relay.wrl +9 -0
- wirely-0.1.7/tests/wrl/knx.py +590 -0
- wirely-0.1.7/tests/wrl/knx.wrl +220 -0
- wirely-0.1.7/tests/wrl/knx_reconnect.py +101 -0
- wirely-0.1.7/tests/wrl/knx_time.py +82 -0
- wirely-0.1.7/tests/wrl/length.py +23 -0
- wirely-0.1.7/tests/wrl/length.wrl +68 -0
- wirely-0.1.7/tests/wrl/logic.py +51 -0
- wirely-0.1.7/tests/wrl/match.py +50 -0
- wirely-0.1.7/tests/wrl/mqtt.py +356 -0
- wirely-0.1.7/tests/wrl/mqtt_reconnect.py +227 -0
- wirely-0.1.7/tests/wrl/multi_arrays.py +47 -0
- wirely-0.1.7/tests/wrl/multi_arrays.wrl +135 -0
- wirely-0.1.7/tests/wrl/multi_forward.py +18 -0
- wirely-0.1.7/tests/wrl/multi_forward.wrl +34 -0
- wirely-0.1.7/tests/wrl/option.py +170 -0
- wirely-0.1.7/tests/wrl/option.wrl +195 -0
- wirely-0.1.7/tests/wrl/procedures.py +313 -0
- wirely-0.1.7/tests/wrl/procedures.wrl +636 -0
- wirely-0.1.7/tests/wrl/process.py +107 -0
- wirely-0.1.7/tests/wrl/pure_stages.py +9 -0
- wirely-0.1.7/tests/wrl/pure_stages.wrl +22 -0
- wirely-0.1.7/tests/wrl/root_procedures.py +8 -0
- wirely-0.1.7/tests/wrl/root_procedures.wrl +5 -0
- wirely-0.1.7/tests/wrl/std.py +150 -0
- wirely-0.1.7/tests/wrl/std.wrl +54 -0
- wirely-0.1.7/tests/wrl/time.py +543 -0
- wirely-0.1.7/tests/wrl/time.wrl +59 -0
- wirely-0.1.7/tests/wrl/two_n.py +390 -0
- wirely-0.1.7/tests/wrl/two_n_reconnect.py +208 -0
- wirely-0.1.7/tests/wrl/widening.py +72 -0
- wirely-0.1.7/tests/wrl/widening.wrl +203 -0
- wirely-0.1.7/wirely/__main__.py +135 -0
- wirely-0.1.7/wirely/cli/client.py +979 -0
- wirely-0.1.7/wirely/cli/compile.py +113 -0
- wirely-0.1.7/wirely/cli/doc.py +46 -0
- wirely-0.1.7/wirely/cli/interface.py +30 -0
- wirely-0.1.7/wirely/cli/objdump.py +435 -0
- wirely-0.1.7/wirely/cli/run.py +204 -0
- wirely-0.1.7/wirely/compiler/analysis.py +612 -0
- wirely-0.1.7/wirely/compiler/ast/base.py +236 -0
- wirely-0.1.7/wirely/compiler/ast/functions.py +106 -0
- wirely-0.1.7/wirely/compiler/ast/node_types.py +58 -0
- wirely-0.1.7/wirely/compiler/ast/nodes.py +1705 -0
- wirely-0.1.7/wirely/compiler/ast/parameter_declarations.py +275 -0
- wirely-0.1.7/wirely/compiler/ast/ports.py +215 -0
- wirely-0.1.7/wirely/compiler/ast/procedures.py +712 -0
- wirely-0.1.7/wirely/compiler/ast/scope.py +470 -0
- wirely-0.1.7/wirely/compiler/ast/specifiers.py +126 -0
- wirely-0.1.7/wirely/compiler/ast/type_declarations.py +308 -0
- wirely-0.1.7/wirely/compiler/ast/values.py +417 -0
- wirely-0.1.7/wirely/compiler/attributes.py +654 -0
- wirely-0.1.7/wirely/compiler/connection_constants.py +123 -0
- wirely-0.1.7/wirely/compiler/coordinator.py +341 -0
- wirely-0.1.7/wirely/compiler/diagnostics.py +186 -0
- wirely-0.1.7/wirely/compiler/documentation.py +636 -0
- wirely-0.1.7/wirely/compiler/editing.py +1341 -0
- wirely-0.1.7/wirely/compiler/expressions.py +5223 -0
- wirely-0.1.7/wirely/compiler/graph.py +454 -0
- wirely-0.1.7/wirely/compiler/inference.py +1276 -0
- wirely-0.1.7/wirely/compiler/instance.py +699 -0
- wirely-0.1.7/wirely/compiler/instructions.py +707 -0
- wirely-0.1.7/wirely/compiler/model.py +360 -0
- wirely-0.1.7/wirely/compiler/native_contracts.py +1117 -0
- wirely-0.1.7/wirely/compiler/native_functions.py +273 -0
- wirely-0.1.7/wirely/compiler/native_signatures.py +257 -0
- wirely-0.1.7/wirely/compiler/node_type.py +507 -0
- wirely-0.1.7/wirely/compiler/operators.py +575 -0
- wirely-0.1.7/wirely/compiler/outline.py +912 -0
- wirely-0.1.7/wirely/compiler/parameters.py +379 -0
- wirely-0.1.7/wirely/compiler/parser.py +316 -0
- wirely-0.1.7/wirely/compiler/patterns.py +801 -0
- wirely-0.1.7/wirely/compiler/prelude.py +37 -0
- wirely-0.1.7/wirely/compiler/program.py +697 -0
- wirely-0.1.7/wirely/compiler/public_interface.py +373 -0
- wirely-0.1.7/wirely/compiler/shuffle.py +142 -0
- wirely-0.1.7/wirely/compiler/sources.py +239 -0
- wirely-0.1.7/wirely/compiler/static_bindings.py +33 -0
- wirely-0.1.7/wirely/compiler/support.py +670 -0
- wirely-0.1.7/wirely/compiler/transition_renames.py +61 -0
- wirely-0.1.7/wirely/compiler/type_conversion.py +119 -0
- wirely-0.1.7/wirely/compiler/types.py +1237 -0
- wirely-0.1.7/wirely/compiler/value.py +690 -0
- wirely-0.1.7/wirely/compiler/wirely.lark +443 -0
- wirely-0.1.7/wirely/control/client.py +455 -0
- wirely-0.1.7/wirely/control/controller.py +513 -0
- wirely-0.1.7/wirely/control/host.py +581 -0
- wirely-0.1.7/wirely/control/log.py +305 -0
- wirely-0.1.7/wirely/control/messages.py +449 -0
- wirely-0.1.7/wirely/control/node_commands.py +147 -0
- wirely-0.1.7/wirely/control/saved_state.py +156 -0
- wirely-0.1.7/wirely/control/server.py +496 -0
- wirely-0.1.7/wirely/control/store.py +112 -0
- wirely-0.1.7/wirely/editor/app.py +685 -0
- wirely-0.1.7/wirely/editor/export.py +83 -0
- wirely-0.1.7/wirely/editor/graph_model.py +475 -0
- wirely-0.1.7/wirely/editor/graph_view.py +1119 -0
- wirely-0.1.7/wirely/editor/palette.py +153 -0
- wirely-0.1.7/wirely/editor/program.py +283 -0
- wirely-0.1.7/wirely/editor/properties.py +184 -0
- wirely-0.1.7/wirely/lib/actuator.wrl +94 -0
- wirely-0.1.7/wirely/lib/csv.wrl +69 -0
- wirely-0.1.7/wirely/lib/gpio.wrl +82 -0
- wirely-0.1.7/wirely/lib/knx.wrl +338 -0
- wirely-0.1.7/wirely/lib/mqtt.wrl +302 -0
- wirely-0.1.7/wirely/lib/path.wrl +31 -0
- wirely-0.1.7/wirely/lib/process.wrl +33 -0
- wirely-0.1.7/wirely/lib/schedule.wrl +171 -0
- wirely-0.1.7/wirely/lib/std.wrl +2015 -0
- wirely-0.1.7/wirely/lib/timer.wrl +301 -0
- wirely-0.1.7/wirely/lib/two_n.wrl +303 -0
- wirely-0.1.7/wirely/misc/state_directory.py +101 -0
- wirely-0.1.7/wirely/native/csv.py +271 -0
- wirely-0.1.7/wirely/native/gpio.py +179 -0
- wirely-0.1.7/wirely/native/knx.py +864 -0
- wirely-0.1.7/wirely/native/mqtt.py +862 -0
- wirely-0.1.7/wirely/native/process.py +95 -0
- wirely-0.1.7/wirely/native/std.py +239 -0
- wirely-0.1.7/wirely/native/two_n.py +886 -0
- wirely-0.1.7/wirely/program/_binary.py +354 -0
- wirely-0.1.7/wirely/program/const_data.py +254 -0
- wirely-0.1.7/wirely/program/const_layout.py +69 -0
- wirely-0.1.7/wirely/program/container.py +123 -0
- wirely-0.1.7/wirely/program/format.wrl +649 -0
- wirely-0.1.7/wirely/program/limits.py +76 -0
- wirely-0.1.7/wirely/program/loader.py +473 -0
- wirely-0.1.7/wirely/program/names.py +43 -0
- wirely-0.1.7/wirely/program/program.py +497 -0
- wirely-0.1.7/wirely/program/records.py +114 -0
- wirely-0.1.7/wirely/program/transition.py +254 -0
- wirely-0.1.7/wirely/program/transition_generator.py +512 -0
- wirely-0.1.7/wirely/program/types.py +1364 -0
- wirely-0.1.7/wirely/program/validation.py +372 -0
- wirely-0.1.7/wirely/program/verifier.py +1197 -0
- wirely-0.1.7/wirely/program/writer.py +573 -0
- wirely-0.1.7/wirely/runtime/engine.py +565 -0
- wirely-0.1.7/wirely/runtime/extensions.py +147 -0
- wirely-0.1.7/wirely/runtime/linking.py +245 -0
- wirely-0.1.7/wirely/runtime/loading.py +297 -0
- wirely-0.1.7/wirely/runtime/native_api.py +624 -0
- wirely-0.1.7/wirely/runtime/procedures.py +282 -0
- wirely-0.1.7/wirely/runtime/resources.py +87 -0
- wirely-0.1.7/wirely/runtime/signatures.py +250 -0
- wirely-0.1.7/wirely/runtime/switching.py +210 -0
- wirely-0.1.7/wirely/runtime/text.py +179 -0
- wirely-0.1.7/wirely/runtime/transition.py +92 -0
- wirely-0.1.7/wirely/runtime/value_types.py +425 -0
- wirely-0.1.7/wirely/two_n/client.py +568 -0
- wirely-0.1.7/wirely.egg-info/PKG-INFO +241 -0
- wirely-0.1.7/wirely.egg-info/SOURCES.txt +564 -0
- wirely-0.1.6/CHANGELOG.md +0 -484
- wirely-0.1.6/PKG-INFO +0 -229
- wirely-0.1.6/README.md +0 -189
- wirely-0.1.6/doc/README.md +0 -21
- wirely-0.1.6/doc/bytecode-format.md +0 -1598
- wirely-0.1.6/doc/compiler-stages.md +0 -177
- wirely-0.1.6/doc/control-protocol.md +0 -741
- wirely-0.1.6/doc/diagram-layout.md +0 -163
- wirely-0.1.6/doc/language.md +0 -1456
- wirely-0.1.6/doc/libraries.md +0 -2428
- wirely-0.1.6/doc/native-python.md +0 -620
- wirely-0.1.6/doc/state-directory.md +0 -84
- wirely-0.1.6/doc/tests.md +0 -186
- wirely-0.1.6/doc/type-inference.md +0 -137
- wirely-0.1.6/doc/value-types.md +0 -400
- wirely-0.1.6/doc/wirely-style.md +0 -141
- wirely-0.1.6/examples/flipflop.wrl +0 -13
- wirely-0.1.6/examples/test.wrl +0 -79
- wirely-0.1.6/pyproject.toml +0 -76
- wirely-0.1.6/tests/compiler/arithmetic.wrl +0 -125
- wirely-0.1.6/tests/compiler/assertions.wrl +0 -100
- wirely-0.1.6/tests/compiler/attributes.wrl +0 -275
- wirely-0.1.6/tests/compiler/bindings.wrl +0 -53
- wirely-0.1.6/tests/compiler/bitwise.wrl +0 -214
- wirely-0.1.6/tests/compiler/blocks.wrl +0 -217
- wirely-0.1.6/tests/compiler/changed.wrl +0 -42
- wirely-0.1.6/tests/compiler/connection_order.wrl +0 -73
- wirely-0.1.6/tests/compiler/constant_expressions.wrl +0 -102
- wirely-0.1.6/tests/compiler/constants.wrl +0 -210
- wirely-0.1.6/tests/compiler/conversions.wrl +0 -71
- wirely-0.1.6/tests/compiler/equality.wrl +0 -59
- wirely-0.1.6/tests/compiler/events.wrl +0 -152
- wirely-0.1.6/tests/compiler/inference.wrl +0 -626
- wirely-0.1.6/tests/compiler/integer.wrl +0 -139
- wirely-0.1.6/tests/compiler/length.wrl +0 -121
- wirely-0.1.6/tests/compiler/library_settings.wrl +0 -120
- wirely-0.1.6/tests/compiler/load_checks.wrl +0 -60
- wirely-0.1.6/tests/compiler/load_stage.wrl +0 -65
- wirely-0.1.6/tests/compiler/match.wrl +0 -245
- wirely-0.1.6/tests/compiler/multi_procedures.wrl +0 -102
- wirely-0.1.6/tests/compiler/native_functions.wrl +0 -15
- wirely-0.1.6/tests/compiler/operators.wrl +0 -205
- wirely-0.1.6/tests/compiler/options.wrl +0 -82
- wirely-0.1.6/tests/compiler/parameters.wrl +0 -155
- wirely-0.1.6/tests/compiler/path.wrl +0 -21
- wirely-0.1.6/tests/compiler/runtime_limits.wrl +0 -169
- wirely-0.1.6/tests/compiler/static_sources.wrl +0 -57
- wirely-0.1.6/tests/compiler/structs.wrl +0 -45
- wirely-0.1.6/tests/compiler/syntax.wrl +0 -253
- wirely-0.1.6/tests/compiler/type_kinds.wrl +0 -76
- wirely-0.1.6/tests/compiler/type_stages.wrl +0 -28
- wirely-0.1.6/tests/compiler/types.wrl +0 -365
- wirely-0.1.6/tests/compiler/warnings.wrl +0 -212
- wirely-0.1.6/tests/compiler/warnings_allowed.wrl +0 -16
- wirely-0.1.6/tests/compiler/widening.wrl +0 -292
- wirely-0.1.6/tests/infra/bytecode.py +0 -208
- wirely-0.1.6/tests/infra/check_distribution.py +0 -108
- wirely-0.1.6/tests/infra/gpio.py +0 -72
- wirely-0.1.6/tests/infra/native_extension/compiler/function_implementations/test_library.py +0 -38
- wirely-0.1.6/tests/infra/native_extension/library.wrl +0 -47
- wirely-0.1.6/tests/infra/native_extension/native/test_library.py +0 -10
- wirely-0.1.6/tests/infra/runner/__main__.py +0 -111
- wirely-0.1.6/tests/infra/runner/execution.py +0 -247
- wirely-0.1.6/tests/infra/runner/registry.py +0 -256
- wirely-0.1.6/tests/infra/support.py +0 -243
- wirely-0.1.6/tests/misc/grammar.py +0 -10
- wirely-0.1.6/tests/misc/imports.py +0 -138
- wirely-0.1.6/tests/misc/type_check.py +0 -12
- wirely-0.1.6/tests/negative/arithmetic.wrl +0 -118
- wirely-0.1.6/tests/negative/assertions.wrl +0 -294
- wirely-0.1.6/tests/negative/attributes.wrl +0 -561
- wirely-0.1.6/tests/negative/bindings.wrl +0 -105
- wirely-0.1.6/tests/negative/bitwise.wrl +0 -176
- wirely-0.1.6/tests/negative/blocks.wrl +0 -331
- wirely-0.1.6/tests/negative/changed.wrl +0 -95
- wirely-0.1.6/tests/negative/connections.wrl +0 -666
- wirely-0.1.6/tests/negative/constant_expressions.wrl +0 -88
- wirely-0.1.6/tests/negative/constants.wrl +0 -284
- wirely-0.1.6/tests/negative/conversions.wrl +0 -102
- wirely-0.1.6/tests/negative/durations.wrl +0 -47
- wirely-0.1.6/tests/negative/enum_declarations.wrl +0 -248
- wirely-0.1.6/tests/negative/inference.wrl +0 -405
- wirely-0.1.6/tests/negative/integer.wrl +0 -117
- wirely-0.1.6/tests/negative/integer_literals.wrl +0 -215
- wirely-0.1.6/tests/negative/length.wrl +0 -155
- wirely-0.1.6/tests/negative/library_settings.wrl +0 -504
- wirely-0.1.6/tests/negative/list_literals.wrl +0 -14
- wirely-0.1.6/tests/negative/load_stage.wrl +0 -119
- wirely-0.1.6/tests/negative/match.wrl +0 -436
- wirely-0.1.6/tests/negative/multi_procedures.wrl +0 -183
- wirely-0.1.6/tests/negative/names.wrl +0 -29
- wirely-0.1.6/tests/negative/native_functions.wrl +0 -122
- wirely-0.1.6/tests/negative/native_initializers.wrl +0 -143
- wirely-0.1.6/tests/negative/native_procedures.wrl +0 -50
- wirely-0.1.6/tests/negative/native_values.wrl +0 -86
- wirely-0.1.6/tests/negative/node_declarations.wrl +0 -198
- wirely-0.1.6/tests/negative/node_types.wrl +0 -50
- wirely-0.1.6/tests/negative/operators.wrl +0 -275
- wirely-0.1.6/tests/negative/option_literals.wrl +0 -40
- wirely-0.1.6/tests/negative/option_properties.wrl +0 -126
- wirely-0.1.6/tests/negative/optional_forwarding.wrl +0 -90
- wirely-0.1.6/tests/negative/optional_outputs.wrl +0 -69
- wirely-0.1.6/tests/negative/options.wrl +0 -118
- wirely-0.1.6/tests/negative/parameters.wrl +0 -51
- wirely-0.1.6/tests/negative/prepared_configuration.wrl +0 -161
- wirely-0.1.6/tests/negative/procedure_ports.wrl +0 -573
- wirely-0.1.6/tests/negative/procedures.wrl +0 -402
- wirely-0.1.6/tests/negative/resource_connections.wrl +0 -156
- wirely-0.1.6/tests/negative/resource_declarations.wrl +0 -222
- wirely-0.1.6/tests/negative/runtime_limits.wrl +0 -431
- wirely-0.1.6/tests/negative/runtime_types.wrl +0 -69
- wirely-0.1.6/tests/negative/state_connections.wrl +0 -263
- wirely-0.1.6/tests/negative/string_literals.wrl +0 -131
- wirely-0.1.6/tests/negative/structs.wrl +0 -378
- wirely-0.1.6/tests/negative/syntax_lists.wrl +0 -59
- wirely-0.1.6/tests/negative/type_comparisons.wrl +0 -153
- wirely-0.1.6/tests/negative/type_kinds.wrl +0 -114
- wirely-0.1.6/tests/negative/unit_literals.wrl +0 -21
- wirely-0.1.6/tests/negative/weak_keywords.wrl +0 -51
- wirely-0.1.6/tests/repo/bytecode_format.py +0 -17
- wirely-0.1.6/tests/repo/doctests.py +0 -49
- wirely-0.1.6/tests/repo/files.py +0 -29
- wirely-0.1.6/tests/repo/generation.py +0 -14
- wirely-0.1.6/tests/repo/library_reference.py +0 -16
- wirely-0.1.6/tests/repo/output_dependencies.py +0 -19
- wirely-0.1.6/tests/unit/analysis.py +0 -406
- wirely-0.1.6/tests/unit/build_tools.py +0 -226
- wirely-0.1.6/tests/unit/bytecode_roundtrip.py +0 -66
- wirely-0.1.6/tests/unit/cbor_diagnostic.py +0 -30
- wirely-0.1.6/tests/unit/compiler_api.py +0 -361
- wirely-0.1.6/tests/unit/compiler_warnings.py +0 -92
- wirely-0.1.6/tests/unit/const_data.py +0 -152
- wirely-0.1.6/tests/unit/container.py +0 -112
- wirely-0.1.6/tests/unit/control.py +0 -1225
- wirely-0.1.6/tests/unit/control.wrl +0 -37
- wirely-0.1.6/tests/unit/csv.py +0 -129
- wirely-0.1.6/tests/unit/documentation.py +0 -416
- wirely-0.1.6/tests/unit/editing.py +0 -673
- wirely-0.1.6/tests/unit/editor.py +0 -319
- wirely-0.1.6/tests/unit/editor_cache.py +0 -108
- wirely-0.1.6/tests/unit/editor_export.py +0 -56
- wirely-0.1.6/tests/unit/editor_widgets.py +0 -812
- wirely-0.1.6/tests/unit/editor_workspace.py +0 -375
- wirely-0.1.6/tests/unit/engine_wakeup.py +0 -101
- wirely-0.1.6/tests/unit/format_records.py +0 -208
- wirely-0.1.6/tests/unit/inference.py +0 -113
- wirely-0.1.6/tests/unit/instructions.py +0 -482
- wirely-0.1.6/tests/unit/knx_loading.py +0 -47
- wirely-0.1.6/tests/unit/libraries.py +0 -112
- wirely-0.1.6/tests/unit/library_configuration.py +0 -614
- wirely-0.1.6/tests/unit/library_files.py +0 -162
- wirely-0.1.6/tests/unit/load_checks.py +0 -337
- wirely-0.1.6/tests/unit/load_stage.py +0 -337
- wirely-0.1.6/tests/unit/monotonic_timestamp.py +0 -85
- wirely-0.1.6/tests/unit/mqtt_loading.py +0 -77
- wirely-0.1.6/tests/unit/native_contracts.py +0 -298
- wirely-0.1.6/tests/unit/native_extensions.py +0 -288
- wirely-0.1.6/tests/unit/native_interface.py +0 -1488
- wirely-0.1.6/tests/unit/native_values.py +0 -322
- wirely-0.1.6/tests/unit/negative_cases.py +0 -329
- wirely-0.1.6/tests/unit/outline.py +0 -175
- wirely-0.1.6/tests/unit/parser_runtime.py +0 -39
- wirely-0.1.6/tests/unit/procedures.py +0 -821
- wirely-0.1.6/tests/unit/procedures.wrl +0 -556
- wirely-0.1.6/tests/unit/program_loader.py +0 -699
- wirely-0.1.6/tests/unit/program_verifier.py +0 -563
- wirely-0.1.6/tests/unit/program_writer.py +0 -528
- wirely-0.1.6/tests/unit/public_interface.py +0 -162
- wirely-0.1.6/tests/unit/recursion_depth.py +0 -53
- wirely-0.1.6/tests/unit/repeated_errors.py +0 -86
- wirely-0.1.6/tests/unit/resources.py +0 -421
- wirely-0.1.6/tests/unit/runtime_program.py +0 -554
- wirely-0.1.6/tests/unit/serialization.py +0 -315
- wirely-0.1.6/tests/unit/state_connections.py +0 -506
- wirely-0.1.6/tests/unit/static_sources.py +0 -41
- wirely-0.1.6/tests/unit/static_sources.wrl +0 -73
- wirely-0.1.6/tests/unit/test_resources.py +0 -236
- wirely-0.1.6/tests/unit/test_runner.py +0 -176
- wirely-0.1.6/tests/unit/types.py +0 -917
- wirely-0.1.6/tests/unit/wall_clock.py +0 -643
- wirely-0.1.6/tests/wrl/abb.py +0 -36
- wirely-0.1.6/tests/wrl/and.py +0 -32
- wirely-0.1.6/tests/wrl/arithmetic_nodes.py +0 -205
- wirely-0.1.6/tests/wrl/bitwise.py +0 -52
- wirely-0.1.6/tests/wrl/bitwise.wrl +0 -140
- wirely-0.1.6/tests/wrl/changed.py +0 -45
- wirely-0.1.6/tests/wrl/changed.wrl +0 -52
- wirely-0.1.6/tests/wrl/compare.py +0 -122
- wirely-0.1.6/tests/wrl/compare.wrl +0 -191
- wirely-0.1.6/tests/wrl/csv.py +0 -462
- wirely-0.1.6/tests/wrl/delay.py +0 -61
- wirely-0.1.6/tests/wrl/equality.py +0 -82
- wirely-0.1.6/tests/wrl/equality.wrl +0 -86
- wirely-0.1.6/tests/wrl/event_bindings.py +0 -39
- wirely-0.1.6/tests/wrl/event_bindings.wrl +0 -81
- wirely-0.1.6/tests/wrl/events.py +0 -41
- wirely-0.1.6/tests/wrl/events.wrl +0 -116
- wirely-0.1.6/tests/wrl/flipflop.py +0 -84
- wirely-0.1.6/tests/wrl/flipflop.wrl +0 -9
- wirely-0.1.6/tests/wrl/gpio.py +0 -99
- wirely-0.1.6/tests/wrl/knx.py +0 -591
- wirely-0.1.6/tests/wrl/knx.wrl +0 -220
- wirely-0.1.6/tests/wrl/knx_reconnect.py +0 -102
- wirely-0.1.6/tests/wrl/knx_time.py +0 -79
- wirely-0.1.6/tests/wrl/length.py +0 -19
- wirely-0.1.6/tests/wrl/length.wrl +0 -50
- wirely-0.1.6/tests/wrl/logic.py +0 -48
- wirely-0.1.6/tests/wrl/match.py +0 -43
- wirely-0.1.6/tests/wrl/mqtt.py +0 -363
- wirely-0.1.6/tests/wrl/mqtt_reconnect.py +0 -202
- wirely-0.1.6/tests/wrl/multi_forward.py +0 -15
- wirely-0.1.6/tests/wrl/multi_forward.wrl +0 -34
- wirely-0.1.6/tests/wrl/option.py +0 -139
- wirely-0.1.6/tests/wrl/option.wrl +0 -77
- wirely-0.1.6/tests/wrl/process.py +0 -87
- wirely-0.1.6/tests/wrl/std.py +0 -79
- wirely-0.1.6/tests/wrl/std.wrl +0 -29
- wirely-0.1.6/tests/wrl/time.py +0 -442
- wirely-0.1.6/tests/wrl/time.wrl +0 -35
- wirely-0.1.6/tests/wrl/two_n.py +0 -392
- wirely-0.1.6/tests/wrl/two_n_reconnect.py +0 -209
- wirely-0.1.6/tests/wrl/widening.py +0 -69
- wirely-0.1.6/tests/wrl/widening.wrl +0 -203
- wirely-0.1.6/wirely/__main__.py +0 -114
- wirely-0.1.6/wirely/cli/client.py +0 -701
- wirely-0.1.6/wirely/cli/compile.py +0 -73
- wirely-0.1.6/wirely/cli/doc.py +0 -38
- wirely-0.1.6/wirely/cli/interface.py +0 -26
- wirely-0.1.6/wirely/cli/objdump.py +0 -55
- wirely-0.1.6/wirely/cli/run.py +0 -204
- wirely-0.1.6/wirely/compiler/analysis.py +0 -525
- wirely-0.1.6/wirely/compiler/ast/base.py +0 -213
- wirely-0.1.6/wirely/compiler/ast/functions.py +0 -104
- wirely-0.1.6/wirely/compiler/ast/node_types.py +0 -63
- wirely-0.1.6/wirely/compiler/ast/nodes.py +0 -986
- wirely-0.1.6/wirely/compiler/ast/parameter_declarations.py +0 -198
- wirely-0.1.6/wirely/compiler/ast/ports.py +0 -153
- wirely-0.1.6/wirely/compiler/ast/procedures.py +0 -716
- wirely-0.1.6/wirely/compiler/ast/scope.py +0 -396
- wirely-0.1.6/wirely/compiler/ast/specifiers.py +0 -107
- wirely-0.1.6/wirely/compiler/ast/type_declarations.py +0 -283
- wirely-0.1.6/wirely/compiler/ast/values.py +0 -432
- wirely-0.1.6/wirely/compiler/attributes.py +0 -507
- wirely-0.1.6/wirely/compiler/connection_constants.py +0 -122
- wirely-0.1.6/wirely/compiler/coordinator.py +0 -305
- wirely-0.1.6/wirely/compiler/diagnostics.py +0 -186
- wirely-0.1.6/wirely/compiler/documentation.py +0 -628
- wirely-0.1.6/wirely/compiler/editing.py +0 -1332
- wirely-0.1.6/wirely/compiler/expressions.py +0 -3596
- wirely-0.1.6/wirely/compiler/graph.py +0 -417
- wirely-0.1.6/wirely/compiler/inference.py +0 -1058
- wirely-0.1.6/wirely/compiler/instance.py +0 -647
- wirely-0.1.6/wirely/compiler/instructions.py +0 -577
- wirely-0.1.6/wirely/compiler/model.py +0 -330
- wirely-0.1.6/wirely/compiler/native_contracts.py +0 -1154
- wirely-0.1.6/wirely/compiler/native_functions.py +0 -257
- wirely-0.1.6/wirely/compiler/native_signatures.py +0 -177
- wirely-0.1.6/wirely/compiler/node_type.py +0 -429
- wirely-0.1.6/wirely/compiler/operators.py +0 -416
- wirely-0.1.6/wirely/compiler/outline.py +0 -867
- wirely-0.1.6/wirely/compiler/parameters.py +0 -301
- wirely-0.1.6/wirely/compiler/parser.py +0 -312
- wirely-0.1.6/wirely/compiler/patterns.py +0 -772
- wirely-0.1.6/wirely/compiler/prelude.py +0 -36
- wirely-0.1.6/wirely/compiler/program.py +0 -556
- wirely-0.1.6/wirely/compiler/public_interface.py +0 -364
- wirely-0.1.6/wirely/compiler/shuffle.py +0 -131
- wirely-0.1.6/wirely/compiler/sources.py +0 -239
- wirely-0.1.6/wirely/compiler/static_bindings.py +0 -32
- wirely-0.1.6/wirely/compiler/support.py +0 -497
- wirely-0.1.6/wirely/compiler/type_conversion.py +0 -105
- wirely-0.1.6/wirely/compiler/types.py +0 -803
- wirely-0.1.6/wirely/compiler/value.py +0 -389
- wirely-0.1.6/wirely/compiler/wirely.lark +0 -404
- wirely-0.1.6/wirely/control/client.py +0 -260
- wirely-0.1.6/wirely/control/controller.py +0 -445
- wirely-0.1.6/wirely/control/host.py +0 -323
- wirely-0.1.6/wirely/control/log.py +0 -300
- wirely-0.1.6/wirely/control/messages.py +0 -185
- wirely-0.1.6/wirely/control/node_commands.py +0 -148
- wirely-0.1.6/wirely/control/saved_state.py +0 -156
- wirely-0.1.6/wirely/control/server.py +0 -480
- wirely-0.1.6/wirely/editor/app.py +0 -666
- wirely-0.1.6/wirely/editor/export.py +0 -82
- wirely-0.1.6/wirely/editor/graph_model.py +0 -422
- wirely-0.1.6/wirely/editor/graph_view.py +0 -1072
- wirely-0.1.6/wirely/editor/palette.py +0 -151
- wirely-0.1.6/wirely/editor/program.py +0 -264
- wirely-0.1.6/wirely/editor/properties.py +0 -175
- wirely-0.1.6/wirely/lib/csv.wrl +0 -66
- wirely-0.1.6/wirely/lib/gpio.wrl +0 -75
- wirely-0.1.6/wirely/lib/knx.wrl +0 -316
- wirely-0.1.6/wirely/lib/memory.wrl +0 -96
- wirely-0.1.6/wirely/lib/mqtt.wrl +0 -281
- wirely-0.1.6/wirely/lib/path.wrl +0 -31
- wirely-0.1.6/wirely/lib/process.wrl +0 -30
- wirely-0.1.6/wirely/lib/schedule.wrl +0 -172
- wirely-0.1.6/wirely/lib/std.wrl +0 -1791
- wirely-0.1.6/wirely/lib/timer.wrl +0 -180
- wirely-0.1.6/wirely/lib/two_n.wrl +0 -298
- wirely-0.1.6/wirely/misc/state_directory.py +0 -99
- wirely-0.1.6/wirely/native/csv.py +0 -249
- wirely-0.1.6/wirely/native/gpio.py +0 -130
- wirely-0.1.6/wirely/native/knx.py +0 -668
- wirely-0.1.6/wirely/native/mqtt.py +0 -625
- wirely-0.1.6/wirely/native/process.py +0 -74
- wirely-0.1.6/wirely/native/std.py +0 -197
- wirely-0.1.6/wirely/native/two_n.py +0 -677
- wirely-0.1.6/wirely/program/_binary.py +0 -261
- wirely-0.1.6/wirely/program/const_data.py +0 -258
- wirely-0.1.6/wirely/program/container.py +0 -121
- wirely-0.1.6/wirely/program/format.wrl +0 -524
- wirely-0.1.6/wirely/program/limits.py +0 -52
- wirely-0.1.6/wirely/program/loader.py +0 -366
- wirely-0.1.6/wirely/program/names.py +0 -25
- wirely-0.1.6/wirely/program/program.py +0 -464
- wirely-0.1.6/wirely/program/records.py +0 -114
- wirely-0.1.6/wirely/program/types.py +0 -1147
- wirely-0.1.6/wirely/program/validation.py +0 -324
- wirely-0.1.6/wirely/program/verifier.py +0 -828
- wirely-0.1.6/wirely/program/writer.py +0 -447
- wirely-0.1.6/wirely/runtime/engine.py +0 -488
- wirely-0.1.6/wirely/runtime/extensions.py +0 -154
- wirely-0.1.6/wirely/runtime/linking.py +0 -243
- wirely-0.1.6/wirely/runtime/loading.py +0 -211
- wirely-0.1.6/wirely/runtime/native_api.py +0 -503
- wirely-0.1.6/wirely/runtime/procedures.py +0 -281
- wirely-0.1.6/wirely/runtime/resources.py +0 -62
- wirely-0.1.6/wirely/runtime/signatures.py +0 -197
- wirely-0.1.6/wirely/runtime/text.py +0 -148
- wirely-0.1.6/wirely/runtime/value_types.py +0 -402
- wirely-0.1.6/wirely/two_n/client.py +0 -562
- wirely-0.1.6/wirely.egg-info/PKG-INFO +0 -229
- wirely-0.1.6/wirely.egg-info/SOURCES.txt +0 -499
- {wirely-0.1.6 → wirely-0.1.7}/LICENSE +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/LICENSE-MPL-2.0 +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/MANIFEST.in +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/NOTICE +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/doc/python-style.md +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/examples/delay.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/examples/gpio.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/examples/knx.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/setup.cfg +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/durations.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/knx.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/literals.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/namespaces.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/ordering.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/parser_runtime.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/port_dependencies.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/port_stages.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/prepared_configuration.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/simple.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/compiler/time_of_day.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/compiler/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/compiler/function_implementations/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/functions/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/functions/test_library.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/native_extension/native/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/parser_runtime.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/diagnostics.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/logs.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/parallel.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/progress.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/infra/runner/services.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/enum_literals.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/float_literals.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/load_checks.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/monotonic_time.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/parser_runtime.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/path.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/port_dependencies.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/port_stages.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/resource_value_types.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/negative/time_of_day.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/unit/engine_wakeup.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/unit/native_values.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/abb.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/and.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/arithmetic_nodes.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/csv.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/delay.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/gpio.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/knx_reconnect.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/knx_time.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/logic.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/match.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/mqtt.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/mqtt_reconnect.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/process.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/two_n.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/two_n_reconnect.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tests/wrl/username_password.txt +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/build-pex +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/build_backend.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generate +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generate-library-key +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generate-native-types +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generate-parser +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generate-standard-library +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/generation.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/git_write_wd_tree.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/launch.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/library_key_generator.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/native_types_generator.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/parser_generator.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/run-tests +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/run-tests-dependencies +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/setup-dev +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/setup-venv +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/standard_library_generator.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/test-gitlab-ci +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/tools/wirely +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/edit.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/cli/export_image.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/library.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/ast/operators.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/compilation.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/extensions.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/csv.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/knx.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/mqtt.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/path.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/schedule_time_of_day.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/std.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/std_duration.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/test.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/function_implementations/two_n.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/library_files.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/lookup.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/parser_config.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/parser_runtime.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/seal.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/compiler/stages.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/control/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/control/diagnostic.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/control/framing.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/grid.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/layout.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/qt_application.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/sync.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/text_view.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/editor/workspace.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/schedule_time_of_day.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/std_duration.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/functions/timer_monotonic_time.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/address.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/connection_adapter.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/connection_config.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/settings.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/knx/value_types.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/abb_jra.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/matter.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/lib/test.wrl +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/repeated_errors.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/misc/service.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/mqtt/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/mqtt/settings.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/native/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/native/schedule.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/native/support.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/native/timer.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/program/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/program/encoding.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/program/procedures.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/contexts.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/logs.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/time_snapshot.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/runtime/wall_clock.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/cert.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/fake_server.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/grab_images.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/two_n/settings.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/__init__.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/integer_text.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/integers.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/open_enum.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/option.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/time.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/types/unit.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely/util.py +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/dependency_links.txt +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/entry_points.txt +0 -0
- {wirely-0.1.6 → wirely-0.1.7}/wirely.egg-info/requires.txt +0 -0
- {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.
|