robolang 0.2.0__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.
- robolang-0.2.0/CHANGELOG.md +40 -0
- robolang-0.2.0/LICENSE +201 -0
- robolang-0.2.0/MANIFEST.in +10 -0
- robolang-0.2.0/PKG-INFO +254 -0
- robolang-0.2.0/README.md +225 -0
- robolang-0.2.0/examples/handover.rob +30 -0
- robolang-0.2.0/examples/inspect_object.rob +23 -0
- robolang-0.2.0/examples/pick_and_place.rob +19 -0
- robolang-0.2.0/examples/pick_and_place_v13.rob +26 -0
- robolang-0.2.0/examples/plans/park_robot.rob +17 -0
- robolang-0.2.0/examples/plans/relocate_box.rob +24 -0
- robolang-0.2.0/examples/world.json +35 -0
- robolang-0.2.0/legacy/robolang_adapter.py +84 -0
- robolang-0.2.0/legacy/robolang_adapter_ros2.py +243 -0
- robolang-0.2.0/legacy/robolang_ros2_main.py +42 -0
- robolang-0.2.0/legacy/robolang_runtime.py +128 -0
- robolang-0.2.0/legacy/robolang_std_v1.rob +19 -0
- robolang-0.2.0/pyproject.toml +75 -0
- robolang-0.2.0/pytest.ini +3 -0
- robolang-0.2.0/requirements-dev.txt +5 -0
- robolang-0.2.0/requirements.txt +0 -0
- robolang-0.2.0/setup.cfg +4 -0
- robolang-0.2.0/setup.py +11 -0
- robolang-0.2.0/spec/architecture/ai-first-language-charter.md +127 -0
- robolang-0.2.0/spec/architecture/rfc-001-ai-native-architecture.md +1104 -0
- robolang-0.2.0/spec/architecture/rl-foundation-01-language-foundation.md +364 -0
- robolang-0.2.0/spec/architecture/rl-foundation-02-domain-contracts.md +388 -0
- robolang-0.2.0/spec/core/capability-descriptor-0.1.schema.json +254 -0
- robolang-0.2.0/spec/core/message-0.1.schema.json +1775 -0
- robolang-0.2.0/spec/core-v0.1.md +522 -0
- robolang-0.2.0/spec/core-v0.2-draft.md +202 -0
- robolang-0.2.0/spec/decisions/0001-rl-11a-language-decisions.md +82 -0
- robolang-0.2.0/spec/decisions/0002-ai-native-architecture.md +85 -0
- robolang-0.2.0/spec/decisions/0003-language-foundation.md +64 -0
- robolang-0.2.0/spec/decisions/0004-rl-basic-01a-simulation-semantics.md +59 -0
- robolang-0.2.0/spec/decisions/0005-ai-first-charter-and-domain-contracts.md +51 -0
- robolang-0.2.0/spec/decisions/0006-lang-1-combined-conditions.md +55 -0
- robolang-0.2.0/spec/decisions/0007-rl-arch-02-core-and-reference-simulation.md +63 -0
- robolang-0.2.0/spec/decisions/0008-core-sequencing-per-recipient.md +68 -0
- robolang-0.2.0/spec/decisions/0009-gate-2-independent-interoperability.md +48 -0
- robolang-0.2.0/spec/decisions/0010-binding-errata-lease-expired-commitment-state.md +45 -0
- robolang-0.2.0/spec/decisions/0011-interop-2a-bundle-errata.md +300 -0
- robolang-0.2.0/spec/decisions/0012-interop-2c-remaining-normative-decisions.md +109 -0
- robolang-0.2.0/spec/decisions/0013-h3-receiver-scoped-verification-keys.md +62 -0
- robolang-0.2.0/spec/decisions/0014-lang-2-goals-and-typed-sensors.md +40 -0
- robolang-0.2.0/spec/decisions/0015-report-all-diagnostics.md +49 -0
- robolang-0.2.0/spec/decisions/0016-cli-bindings.md +32 -0
- robolang-0.2.0/spec/decisions/0017-reprioritise-goals-before-interop-3.md +26 -0
- robolang-0.2.0/spec/decisions/0018-core-shaped-outcomes.md +25 -0
- robolang-0.2.0/spec/decisions/0019-export-goal.md +41 -0
- robolang-0.2.0/spec/decisions/0020-delegate.md +43 -0
- robolang-0.2.0/spec/decisions/0021-core-1-ir-reader.md +32 -0
- robolang-0.2.0/spec/decisions/0022-delegate-custody-and-leases.md +40 -0
- robolang-0.2.0/spec/decisions/0023-keep-interop-3-deferred.md +36 -0
- robolang-0.2.0/spec/decisions/0024-authoring-benchmark.md +91 -0
- robolang-0.2.0/spec/decisions/0025-bench-2.md +123 -0
- robolang-0.2.0/spec/decisions/0026-validate-world.md +31 -0
- robolang-0.2.0/spec/decisions/0027-bounded-branching.md +85 -0
- robolang-0.2.0/spec/decisions/0028-core-0-2-scope.md +109 -0
- robolang-0.2.0/spec/delegate-v0.1.md +157 -0
- robolang-0.2.0/spec/delegate-v0.2.md +138 -0
- robolang-0.2.0/spec/export-goal-v0.1.md +98 -0
- robolang-0.2.0/spec/grammar-v1.2.ebnf +86 -0
- robolang-0.2.0/spec/grammar-v1.3.ebnf +93 -0
- robolang-0.2.0/spec/grammar-v1.4.ebnf +26 -0
- robolang-0.2.0/spec/grammar.ebnf +71 -0
- robolang-0.2.0/spec/interop-gate-2-v0.1.md +398 -0
- robolang-0.2.0/spec/ir-reader-v0.1.md +126 -0
- robolang-0.2.0/spec/ir-schema-v1.0.md +188 -0
- robolang-0.2.0/spec/ir-schema-v1.1.md +84 -0
- robolang-0.2.0/spec/ir-schema-v1.2.md +81 -0
- robolang-0.2.0/spec/ir-schema-v1.3.md +45 -0
- robolang-0.2.0/spec/reference-simulation-v0.1.md +624 -0
- robolang-0.2.0/spec/robolang-v1.1.md +579 -0
- robolang-0.2.0/spec/robolang-v1.2.md +344 -0
- robolang-0.2.0/spec/robolang-v1.3.md +300 -0
- robolang-0.2.0/spec/robolang-v1.4.md +79 -0
- robolang-0.2.0/spec/simulation-v1.0.md +839 -0
- robolang-0.2.0/src/robolang/__init__.py +38 -0
- robolang-0.2.0/src/robolang/__main__.py +22 -0
- robolang-0.2.0/src/robolang/arch02/__init__.py +41 -0
- robolang-0.2.0/src/robolang/arch02/engine.py +537 -0
- robolang-0.2.0/src/robolang/arch02/evidence.py +55 -0
- robolang-0.2.0/src/robolang/arch02/participants.py +709 -0
- robolang-0.2.0/src/robolang/arch02/record.py +112 -0
- robolang-0.2.0/src/robolang/arch02/scenario.py +102 -0
- robolang-0.2.0/src/robolang/arch02/world.py +68 -0
- robolang-0.2.0/src/robolang/bridge.py +161 -0
- robolang-0.2.0/src/robolang/cli.py +956 -0
- robolang-0.2.0/src/robolang/core/__init__.py +58 -0
- robolang-0.2.0/src/robolang/core/canonical.py +95 -0
- robolang-0.2.0/src/robolang/core/reader.py +61 -0
- robolang-0.2.0/src/robolang/core/receiver.py +261 -0
- robolang-0.2.0/src/robolang/core/schema.py +154 -0
- robolang-0.2.0/src/robolang/core/schemas/capability-descriptor-0.1.schema.json +254 -0
- robolang-0.2.0/src/robolang/core/schemas/message-0.1.schema.json +1775 -0
- robolang-0.2.0/src/robolang/core/signatures.py +48 -0
- robolang-0.2.0/src/robolang/delegate.py +575 -0
- robolang-0.2.0/src/robolang/delegate_peer.py +88 -0
- robolang-0.2.0/src/robolang/diagnostics.py +77 -0
- robolang-0.2.0/src/robolang/export_goal.py +159 -0
- robolang-0.2.0/src/robolang/ir.py +434 -0
- robolang-0.2.0/src/robolang/ir_reader.py +710 -0
- robolang-0.2.0/src/robolang/lexer.py +184 -0
- robolang-0.2.0/src/robolang/nodes.py +323 -0
- robolang-0.2.0/src/robolang/parser.py +682 -0
- robolang-0.2.0/src/robolang/paths.py +40 -0
- robolang-0.2.0/src/robolang/reference/language-reference.md +223 -0
- robolang-0.2.0/src/robolang/sim/__init__.py +89 -0
- robolang-0.2.0/src/robolang/sim/check.py +85 -0
- robolang-0.2.0/src/robolang/sim/executor.py +500 -0
- robolang-0.2.0/src/robolang/sim/outcome.py +110 -0
- robolang-0.2.0/src/robolang/sim/record.py +202 -0
- robolang-0.2.0/src/robolang/sim/values.py +81 -0
- robolang-0.2.0/src/robolang/sim/world.py +569 -0
- robolang-0.2.0/src/robolang/tokens.py +73 -0
- robolang-0.2.0/src/robolang/validator.py +355 -0
- robolang-0.2.0/src/robolang.egg-info/PKG-INFO +254 -0
- robolang-0.2.0/src/robolang.egg-info/SOURCES.txt +570 -0
- robolang-0.2.0/src/robolang.egg-info/dependency_links.txt +1 -0
- robolang-0.2.0/src/robolang.egg-info/entry_points.txt +2 -0
- robolang-0.2.0/src/robolang.egg-info/requires.txt +6 -0
- robolang-0.2.0/src/robolang.egg-info/top_level.txt +1 -0
- robolang-0.2.0/tests/conftest.py +85 -0
- robolang-0.2.0/tests/core_precedence.py +157 -0
- robolang-0.2.0/tests/fixtures/README.md +43 -0
- robolang-0.2.0/tests/fixtures/arch02/README.md +26 -0
- robolang-0.2.0/tests/fixtures/arch02/cases.json +873 -0
- robolang-0.2.0/tests/fixtures/arch02/golden_records.json +107 -0
- robolang-0.2.0/tests/fixtures/arch02/scenario.json +491 -0
- robolang-0.2.0/tests/fixtures/arch02/sequencing_cases.json +442 -0
- robolang-0.2.0/tests/fixtures/core/README.md +63 -0
- robolang-0.2.0/tests/fixtures/core/cases.json +289 -0
- robolang-0.2.0/tests/fixtures/core/context.json +39 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c101_byte_order_mark.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c101_duplicate_key.json +29 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c101_non_integer_number.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c106.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c107.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c201.json +23 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c402.json +55 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c102_unsupported_version.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c103_before_c104.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c103_unknown_field.json +29 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c104_goal_without_criteria.json +53 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c104_missing_field.json +27 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c105_before_c201.json +23 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c105_unknown_type.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c106_before_c201.json +23 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c106_reserved_type.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c107_profile_mismatch.json +42 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c201_before_c107.json +23 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c201_before_c402.json +50 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c201_unsigned.json +23 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c202_message_before_c203_observation.json +47 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c202_wrong_signature.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c203_before_c202.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c203_key_not_the_senders.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c203_message_before_c204_observation.json +47 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c204_before_c203_before_c202.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c204_simulation_signature_in_physical_mode.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c301_before_c307.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c301_expired.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c302_before_c301.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c302_before_c303.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c302_lifetime_too_long.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c303_before_c307.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c303_sent_in_the_future.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c307_wrong_recipient.json +28 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c401_requester_authorizes_its_own_goal.json +30 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c402_succeeded_with_unmet_criterion.json +68 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c402_succeeded_without_verification.json +55 -0
- robolang-0.2.0/tests/fixtures/core/invalid/c404_physical_mode.json +30 -0
- robolang-0.2.0/tests/fixtures/core/valid/assessment.json +28 -0
- robolang-0.2.0/tests/fixtures/core/valid/authorization_decision.json +30 -0
- robolang-0.2.0/tests/fixtures/core/valid/commit.json +42 -0
- robolang-0.2.0/tests/fixtures/core/valid/custody_confirmed.json +47 -0
- robolang-0.2.0/tests/fixtures/core/valid/descriptor_amr_07.json +51 -0
- robolang-0.2.0/tests/fixtures/core/valid/descriptor_arm_02.json +42 -0
- robolang-0.2.0/tests/fixtures/core/valid/outcome_succeeded.json +68 -0
- robolang-0.2.0/tests/fixtures/core/valid/propose_goal.json +68 -0
- robolang-0.2.0/tests/fixtures/invalid/e101_block_comment.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e101_name_starts_with_underscore.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e101_negative_number.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e101_unexpected_character.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e102_escaped_closing_quote.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e102_unterminated_string.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e103_malformed_number.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e103_version_with_three_parts.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e104_unknown_escape.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_duplicate_version_marker.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_missing_keyword.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_nested_block.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_statement_outside_plan.rob +5 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_trailing_tokens.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e201_version_marker_after_task.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_annotation.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_condition.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_statement.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_version.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e203_prefix_is_not_a_statement.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e203_unknown_statement.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e204_unknown_condition.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e205_unknown_parameter_type.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e206_duration_without_unit.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e206_timeout_without_unit.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e206_unknown_duration_unit.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e206_unknown_speed_unit.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e207_unknown_safety_key.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e208_duplicate_plan.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e208_empty_plan.rob +8 -0
- robolang-0.2.0/tests/fixtures/invalid/e208_missing_plan.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e208_pre_after_plan.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e208_safety_after_pre.rob +13 -0
- robolang-0.2.0/tests/fixtures/invalid/e209_inspect_with_instead_of_using.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e209_inspect_without_sensor.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e209_wait_until_without_timeout.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e210_no_task.rob +5 -0
- robolang-0.2.0/tests/fixtures/invalid/e211_action_level_safety.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e211_message_received.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e211_move_modifiers.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e211_no_go_region.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e211_scalar_parameter.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e212_reserved_word_as_parameter.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e212_reserved_word_as_task_name.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e212_robolang_as_name.rob +7 -0
- robolang-0.2.0/tests/fixtures/invalid/e213_older_version.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e213_unsupported_version.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e301_duplicate_task.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e302_duplicate_parameter.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e303_undeclared_name.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e303_undeclared_name_in_pre.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e304_wrong_kind_in_condition.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e304_wrong_kind_swapped_arguments.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e305_zero_max_speed.rob +10 -0
- robolang-0.2.0/tests/fixtures/invalid/e305_zero_timeout.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_angular_limit.rob +12 -0
- robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_linear_limit.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_unitless_limit.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e307_empty_string.rob +9 -0
- robolang-0.2.0/tests/fixtures/invalid/e308_explicit_then_unitless.rob +11 -0
- robolang-0.2.0/tests/fixtures/invalid/e308_unitless_then_explicit.rob +11 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I101_not_utf8.json +1 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I102_not_json.json +1 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I103_duplicate_key.json +1 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I104_float.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I110_wrong_type.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I111_missing_field.json +65 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I112_unknown_field.json +92 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I113_unknown_schema_version.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I114_unknown_kind.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I115_and_in_schema_1_0.json +47 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I116_bad_decimal.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I117_bad_unit.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I118_bad_name.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I119_surrogate.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I120_no_steps.json +66 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I121_condition_too_deep.json +118 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I122_nested_and.json +109 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I123_if_too_deep.json +108 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I201_duplicate_task.json +175 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I202_duplicate_parameter.json +95 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I203_undeclared_name.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I204_wrong_type.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I205_zero_duration.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I206_duplicate_limit.json +98 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I207_empty_string.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I208_unitless_with_unit.json +98 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I209_missing_goal.json +84 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I210_string_sensor.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I212_min_confidence_above_one.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I213_empty_verify.json +85 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I214_fail_not_last.json +91 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/I215_fail_reason_too_long.json +53 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/expected.json +130 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/valid_1_0.json +38 -0
- robolang-0.2.0/tests/fixtures/ir_invalid/valid_1_2.json +91 -0
- robolang-0.2.0/tests/fixtures/simulation/README.md +56 -0
- robolang-0.2.0/tests/fixtures/simulation/cases.json +1214 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/inspect_box.rob +6 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/move_only.rob +6 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/move_with_limit.rob +8 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/place_elsewhere.rob +8 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/place_without_grasp.rob +7 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/two_tasks.rob +12 -0
- robolang-0.2.0/tests/fixtures/simulation/sources/wait_for_region.rob +8 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/base.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/binding_extra.json +109 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/binding_missing.json +107 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/binding_undeclared.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/binding_wrong_type.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/box_on_table.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/cancel_step_2.json +111 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/event_1s.json +118 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/event_2500ms.json +118 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/event_5s.json +118 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/event_at_deadline.json +118 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/fault_step_3.json +113 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/limit_low.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/limit_rad_only.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/no_gripper.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/not_ready.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/ready_unknown.json +107 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/region_blocked.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/region_unknown.json +106 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_on_arm2.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_unavailable.json +108 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_undeclared.json +102 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_unknown.json +107 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/unknown_field.json +109 -0
- robolang-0.2.0/tests/fixtures/simulation/worlds/unsupported_version.json +108 -0
- robolang-0.2.0/tests/fixtures/v1.2/README.md +42 -0
- robolang-0.2.0/tests/fixtures/v1.2/compat/operator_words_as_names.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/compat/operator_words_as_names_marked_1_1.rob +16 -0
- robolang-0.2.0/tests/fixtures/v1.2/compat/operators_in_v1_1_file.rob +12 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_empty_parentheses.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_not_without_operand.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_trailing_operator.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_unclosed_parenthesis.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e204_unknown_operand.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e211_message_received_operand.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e212_operator_word_as_name.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e213_version_1_5.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_and_then_or.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_mixed_inside_parentheses.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_or_then_and_in_wait.rob +12 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e215_nesting_too_deep.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e215_not_chain_in_conjunction.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e303_undeclared_name_in_operand.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/invalid/e304_wrong_kind_in_operand.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/cases.json +452 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_and.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_not.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_or.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/wait_combined.rob +9 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/wait_not.rob +9 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/and_false_unknown.json +72 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/base.json +74 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/both_blocked.json +76 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/box_present.json +75 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/box_unknown.json +72 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/cell_cleared_then_blocked.json +84 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/cell_unknown.json +72 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/right_blocked.json +74 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/sensor_unknown.json +73 -0
- robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/wait_events.json +93 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/and_in_pre.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/flatten_grouping.rob +16 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/multiline_condition.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/nesting_at_limit.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/nesting_limit_with_conjunction.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/not_in_pre.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/not_of_group.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/or_in_pre.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/parenthesized_mix.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.2/valid/wait_until_combined.rob +13 -0
- robolang-0.2.0/tests/fixtures/v1.3/README.md +42 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/goal_block_in_v1_2.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/holding_in_v1_1.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/names_of_v1_3_in_v1_1.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/names_of_v1_3_in_v1_2.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/object_at_in_v1_2.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/sensor_ok_name_in_v1_2.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/sensor_parameter_in_v1_2.rob +9 -0
- robolang-0.2.0/tests/fixtures/v1.3/compat/string_sensor_in_v1_2.rob +13 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_goal_missing_semicolon_brace.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_holding_one_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_inspect_sensor_is_a_number.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_object_at_one_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_sensor_ok_without_parameter.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e202_goal_condition_without_semicolon.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e204_unknown_condition_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_after_plan.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_before_pre.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_empty.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_without_plan.rob +9 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_two_goal_blocks.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e211_message_received_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_goal_as_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_holding_as_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_object_at_as_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_robot_at_as_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_sensor_as_name.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e214_mixed_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e215_too_deep_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_inspect_sensor.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_name_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_sensor.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_holding_swapped.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_inspect_using_robot.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_new_atom_in_pre.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_new_atom_in_wait_until.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_object_at_location_is_object.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_object_at_robot_first.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_as_sensor.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_at_object_first.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_at_region_second.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_sensor_as_robot.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_sensor_as_robot_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e309_missing_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e309_second_task_missing_goal.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_empty_string_sensor.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_inspect.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_goal.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_pre.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_wait_until.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/cases.json +1406 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_after_events.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_combined.rob +16 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_false_and_unknown.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_held.rob +11 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_holding.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_never_moved.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_unknown.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_unknown_and_true.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/holding_unknown.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/limit_with_goal.rob +8 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pick_place.rob +13 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_holding.rob +8 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_new_atoms.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_object_unknown.rob +8 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_inspect.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_pre.rob +8 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_two.rob +8 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_wait.rob +7 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/two_tasks.rob +12 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/wait_object_at.rob +10 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/base.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_location_to_sensor.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_robot_to_sensor.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_to_location.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_to_robot.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_undeclared.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_absent.json +224 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_at_table.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_held_at_start.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_unknown.json +222 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cancel_step_4.json +228 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_blocked_then_clear.json +235 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_blocked_then_clear_late.json +235 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_clear_then_blocked.json +235 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/fault_step_2.json +230 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/robot_at_shelf.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/robot_not_ready.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_aux.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_dead.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_other_robot.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_unknown.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_name_is_robot_name.json +229 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_pre_dead.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_pre_unknown.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_two_swapped.json +225 -0
- robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_wait_dead_then_ok.json +235 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_combined.rob +16 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_holding.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_object_at.rob +20 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_robot_at.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_several_conditions.rob +16 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/goal_without_pre.rob +14 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/new_atoms_in_pre.rob +19 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/new_atoms_in_wait_until.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/safety_with_goal.rob +12 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/sensor_parameter_inspect.rob +15 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/sensor_parameter_ok.rob +18 -0
- robolang-0.2.0/tests/fixtures/v1.3/valid/two_tasks.rob +23 -0
- robolang-0.2.0/tests/fixtures/v1.4/valid/branch_route.rob +25 -0
- robolang-0.2.0/tests/fixtures/v1.4/valid/fail_report.rob +20 -0
- robolang-0.2.0/tests/fixtures/v1.4/valid/sequential_ifs.rob +20 -0
- robolang-0.2.0/tests/fixtures/valid/all_conditions.rob +15 -0
- robolang-0.2.0/tests/fixtures/valid/compact_formatting.rob +20 -0
- robolang-0.2.0/tests/fixtures/valid/inspect_with_sensor.rob +10 -0
- robolang-0.2.0/tests/fixtures/valid/max_speed_angular_then_linear.rob +11 -0
- robolang-0.2.0/tests/fixtures/valid/max_speed_angular_unit.rob +10 -0
- robolang-0.2.0/tests/fixtures/valid/max_speed_linear_and_angular.rob +11 -0
- robolang-0.2.0/tests/fixtures/valid/max_speed_linear_unit.rob +10 -0
- robolang-0.2.0/tests/fixtures/valid/minimal_task.rob +9 -0
- robolang-0.2.0/tests/fixtures/valid/multiple_tasks.rob +19 -0
- robolang-0.2.0/tests/fixtures/valid/pick_and_place_v1_compat.rob +20 -0
- robolang-0.2.0/tests/fixtures/valid/string_escapes.rob +12 -0
- robolang-0.2.0/tests/fixtures/valid/unit_words_as_names.rob +10 -0
- robolang-0.2.0/tests/fixtures/valid/version_marker.rob +12 -0
- robolang-0.2.0/tests/fixtures/valid/wait_durations.rob +11 -0
- robolang-0.2.0/tests/fixtures/valid/wait_until_with_timeout.rob +12 -0
- robolang-0.2.0/tests/snapshots/ir/all_conditions.json +58 -0
- robolang-0.2.0/tests/snapshots/ir/compact_formatting.json +61 -0
- robolang-0.2.0/tests/snapshots/ir/inspect_with_sensor.json +39 -0
- robolang-0.2.0/tests/snapshots/ir/max_speed_angular_then_linear.json +56 -0
- robolang-0.2.0/tests/snapshots/ir/max_speed_angular_unit.json +49 -0
- robolang-0.2.0/tests/snapshots/ir/max_speed_linear_and_angular.json +56 -0
- robolang-0.2.0/tests/snapshots/ir/max_speed_linear_unit.json +49 -0
- robolang-0.2.0/tests/snapshots/ir/minimal_task.json +29 -0
- robolang-0.2.0/tests/snapshots/ir/multiple_tasks.json +80 -0
- robolang-0.2.0/tests/snapshots/ir/pick_and_place_v1_compat.json +80 -0
- robolang-0.2.0/tests/snapshots/ir/string_escapes.json +54 -0
- robolang-0.2.0/tests/snapshots/ir/unit_words_as_names.json +36 -0
- robolang-0.2.0/tests/snapshots/ir/version_marker.json +29 -0
- robolang-0.2.0/tests/snapshots/ir/wait_durations.json +36 -0
- robolang-0.2.0/tests/snapshots/ir/wait_until_with_timeout.json +74 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/and_in_pre.json +59 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/flatten_grouping.json +97 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/multiline_condition.json +59 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/nesting_at_limit.json +62 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/nesting_limit_with_conjunction.json +80 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/not_in_pre.json +69 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/not_of_group.json +66 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/or_in_pre.json +63 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/parenthesized_mix.json +90 -0
- robolang-0.2.0/tests/snapshots/ir-v1.2/wait_until_combined.json +88 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_combined.json +94 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_holding.json +57 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_object_at.json +73 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_robot_at.json +52 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_several_conditions.json +61 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/goal_without_pre.json +52 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/new_atoms_in_pre.json +71 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/new_atoms_in_wait_until.json +81 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/safety_with_goal.json +49 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/sensor_parameter_inspect.json +58 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/sensor_parameter_ok.json +68 -0
- robolang-0.2.0/tests/snapshots/ir-v1.3/two_tasks.json +97 -0
- robolang-0.2.0/tests/snapshots/ir-v1.4/branch_route.json +130 -0
- robolang-0.2.0/tests/snapshots/ir-v1.4/fail_report.json +87 -0
- robolang-0.2.0/tests/snapshots/ir-v1.4/sequential_ifs.json +104 -0
- robolang-0.2.0/tests/test_adapter.py +63 -0
- robolang-0.2.0/tests/test_all_diagnostics.py +202 -0
- robolang-0.2.0/tests/test_arch02.py +261 -0
- robolang-0.2.0/tests/test_arch02_corrections.py +341 -0
- robolang-0.2.0/tests/test_arch02_fixtures.py +255 -0
- robolang-0.2.0/tests/test_arch02_golden.py +68 -0
- robolang-0.2.0/tests/test_arch02_record.py +144 -0
- robolang-0.2.0/tests/test_bench.py +503 -0
- robolang-0.2.0/tests/test_bench_ask.py +314 -0
- robolang-0.2.0/tests/test_bench_branch.py +239 -0
- robolang-0.2.0/tests/test_bench_gate.py +62 -0
- robolang-0.2.0/tests/test_bench_hard.py +562 -0
- robolang-0.2.0/tests/test_bridge.py +67 -0
- robolang-0.2.0/tests/test_cli.py +548 -0
- robolang-0.2.0/tests/test_core.py +259 -0
- robolang-0.2.0/tests/test_core_outcome.py +245 -0
- robolang-0.2.0/tests/test_core_precedence.py +79 -0
- robolang-0.2.0/tests/test_delegate.py +418 -0
- robolang-0.2.0/tests/test_delegate_peer.py +475 -0
- robolang-0.2.0/tests/test_examples.py +29 -0
- robolang-0.2.0/tests/test_export_goal.py +375 -0
- robolang-0.2.0/tests/test_fixtures.py +90 -0
- robolang-0.2.0/tests/test_h3_trust.py +136 -0
- robolang-0.2.0/tests/test_interop.py +257 -0
- robolang-0.2.0/tests/test_interop_bundle.py +214 -0
- robolang-0.2.0/tests/test_interop_harness.py +374 -0
- robolang-0.2.0/tests/test_interop_spec.py +52 -0
- robolang-0.2.0/tests/test_ir.py +261 -0
- robolang-0.2.0/tests/test_ir_reader.py +458 -0
- robolang-0.2.0/tests/test_known_limitations.py +186 -0
- robolang-0.2.0/tests/test_lang1.py +198 -0
- robolang-0.2.0/tests/test_lang14.py +378 -0
- robolang-0.2.0/tests/test_lang2.py +785 -0
- robolang-0.2.0/tests/test_lexer.py +186 -0
- robolang-0.2.0/tests/test_packaging.py +72 -0
- robolang-0.2.0/tests/test_parser.py +369 -0
- robolang-0.2.0/tests/test_reference.py +83 -0
- robolang-0.2.0/tests/test_runtime_smoke.py +117 -0
- robolang-0.2.0/tests/test_sim14.py +450 -0
- robolang-0.2.0/tests/test_sim_cli.py +269 -0
- robolang-0.2.0/tests/test_sim_cli_bind.py +181 -0
- robolang-0.2.0/tests/test_sim_executor.py +281 -0
- robolang-0.2.0/tests/test_sim_values.py +70 -0
- robolang-0.2.0/tests/test_sim_world.py +419 -0
- robolang-0.2.0/tests/test_simulation_fixtures.py +156 -0
- robolang-0.2.0/tests/test_v1_2_fixtures.py +178 -0
- robolang-0.2.0/tests/test_v1_3_fixtures.py +207 -0
- robolang-0.2.0/tests/test_validate_world.py +193 -0
- robolang-0.2.0/tests/test_validator.py +363 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The distribution version (this file) is independent of the language versions (1.1 to 1.4) and the Task IR schema
|
|
4
|
+
versions (1.0 to 1.3). Decision records are in [`spec/decisions/`](https://github.com/rokorobot/RoboLang/tree/main/spec/decisions).
|
|
5
|
+
|
|
6
|
+
## 0.2.0 (2026-10-30): first PyPI release
|
|
7
|
+
|
|
8
|
+
Everything below is simulation only. No command drives a robot, loads an adapter or uses ROS 2.
|
|
9
|
+
|
|
10
|
+
**Language**
|
|
11
|
+
- RoboLang 1.4: bounded `if` / `else` / `else if` in plans, with per-branch `goal` blocks, and `fail "reason";`
|
|
12
|
+
for report-and-stop branches. Nesting depth is at most 4, and every path needs a goal or a `fail` (0027; #70, #72, #73).
|
|
13
|
+
- RoboLang 1.3: a required `goal` decides success, with the outcome atoms `object_at`, `robot_at` and `holding`,
|
|
14
|
+
and typed `sensor` parameters (0014; #54).
|
|
15
|
+
- RoboLang 1.2: combined conditions with `and`, `or` and `not` (#22, #24).
|
|
16
|
+
- `validate` reports every error, not just the first (0015; #52).
|
|
17
|
+
- `validate --world W [--task T] [--bind …]`: before running anything, reports the failures a run would certainly
|
|
18
|
+
hit in that world, path by path for branching plans. These are speed limits against robot profiles, grasp without
|
|
19
|
+
a gripper, and a sensor on another robot (0026; #66, #73).
|
|
20
|
+
- `robolang reference` prints the shipped, tested language reference (#64, #73).
|
|
21
|
+
|
|
22
|
+
**Execution (symbolic simulation)**
|
|
23
|
+
- `simulate`: a deterministic run record and run ID, with world files 1.0 and 1.1 and `--bind` (0004, 0016; #13–#15, #53).
|
|
24
|
+
- 1.4 runs record every decision. An unknown condition fails the run (`S261`) and `fail` ends it with `S262`.
|
|
25
|
+
- `--ir`: every command reads Task IR 1.0 to 1.3 strictly (0021).
|
|
26
|
+
|
|
27
|
+
**RoboLang Core 0.1**
|
|
28
|
+
- Document checks (`robolang.core`) and the RFC-001 reference simulation (`robolang arch02`) (#26–#30).
|
|
29
|
+
- Core-shaped outcomes from simulated runs, `export-goal` and `delegate` with a peer, commitment, lease and custody
|
|
30
|
+
(0018–0020, 0022; #55–#57). Conjunctive goals export (#63). A branching task exports when all its paths share
|
|
31
|
+
one goal (0027 B7).
|
|
32
|
+
|
|
33
|
+
**Benchmark** (`bench/`, not installed)
|
|
34
|
+
- The authoring benchmark has set 1 (syntax), set 2 (robustness), set 3 (branching) and the "ask" set. Goals are
|
|
35
|
+
compared by meaning and branching answers are scored path by path. A CI gate checks decision accuracy and false
|
|
36
|
+
programs (0024, 0025; #59–#73).
|
|
37
|
+
|
|
38
|
+
## 0.1.0a1 (2026-10-11, not published)
|
|
39
|
+
|
|
40
|
+
- RoboLang 1.1: lexer, parser, validator, versioned Task IR and a read-only CLI (`validate`, `inspect`) (#3–#7).
|
robolang-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Extra content for the source distribution. Wheels contain only the Python code.
|
|
2
|
+
include LICENSE CHANGELOG.md
|
|
3
|
+
include requirements.txt requirements-dev.txt pytest.ini
|
|
4
|
+
# Historical v1 prototype sources. Present in the source distribution so that
|
|
5
|
+
# it mirrors the repository; an installation built from it does not include them.
|
|
6
|
+
graft legacy
|
|
7
|
+
graft examples
|
|
8
|
+
graft spec
|
|
9
|
+
graft tests
|
|
10
|
+
global-exclude __pycache__ *.py[cod]
|
robolang-0.2.0/PKG-INFO
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: robolang
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: RoboLang: a checked robot task language (1.1 to 1.4) with a validator, symbolic simulation and RoboLang Core outcomes.
|
|
5
|
+
Author: Robert Konecny
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Repository, https://github.com/rokorobot/RoboLang
|
|
8
|
+
Project-URL: Documentation, https://rokorobot.github.io/RoboLang/
|
|
9
|
+
Project-URL: Issues, https://github.com/rokorobot/RoboLang/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/rokorobot/RoboLang/blob/main/CHANGELOG.md
|
|
11
|
+
Keywords: robotics,dsl,task-language,validation,simulation,llm
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering
|
|
19
|
+
Classifier: Topic :: Software Development :: Compilers
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: pytest>=8; extra == "dev"
|
|
25
|
+
Requires-Dist: ruff>=0.6; extra == "dev"
|
|
26
|
+
Requires-Dist: build>=1.2; extra == "dev"
|
|
27
|
+
Requires-Dist: jsonschema>=4.18; extra == "dev"
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
<img src="https://img.shields.io/badge/version-v0.2.0-blue?style=for-the-badge" alt="version"/>
|
|
32
|
+
<img src="https://img.shields.io/badge/python-3.11%2B-brightgreen?style=for-the-badge" alt="python"/>
|
|
33
|
+
<img src="https://img.shields.io/github/license/rokorobot/RoboLang?style=for-the-badge" alt="license"/>
|
|
34
|
+
<img src="https://img.shields.io/github/stars/rokorobot/RoboLang?style=for-the-badge" alt="stars"/>
|
|
35
|
+
<img src="https://img.shields.io/github/forks/rokorobot/RoboLang?style=for-the-badge" alt="forks"/>
|
|
36
|
+
</p>
|
|
37
|
+
|
|
38
|
+
<p align="center">
|
|
39
|
+
<b>RoboLang</b> — An AI-native language and interoperability foundation for robots.<br/>
|
|
40
|
+
Built by <a href="https://github.com/rokorobot">@rokorobot</a>
|
|
41
|
+
</p>
|
|
42
|
+
<p align="center">
|
|
43
|
+
<img src="https://raw.githubusercontent.com/rokorobot/RoboLang/main/docs/robolang_banner.png" width="600" alt="RoboLang Logo"/>
|
|
44
|
+
</p>
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
# RoboLang
|
|
49
|
+
|
|
50
|
+
RoboLang is a task language for robots, written mainly by AI systems and reviewed by people.
|
|
51
|
+
A task declares what must be true before it starts, the **goal** it must achieve, the steps to
|
|
52
|
+
take, and safety limits. RoboLang checks the task statically and runs it in a deterministic,
|
|
53
|
+
symbolic simulation. A run **succeeds only when the goal is verified** in the final world, not
|
|
54
|
+
merely because the steps ran.
|
|
55
|
+
|
|
56
|
+
> ⚠️ **Simulation only.** Physical robot execution is not implemented or authorized. RoboLang
|
|
57
|
+
> does not replace ROS 2, MoveIt 2, Nav2 or hardware safety controllers. Do not run it against
|
|
58
|
+
> real hardware.
|
|
59
|
+
|
|
60
|
+
Created and maintained by **Robert Konecny (@rokorobot)**. Licensed under Apache 2.0.
|
|
61
|
+
|
|
62
|
+
## Quickstart
|
|
63
|
+
|
|
64
|
+
You need Python 3.11 or newer. No ROS 2, no robot, no other packages.
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python -m pip install robolang
|
|
68
|
+
robolang reference # the language reference: everything a task author needs
|
|
69
|
+
robolang validate FILE.rob
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The examples and test worlds live in the repository:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
git clone https://github.com/rokorobot/RoboLang.git
|
|
76
|
+
cd RoboLang
|
|
77
|
+
python -m pip install . # or use the robolang installed from PyPI
|
|
78
|
+
|
|
79
|
+
robolang validate examples/handover.rob
|
|
80
|
+
robolang inspect examples/handover.rob --json
|
|
81
|
+
robolang simulate examples/handover.rob --world examples/world.json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
`simulate` prints `simulation only: run sim-…: SUCCEEDED`, then the run record as JSON. The
|
|
85
|
+
same commands work from a clone without installing: `python src/robolang validate FILE.rob`.
|
|
86
|
+
Add `--world WORLD` to `validate` to also catch, before any simulation, failures a run would certainly hit
|
|
87
|
+
in that world: a speed limit above the robot's profile, a grasp without a gripper, a sensor on another robot.
|
|
88
|
+
|
|
89
|
+
Bind task parameters on the command line instead of in the world file (`FILE` comes first):
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
robolang simulate examples/handover.rob --world examples/world.json \
|
|
93
|
+
--bind arm=arm1 mobile=amr1 box=box1 src=shelf handoff=handoff dst=table zone=handoff_zone
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
| Command | What it does | Exit status |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| `reference` | Prints the tested RoboLang 1.3 language reference shipped in the package | 0 |
|
|
99
|
+
| `validate FILE` | Checks the file and prints **every** diagnostic (up to 50) as `file:line:column: error[CODE]: …` | 0 valid, 1 invalid, 2 usage error |
|
|
100
|
+
| `inspect FILE [--json] [--task NAME]` | Validates, then shows the tasks as text or as Task IR JSON | as `validate` |
|
|
101
|
+
| `simulate FILE --world W [--task NAME] [--bind P=ID …]` | Runs one task against a world file in a symbolic simulation; the same inputs give a byte-identical run record | 0 succeeded, 1 invalid source, 2 usage, 3 invalid world, 4 failed, 5 cancelled |
|
|
102
|
+
| `export-goal FILE --world W --from AGENT [--to ROBOT] [--bind P=ID …]` | Turns a 1.3 task's goal into a signed Core 0.1 `propose_goal` message (simulation-only signature) | 0 printed, 1 invalid source, 2 usage, 3 invalid world, 6 goal has no Core form |
|
|
103
|
+
| `delegate FILE --world W --from AGENT --to ROBOT [--plans PATH …] [--lease D]` | End to end: the planner sends the task's goal; the robot matches it (in any order) to a plan in its own `.rob` library, runs it, and returns a Core outcome; the planner checks the evidence itself. A plan with a second robot brings it in as a peer: commitment with a lease, then custody transfer before the peer's steps ([spec](https://github.com/rokorobot/RoboLang/blob/main/spec/delegate-v0.2.md)) | 0 verified success, 4 failed or unknown, 7 rejected; others as `export-goal` |
|
|
104
|
+
| `arch02 --scenario S --cases C --case NAME` | Runs one case of the Core 0.1 reference scenario (AI planner, arm and mobile robot exchanging signed messages) | 0 ran, 2 usage, 3 invalid input |
|
|
105
|
+
|
|
106
|
+
Every command that reads a `.rob` file also reads Task IR JSON instead: `--ir FILE.json`. The IR is
|
|
107
|
+
re-validated from scratch; its version claims are never trusted ([spec](https://github.com/rokorobot/RoboLang/blob/main/spec/ir-reader-v0.1.md)).
|
|
108
|
+
|
|
109
|
+
Validation and simulation say nothing about whether a task is safe on a real robot.
|
|
110
|
+
|
|
111
|
+
## The language
|
|
112
|
+
|
|
113
|
+
```rob
|
|
114
|
+
robolang 1.3;
|
|
115
|
+
|
|
116
|
+
task handover(robot arm, robot mobile, object box, location src, location handoff, location dst, region zone) {
|
|
117
|
+
@safety max_speed 0.5 m/s;
|
|
118
|
+
|
|
119
|
+
pre {
|
|
120
|
+
robot_ready arm;
|
|
121
|
+
robot_ready mobile;
|
|
122
|
+
object_exists box;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
goal {
|
|
126
|
+
object_at box dst;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
plan {
|
|
130
|
+
move arm to src;
|
|
131
|
+
grasp arm box;
|
|
132
|
+
move arm to handoff;
|
|
133
|
+
place arm box at handoff;
|
|
134
|
+
communicate arm to "fleet" with "BOX_AT_HANDOFF";
|
|
135
|
+
wait until region_clear zone timeout 30s;
|
|
136
|
+
move mobile to handoff;
|
|
137
|
+
grasp mobile box;
|
|
138
|
+
move mobile to dst;
|
|
139
|
+
place mobile box at dst;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
- **Parameters are typed** (`robot`, `object`, `location`, `region`, `sensor`) and bound to
|
|
145
|
+
world IDs at run time, so one task runs in many worlds.
|
|
146
|
+
- **Goals decide success.** After the plan, every `goal` condition is checked against the final
|
|
147
|
+
world: all true → `SUCCEEDED`; any false → `FAILED` (`S301`); otherwise unknown → `FAILED`
|
|
148
|
+
(`S302`). Goal conditions: `object_at`, `robot_at`, `holding`, plus every precondition form.
|
|
149
|
+
- **Preconditions fail closed.** Logic is three-valued: a `false` or `unknown` condition stops
|
|
150
|
+
the run.
|
|
151
|
+
- **Steps:** `move`, `grasp`, `place`, `inspect … using`, `wait for`, `wait until … timeout`,
|
|
152
|
+
`communicate`. Plans are sequential.
|
|
153
|
+
- **Versions:** unmarked files are 1.1. `robolang 1.2;` adds `and`, `or`, `not`.
|
|
154
|
+
`robolang 1.3;` adds the required `goal` block, the outcome conditions and `sensor`
|
|
155
|
+
parameters.
|
|
156
|
+
- **`@safety max_speed`** is checked against the robot's profile and recorded, never enforced.
|
|
157
|
+
|
|
158
|
+
Specifications: [1.1](https://github.com/rokorobot/RoboLang/blob/main/spec/robolang-v1.1.md) ([grammar](https://github.com/rokorobot/RoboLang/blob/main/spec/grammar.ebnf)),
|
|
159
|
+
[1.2](https://github.com/rokorobot/RoboLang/blob/main/spec/robolang-v1.2.md) ([grammar](https://github.com/rokorobot/RoboLang/blob/main/spec/grammar-v1.2.ebnf)),
|
|
160
|
+
[1.3](https://github.com/rokorobot/RoboLang/blob/main/spec/robolang-v1.3.md) ([grammar](https://github.com/rokorobot/RoboLang/blob/main/spec/grammar-v1.3.ebnf)),
|
|
161
|
+
[Task IR](https://github.com/rokorobot/RoboLang/blob/main/spec/ir-schema-v1.2.md), [simulation, world file and run record](https://github.com/rokorobot/RoboLang/blob/main/spec/simulation-v1.0.md).
|
|
162
|
+
|
|
163
|
+
## How it fits together
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
.rob source ─ lexer + parser ─ validator ─ Task IR (JSON) ─┬─ symbolic executor ─ run record (JSON)
|
|
167
|
+
world file
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
| Component | Where |
|
|
171
|
+
|---|---|
|
|
172
|
+
| Lexer, parser, validator | `src/robolang/lexer.py`, `parser.py`, `validator.py` |
|
|
173
|
+
| Task IR | `src/robolang/ir.py` |
|
|
174
|
+
| Symbolic executor and run records | `src/robolang/sim/` |
|
|
175
|
+
| Core 0.1 message checks (schemas, canonical JSON, simulation-only signatures) | `src/robolang/core/` |
|
|
176
|
+
| Core 0.1 reference simulation | `src/robolang/arch02/` |
|
|
177
|
+
| Task IR reader and re-validator (CORE-1) | `src/robolang/ir_reader.py` |
|
|
178
|
+
| `.rob` → Core bridge, `export-goal`, `delegate` | `src/robolang/bridge.py`, `export_goal.py`, `delegate.py`, `delegate_peer.py` |
|
|
179
|
+
| Interoperability test harness (gate 2) | `src/robolang/interop/` |
|
|
180
|
+
| CLI | `src/robolang/cli.py` |
|
|
181
|
+
|
|
182
|
+
**RoboLang Core 0.1** is a separate, draft layer: a JSON message envelope and capability
|
|
183
|
+
descriptor for AI-to-robot and robot-to-robot exchanges, with authority, custody and
|
|
184
|
+
evidence-backed outcomes. It runs only inside the `arch02` reference simulation.
|
|
185
|
+
|
|
186
|
+
The bridge from `.rob` to Core ([plan](https://github.com/rokorobot/RoboLang/blob/main/docs/plans/goals-and-core-bridge.md)) is built, in simulation.
|
|
187
|
+
Goal conditions `object_at`, `robot_at` and `holding` map to Core `located_in` and `carried_by`
|
|
188
|
+
facts (`src/robolang/bridge.py`). `export-goal` sends a task's goal as a Core `propose_goal`,
|
|
189
|
+
and every 1.3 run record ends with `core_outcome`: a Core outcome with signed observations as
|
|
190
|
+
evidence. `delegate` closes the loop: the goal crosses as a Core message, the robot runs its
|
|
191
|
+
own `.rob` plan (plans never travel, Core decision R3), and the planner accepts `succeeded`
|
|
192
|
+
only after re-checking the signed evidence ([spec](https://github.com/rokorobot/RoboLang/blob/main/spec/delegate-v0.1.md)):
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
robolang delegate examples/handover.rob --world examples/world.json \
|
|
196
|
+
--from rl:agent:planner-1 --to rl:robot:arm1 --plans examples/plans
|
|
197
|
+
# simulation only: delegate rl:goal:handover → rl:robot:arm1: succeeded (verified)
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
See
|
|
201
|
+
[Core 0.1](https://github.com/rokorobot/RoboLang/blob/main/spec/core-v0.1.md), the
|
|
202
|
+
[reference simulation](https://github.com/rokorobot/RoboLang/blob/main/spec/reference-simulation-v0.1.md) and
|
|
203
|
+
[RFC-001](https://github.com/rokorobot/RoboLang/blob/main/spec/architecture/rfc-001-ai-native-architecture.md).
|
|
204
|
+
|
|
205
|
+
## Limitations
|
|
206
|
+
|
|
207
|
+
- **Symbolic world only:** facts such as location, holding, readiness and region status. No
|
|
208
|
+
motion planning, kinematics, collisions or physics. Only `wait` steps advance time.
|
|
209
|
+
- **Speed limits are recorded, not enforced.**
|
|
210
|
+
- **No hardware, no ROS 2 runtime, no network transport.** Core signatures are
|
|
211
|
+
simulation-only.
|
|
212
|
+
- **No branching, loops or local bindings yet** (planned language extensions).
|
|
213
|
+
- The original v1 interpreter and ROS 2 adapter live in [`legacy/`](https://github.com/rokorobot/RoboLang/blob/main/legacy/). They bypass the
|
|
214
|
+
validator, are never installed and were never validated against ROS 2
|
|
215
|
+
([details](https://github.com/rokorobot/RoboLang/blob/main/docs/legacy-v1.md)).
|
|
216
|
+
|
|
217
|
+
## Status and roadmap
|
|
218
|
+
|
|
219
|
+
| Area | State |
|
|
220
|
+
|---|---|
|
|
221
|
+
| Language 1.1, 1.2 and 1.3 (goals, typed sensors), validator, Task IR | Delivered |
|
|
222
|
+
| Language 1.4 (bounded `if`/`else`, `fail`; [0027](https://github.com/rokorobot/RoboLang/blob/main/spec/decisions/0027-bounded-branching.md)): `validate`, `inspect`, Task IR 1.3 | Complete in code: front end, `simulate`, `export-goal` and `delegate` run branching tasks (record 1.3, [simulation 12](https://github.com/rokorobot/RoboLang/blob/main/spec/simulation-v1.0.md)), `validate --world` checks every path, language reference and benchmark scoring per path. Acceptance run (set 3 under 1.4) pending |
|
|
223
|
+
| Simulation-only execution (`simulate`) | Delivered, signed off 2026-10-27 ([evidence](https://github.com/rokorobot/RoboLang/blob/main/docs/evidence/rl-basic-01-exit-gate.md)) |
|
|
224
|
+
| Core 0.1 reference simulation (`arch02`) | Implemented, gate 1 signed off 2026-10-27 ([evidence](https://github.com/rokorobot/RoboLang/blob/main/docs/evidence/rl-arch-02-exit-gate.md)) |
|
|
225
|
+
| Gate 2 independent interoperability | Bundle frozen 2026-10-28. INTEROP-3 deferred until Core 0.2 or a real second implementer ([0023](https://github.com/rokorobot/RoboLang/blob/main/spec/decisions/0023-keep-interop-3-deferred.md)) |
|
|
226
|
+
| `.rob` → Core bridge | Delivered in simulation: Core-shaped outcomes, `export-goal`, `delegate` with a peer robot, commitment, lease and custody ([plan](https://github.com/rokorobot/RoboLang/blob/main/docs/plans/goals-and-core-bridge.md)) |
|
|
227
|
+
| CORE-1, Task IR reader | Delivered: `--ir` on every command ([0021](https://github.com/rokorobot/RoboLang/blob/main/spec/decisions/0021-core-1-ir-reader.md)) |
|
|
228
|
+
|
|
229
|
+
Every implementation item needs owner approval. The full plan and history are in the
|
|
230
|
+
[development plan](https://github.com/rokorobot/RoboLang/blob/main/docs/DEVELOPMENT_PLAN.md); decisions are in [`spec/decisions/`](https://github.com/rokorobot/RoboLang/blob/main/spec/decisions/).
|
|
231
|
+
|
|
232
|
+
`robolang --version` prints three independent versions: the Python package (`0.2.0`, alpha),
|
|
233
|
+
the language (`1.1` to `1.4`) and the Task IR schema (`1.0` to `1.3`, one for each language version).
|
|
234
|
+
|
|
235
|
+
## Contributing
|
|
236
|
+
|
|
237
|
+
Pull requests are welcome. Keep each change small, with CI passing. New syntax, IR kinds and
|
|
238
|
+
Core schemas need a versioned specification and an owner decision first.
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
python -m pip install -r requirements-dev.txt
|
|
242
|
+
python -m pytest -q
|
|
243
|
+
python -m ruff check .
|
|
244
|
+
python tools/smoke_install.py # builds and installs the wheel and sdist into fresh venvs; needs network
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
Tests marked `xfail` describe planned behaviour. Report problems in
|
|
248
|
+
[Issues](https://github.com/rokorobot/RoboLang/issues). Documentation site:
|
|
249
|
+
[rokorobot.github.io/RoboLang](https://rokorobot.github.io/RoboLang/).
|
|
250
|
+
|
|
251
|
+
## License
|
|
252
|
+
|
|
253
|
+
Licensed under the **Apache License 2.0**: free to use, modify and distribute in open or
|
|
254
|
+
commercial robotics projects.
|