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.
Files changed (572) hide show
  1. robolang-0.2.0/CHANGELOG.md +40 -0
  2. robolang-0.2.0/LICENSE +201 -0
  3. robolang-0.2.0/MANIFEST.in +10 -0
  4. robolang-0.2.0/PKG-INFO +254 -0
  5. robolang-0.2.0/README.md +225 -0
  6. robolang-0.2.0/examples/handover.rob +30 -0
  7. robolang-0.2.0/examples/inspect_object.rob +23 -0
  8. robolang-0.2.0/examples/pick_and_place.rob +19 -0
  9. robolang-0.2.0/examples/pick_and_place_v13.rob +26 -0
  10. robolang-0.2.0/examples/plans/park_robot.rob +17 -0
  11. robolang-0.2.0/examples/plans/relocate_box.rob +24 -0
  12. robolang-0.2.0/examples/world.json +35 -0
  13. robolang-0.2.0/legacy/robolang_adapter.py +84 -0
  14. robolang-0.2.0/legacy/robolang_adapter_ros2.py +243 -0
  15. robolang-0.2.0/legacy/robolang_ros2_main.py +42 -0
  16. robolang-0.2.0/legacy/robolang_runtime.py +128 -0
  17. robolang-0.2.0/legacy/robolang_std_v1.rob +19 -0
  18. robolang-0.2.0/pyproject.toml +75 -0
  19. robolang-0.2.0/pytest.ini +3 -0
  20. robolang-0.2.0/requirements-dev.txt +5 -0
  21. robolang-0.2.0/requirements.txt +0 -0
  22. robolang-0.2.0/setup.cfg +4 -0
  23. robolang-0.2.0/setup.py +11 -0
  24. robolang-0.2.0/spec/architecture/ai-first-language-charter.md +127 -0
  25. robolang-0.2.0/spec/architecture/rfc-001-ai-native-architecture.md +1104 -0
  26. robolang-0.2.0/spec/architecture/rl-foundation-01-language-foundation.md +364 -0
  27. robolang-0.2.0/spec/architecture/rl-foundation-02-domain-contracts.md +388 -0
  28. robolang-0.2.0/spec/core/capability-descriptor-0.1.schema.json +254 -0
  29. robolang-0.2.0/spec/core/message-0.1.schema.json +1775 -0
  30. robolang-0.2.0/spec/core-v0.1.md +522 -0
  31. robolang-0.2.0/spec/core-v0.2-draft.md +202 -0
  32. robolang-0.2.0/spec/decisions/0001-rl-11a-language-decisions.md +82 -0
  33. robolang-0.2.0/spec/decisions/0002-ai-native-architecture.md +85 -0
  34. robolang-0.2.0/spec/decisions/0003-language-foundation.md +64 -0
  35. robolang-0.2.0/spec/decisions/0004-rl-basic-01a-simulation-semantics.md +59 -0
  36. robolang-0.2.0/spec/decisions/0005-ai-first-charter-and-domain-contracts.md +51 -0
  37. robolang-0.2.0/spec/decisions/0006-lang-1-combined-conditions.md +55 -0
  38. robolang-0.2.0/spec/decisions/0007-rl-arch-02-core-and-reference-simulation.md +63 -0
  39. robolang-0.2.0/spec/decisions/0008-core-sequencing-per-recipient.md +68 -0
  40. robolang-0.2.0/spec/decisions/0009-gate-2-independent-interoperability.md +48 -0
  41. robolang-0.2.0/spec/decisions/0010-binding-errata-lease-expired-commitment-state.md +45 -0
  42. robolang-0.2.0/spec/decisions/0011-interop-2a-bundle-errata.md +300 -0
  43. robolang-0.2.0/spec/decisions/0012-interop-2c-remaining-normative-decisions.md +109 -0
  44. robolang-0.2.0/spec/decisions/0013-h3-receiver-scoped-verification-keys.md +62 -0
  45. robolang-0.2.0/spec/decisions/0014-lang-2-goals-and-typed-sensors.md +40 -0
  46. robolang-0.2.0/spec/decisions/0015-report-all-diagnostics.md +49 -0
  47. robolang-0.2.0/spec/decisions/0016-cli-bindings.md +32 -0
  48. robolang-0.2.0/spec/decisions/0017-reprioritise-goals-before-interop-3.md +26 -0
  49. robolang-0.2.0/spec/decisions/0018-core-shaped-outcomes.md +25 -0
  50. robolang-0.2.0/spec/decisions/0019-export-goal.md +41 -0
  51. robolang-0.2.0/spec/decisions/0020-delegate.md +43 -0
  52. robolang-0.2.0/spec/decisions/0021-core-1-ir-reader.md +32 -0
  53. robolang-0.2.0/spec/decisions/0022-delegate-custody-and-leases.md +40 -0
  54. robolang-0.2.0/spec/decisions/0023-keep-interop-3-deferred.md +36 -0
  55. robolang-0.2.0/spec/decisions/0024-authoring-benchmark.md +91 -0
  56. robolang-0.2.0/spec/decisions/0025-bench-2.md +123 -0
  57. robolang-0.2.0/spec/decisions/0026-validate-world.md +31 -0
  58. robolang-0.2.0/spec/decisions/0027-bounded-branching.md +85 -0
  59. robolang-0.2.0/spec/decisions/0028-core-0-2-scope.md +109 -0
  60. robolang-0.2.0/spec/delegate-v0.1.md +157 -0
  61. robolang-0.2.0/spec/delegate-v0.2.md +138 -0
  62. robolang-0.2.0/spec/export-goal-v0.1.md +98 -0
  63. robolang-0.2.0/spec/grammar-v1.2.ebnf +86 -0
  64. robolang-0.2.0/spec/grammar-v1.3.ebnf +93 -0
  65. robolang-0.2.0/spec/grammar-v1.4.ebnf +26 -0
  66. robolang-0.2.0/spec/grammar.ebnf +71 -0
  67. robolang-0.2.0/spec/interop-gate-2-v0.1.md +398 -0
  68. robolang-0.2.0/spec/ir-reader-v0.1.md +126 -0
  69. robolang-0.2.0/spec/ir-schema-v1.0.md +188 -0
  70. robolang-0.2.0/spec/ir-schema-v1.1.md +84 -0
  71. robolang-0.2.0/spec/ir-schema-v1.2.md +81 -0
  72. robolang-0.2.0/spec/ir-schema-v1.3.md +45 -0
  73. robolang-0.2.0/spec/reference-simulation-v0.1.md +624 -0
  74. robolang-0.2.0/spec/robolang-v1.1.md +579 -0
  75. robolang-0.2.0/spec/robolang-v1.2.md +344 -0
  76. robolang-0.2.0/spec/robolang-v1.3.md +300 -0
  77. robolang-0.2.0/spec/robolang-v1.4.md +79 -0
  78. robolang-0.2.0/spec/simulation-v1.0.md +839 -0
  79. robolang-0.2.0/src/robolang/__init__.py +38 -0
  80. robolang-0.2.0/src/robolang/__main__.py +22 -0
  81. robolang-0.2.0/src/robolang/arch02/__init__.py +41 -0
  82. robolang-0.2.0/src/robolang/arch02/engine.py +537 -0
  83. robolang-0.2.0/src/robolang/arch02/evidence.py +55 -0
  84. robolang-0.2.0/src/robolang/arch02/participants.py +709 -0
  85. robolang-0.2.0/src/robolang/arch02/record.py +112 -0
  86. robolang-0.2.0/src/robolang/arch02/scenario.py +102 -0
  87. robolang-0.2.0/src/robolang/arch02/world.py +68 -0
  88. robolang-0.2.0/src/robolang/bridge.py +161 -0
  89. robolang-0.2.0/src/robolang/cli.py +956 -0
  90. robolang-0.2.0/src/robolang/core/__init__.py +58 -0
  91. robolang-0.2.0/src/robolang/core/canonical.py +95 -0
  92. robolang-0.2.0/src/robolang/core/reader.py +61 -0
  93. robolang-0.2.0/src/robolang/core/receiver.py +261 -0
  94. robolang-0.2.0/src/robolang/core/schema.py +154 -0
  95. robolang-0.2.0/src/robolang/core/schemas/capability-descriptor-0.1.schema.json +254 -0
  96. robolang-0.2.0/src/robolang/core/schemas/message-0.1.schema.json +1775 -0
  97. robolang-0.2.0/src/robolang/core/signatures.py +48 -0
  98. robolang-0.2.0/src/robolang/delegate.py +575 -0
  99. robolang-0.2.0/src/robolang/delegate_peer.py +88 -0
  100. robolang-0.2.0/src/robolang/diagnostics.py +77 -0
  101. robolang-0.2.0/src/robolang/export_goal.py +159 -0
  102. robolang-0.2.0/src/robolang/ir.py +434 -0
  103. robolang-0.2.0/src/robolang/ir_reader.py +710 -0
  104. robolang-0.2.0/src/robolang/lexer.py +184 -0
  105. robolang-0.2.0/src/robolang/nodes.py +323 -0
  106. robolang-0.2.0/src/robolang/parser.py +682 -0
  107. robolang-0.2.0/src/robolang/paths.py +40 -0
  108. robolang-0.2.0/src/robolang/reference/language-reference.md +223 -0
  109. robolang-0.2.0/src/robolang/sim/__init__.py +89 -0
  110. robolang-0.2.0/src/robolang/sim/check.py +85 -0
  111. robolang-0.2.0/src/robolang/sim/executor.py +500 -0
  112. robolang-0.2.0/src/robolang/sim/outcome.py +110 -0
  113. robolang-0.2.0/src/robolang/sim/record.py +202 -0
  114. robolang-0.2.0/src/robolang/sim/values.py +81 -0
  115. robolang-0.2.0/src/robolang/sim/world.py +569 -0
  116. robolang-0.2.0/src/robolang/tokens.py +73 -0
  117. robolang-0.2.0/src/robolang/validator.py +355 -0
  118. robolang-0.2.0/src/robolang.egg-info/PKG-INFO +254 -0
  119. robolang-0.2.0/src/robolang.egg-info/SOURCES.txt +570 -0
  120. robolang-0.2.0/src/robolang.egg-info/dependency_links.txt +1 -0
  121. robolang-0.2.0/src/robolang.egg-info/entry_points.txt +2 -0
  122. robolang-0.2.0/src/robolang.egg-info/requires.txt +6 -0
  123. robolang-0.2.0/src/robolang.egg-info/top_level.txt +1 -0
  124. robolang-0.2.0/tests/conftest.py +85 -0
  125. robolang-0.2.0/tests/core_precedence.py +157 -0
  126. robolang-0.2.0/tests/fixtures/README.md +43 -0
  127. robolang-0.2.0/tests/fixtures/arch02/README.md +26 -0
  128. robolang-0.2.0/tests/fixtures/arch02/cases.json +873 -0
  129. robolang-0.2.0/tests/fixtures/arch02/golden_records.json +107 -0
  130. robolang-0.2.0/tests/fixtures/arch02/scenario.json +491 -0
  131. robolang-0.2.0/tests/fixtures/arch02/sequencing_cases.json +442 -0
  132. robolang-0.2.0/tests/fixtures/core/README.md +63 -0
  133. robolang-0.2.0/tests/fixtures/core/cases.json +289 -0
  134. robolang-0.2.0/tests/fixtures/core/context.json +39 -0
  135. robolang-0.2.0/tests/fixtures/core/invalid/c101_byte_order_mark.json +28 -0
  136. robolang-0.2.0/tests/fixtures/core/invalid/c101_duplicate_key.json +29 -0
  137. robolang-0.2.0/tests/fixtures/core/invalid/c101_non_integer_number.json +28 -0
  138. robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c106.json +28 -0
  139. robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c107.json +28 -0
  140. robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c201.json +23 -0
  141. robolang-0.2.0/tests/fixtures/core/invalid/c102_before_c402.json +55 -0
  142. robolang-0.2.0/tests/fixtures/core/invalid/c102_unsupported_version.json +28 -0
  143. robolang-0.2.0/tests/fixtures/core/invalid/c103_before_c104.json +28 -0
  144. robolang-0.2.0/tests/fixtures/core/invalid/c103_unknown_field.json +29 -0
  145. robolang-0.2.0/tests/fixtures/core/invalid/c104_goal_without_criteria.json +53 -0
  146. robolang-0.2.0/tests/fixtures/core/invalid/c104_missing_field.json +27 -0
  147. robolang-0.2.0/tests/fixtures/core/invalid/c105_before_c201.json +23 -0
  148. robolang-0.2.0/tests/fixtures/core/invalid/c105_unknown_type.json +28 -0
  149. robolang-0.2.0/tests/fixtures/core/invalid/c106_before_c201.json +23 -0
  150. robolang-0.2.0/tests/fixtures/core/invalid/c106_reserved_type.json +28 -0
  151. robolang-0.2.0/tests/fixtures/core/invalid/c107_profile_mismatch.json +42 -0
  152. robolang-0.2.0/tests/fixtures/core/invalid/c201_before_c107.json +23 -0
  153. robolang-0.2.0/tests/fixtures/core/invalid/c201_before_c402.json +50 -0
  154. robolang-0.2.0/tests/fixtures/core/invalid/c201_unsigned.json +23 -0
  155. robolang-0.2.0/tests/fixtures/core/invalid/c202_message_before_c203_observation.json +47 -0
  156. robolang-0.2.0/tests/fixtures/core/invalid/c202_wrong_signature.json +28 -0
  157. robolang-0.2.0/tests/fixtures/core/invalid/c203_before_c202.json +28 -0
  158. robolang-0.2.0/tests/fixtures/core/invalid/c203_key_not_the_senders.json +28 -0
  159. robolang-0.2.0/tests/fixtures/core/invalid/c203_message_before_c204_observation.json +47 -0
  160. robolang-0.2.0/tests/fixtures/core/invalid/c204_before_c203_before_c202.json +28 -0
  161. robolang-0.2.0/tests/fixtures/core/invalid/c204_simulation_signature_in_physical_mode.json +28 -0
  162. robolang-0.2.0/tests/fixtures/core/invalid/c301_before_c307.json +28 -0
  163. robolang-0.2.0/tests/fixtures/core/invalid/c301_expired.json +28 -0
  164. robolang-0.2.0/tests/fixtures/core/invalid/c302_before_c301.json +28 -0
  165. robolang-0.2.0/tests/fixtures/core/invalid/c302_before_c303.json +28 -0
  166. robolang-0.2.0/tests/fixtures/core/invalid/c302_lifetime_too_long.json +28 -0
  167. robolang-0.2.0/tests/fixtures/core/invalid/c303_before_c307.json +28 -0
  168. robolang-0.2.0/tests/fixtures/core/invalid/c303_sent_in_the_future.json +28 -0
  169. robolang-0.2.0/tests/fixtures/core/invalid/c307_wrong_recipient.json +28 -0
  170. robolang-0.2.0/tests/fixtures/core/invalid/c401_requester_authorizes_its_own_goal.json +30 -0
  171. robolang-0.2.0/tests/fixtures/core/invalid/c402_succeeded_with_unmet_criterion.json +68 -0
  172. robolang-0.2.0/tests/fixtures/core/invalid/c402_succeeded_without_verification.json +55 -0
  173. robolang-0.2.0/tests/fixtures/core/invalid/c404_physical_mode.json +30 -0
  174. robolang-0.2.0/tests/fixtures/core/valid/assessment.json +28 -0
  175. robolang-0.2.0/tests/fixtures/core/valid/authorization_decision.json +30 -0
  176. robolang-0.2.0/tests/fixtures/core/valid/commit.json +42 -0
  177. robolang-0.2.0/tests/fixtures/core/valid/custody_confirmed.json +47 -0
  178. robolang-0.2.0/tests/fixtures/core/valid/descriptor_amr_07.json +51 -0
  179. robolang-0.2.0/tests/fixtures/core/valid/descriptor_arm_02.json +42 -0
  180. robolang-0.2.0/tests/fixtures/core/valid/outcome_succeeded.json +68 -0
  181. robolang-0.2.0/tests/fixtures/core/valid/propose_goal.json +68 -0
  182. robolang-0.2.0/tests/fixtures/invalid/e101_block_comment.rob +10 -0
  183. robolang-0.2.0/tests/fixtures/invalid/e101_name_starts_with_underscore.rob +9 -0
  184. robolang-0.2.0/tests/fixtures/invalid/e101_negative_number.rob +10 -0
  185. robolang-0.2.0/tests/fixtures/invalid/e101_unexpected_character.rob +9 -0
  186. robolang-0.2.0/tests/fixtures/invalid/e102_escaped_closing_quote.rob +10 -0
  187. robolang-0.2.0/tests/fixtures/invalid/e102_unterminated_string.rob +9 -0
  188. robolang-0.2.0/tests/fixtures/invalid/e103_malformed_number.rob +9 -0
  189. robolang-0.2.0/tests/fixtures/invalid/e103_version_with_three_parts.rob +9 -0
  190. robolang-0.2.0/tests/fixtures/invalid/e104_unknown_escape.rob +10 -0
  191. robolang-0.2.0/tests/fixtures/invalid/e201_duplicate_version_marker.rob +10 -0
  192. robolang-0.2.0/tests/fixtures/invalid/e201_missing_keyword.rob +9 -0
  193. robolang-0.2.0/tests/fixtures/invalid/e201_nested_block.rob +12 -0
  194. robolang-0.2.0/tests/fixtures/invalid/e201_statement_outside_plan.rob +5 -0
  195. robolang-0.2.0/tests/fixtures/invalid/e201_trailing_tokens.rob +10 -0
  196. robolang-0.2.0/tests/fixtures/invalid/e201_version_marker_after_task.rob +9 -0
  197. robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_annotation.rob +10 -0
  198. robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_condition.rob +12 -0
  199. robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_statement.rob +11 -0
  200. robolang-0.2.0/tests/fixtures/invalid/e202_missing_semicolon_version.rob +9 -0
  201. robolang-0.2.0/tests/fixtures/invalid/e203_prefix_is_not_a_statement.rob +9 -0
  202. robolang-0.2.0/tests/fixtures/invalid/e203_unknown_statement.rob +10 -0
  203. robolang-0.2.0/tests/fixtures/invalid/e204_unknown_condition.rob +12 -0
  204. robolang-0.2.0/tests/fixtures/invalid/e205_unknown_parameter_type.rob +9 -0
  205. robolang-0.2.0/tests/fixtures/invalid/e206_duration_without_unit.rob +9 -0
  206. robolang-0.2.0/tests/fixtures/invalid/e206_timeout_without_unit.rob +9 -0
  207. robolang-0.2.0/tests/fixtures/invalid/e206_unknown_duration_unit.rob +9 -0
  208. robolang-0.2.0/tests/fixtures/invalid/e206_unknown_speed_unit.rob +10 -0
  209. robolang-0.2.0/tests/fixtures/invalid/e207_unknown_safety_key.rob +10 -0
  210. robolang-0.2.0/tests/fixtures/invalid/e208_duplicate_plan.rob +12 -0
  211. robolang-0.2.0/tests/fixtures/invalid/e208_empty_plan.rob +8 -0
  212. robolang-0.2.0/tests/fixtures/invalid/e208_missing_plan.rob +9 -0
  213. robolang-0.2.0/tests/fixtures/invalid/e208_pre_after_plan.rob +12 -0
  214. robolang-0.2.0/tests/fixtures/invalid/e208_safety_after_pre.rob +13 -0
  215. robolang-0.2.0/tests/fixtures/invalid/e209_inspect_with_instead_of_using.rob +9 -0
  216. robolang-0.2.0/tests/fixtures/invalid/e209_inspect_without_sensor.rob +9 -0
  217. robolang-0.2.0/tests/fixtures/invalid/e209_wait_until_without_timeout.rob +9 -0
  218. robolang-0.2.0/tests/fixtures/invalid/e210_no_task.rob +5 -0
  219. robolang-0.2.0/tests/fixtures/invalid/e211_action_level_safety.rob +11 -0
  220. robolang-0.2.0/tests/fixtures/invalid/e211_message_received.rob +10 -0
  221. robolang-0.2.0/tests/fixtures/invalid/e211_move_modifiers.rob +9 -0
  222. robolang-0.2.0/tests/fixtures/invalid/e211_no_go_region.rob +10 -0
  223. robolang-0.2.0/tests/fixtures/invalid/e211_scalar_parameter.rob +9 -0
  224. robolang-0.2.0/tests/fixtures/invalid/e212_reserved_word_as_parameter.rob +9 -0
  225. robolang-0.2.0/tests/fixtures/invalid/e212_reserved_word_as_task_name.rob +9 -0
  226. robolang-0.2.0/tests/fixtures/invalid/e212_robolang_as_name.rob +7 -0
  227. robolang-0.2.0/tests/fixtures/invalid/e213_older_version.rob +9 -0
  228. robolang-0.2.0/tests/fixtures/invalid/e213_unsupported_version.rob +9 -0
  229. robolang-0.2.0/tests/fixtures/invalid/e301_duplicate_task.rob +11 -0
  230. robolang-0.2.0/tests/fixtures/invalid/e302_duplicate_parameter.rob +9 -0
  231. robolang-0.2.0/tests/fixtures/invalid/e303_undeclared_name.rob +9 -0
  232. robolang-0.2.0/tests/fixtures/invalid/e303_undeclared_name_in_pre.rob +12 -0
  233. robolang-0.2.0/tests/fixtures/invalid/e304_wrong_kind_in_condition.rob +12 -0
  234. robolang-0.2.0/tests/fixtures/invalid/e304_wrong_kind_swapped_arguments.rob +9 -0
  235. robolang-0.2.0/tests/fixtures/invalid/e305_zero_max_speed.rob +10 -0
  236. robolang-0.2.0/tests/fixtures/invalid/e305_zero_timeout.rob +9 -0
  237. robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_angular_limit.rob +12 -0
  238. robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_linear_limit.rob +11 -0
  239. robolang-0.2.0/tests/fixtures/invalid/e306_duplicate_unitless_limit.rob +11 -0
  240. robolang-0.2.0/tests/fixtures/invalid/e307_empty_string.rob +9 -0
  241. robolang-0.2.0/tests/fixtures/invalid/e308_explicit_then_unitless.rob +11 -0
  242. robolang-0.2.0/tests/fixtures/invalid/e308_unitless_then_explicit.rob +11 -0
  243. robolang-0.2.0/tests/fixtures/ir_invalid/I101_not_utf8.json +1 -0
  244. robolang-0.2.0/tests/fixtures/ir_invalid/I102_not_json.json +1 -0
  245. robolang-0.2.0/tests/fixtures/ir_invalid/I103_duplicate_key.json +1 -0
  246. robolang-0.2.0/tests/fixtures/ir_invalid/I104_float.json +91 -0
  247. robolang-0.2.0/tests/fixtures/ir_invalid/I110_wrong_type.json +91 -0
  248. robolang-0.2.0/tests/fixtures/ir_invalid/I111_missing_field.json +65 -0
  249. robolang-0.2.0/tests/fixtures/ir_invalid/I112_unknown_field.json +92 -0
  250. robolang-0.2.0/tests/fixtures/ir_invalid/I113_unknown_schema_version.json +91 -0
  251. robolang-0.2.0/tests/fixtures/ir_invalid/I114_unknown_kind.json +91 -0
  252. robolang-0.2.0/tests/fixtures/ir_invalid/I115_and_in_schema_1_0.json +47 -0
  253. robolang-0.2.0/tests/fixtures/ir_invalid/I116_bad_decimal.json +91 -0
  254. robolang-0.2.0/tests/fixtures/ir_invalid/I117_bad_unit.json +91 -0
  255. robolang-0.2.0/tests/fixtures/ir_invalid/I118_bad_name.json +91 -0
  256. robolang-0.2.0/tests/fixtures/ir_invalid/I119_surrogate.json +91 -0
  257. robolang-0.2.0/tests/fixtures/ir_invalid/I120_no_steps.json +66 -0
  258. robolang-0.2.0/tests/fixtures/ir_invalid/I121_condition_too_deep.json +118 -0
  259. robolang-0.2.0/tests/fixtures/ir_invalid/I122_nested_and.json +109 -0
  260. robolang-0.2.0/tests/fixtures/ir_invalid/I123_if_too_deep.json +108 -0
  261. robolang-0.2.0/tests/fixtures/ir_invalid/I201_duplicate_task.json +175 -0
  262. robolang-0.2.0/tests/fixtures/ir_invalid/I202_duplicate_parameter.json +95 -0
  263. robolang-0.2.0/tests/fixtures/ir_invalid/I203_undeclared_name.json +91 -0
  264. robolang-0.2.0/tests/fixtures/ir_invalid/I204_wrong_type.json +91 -0
  265. robolang-0.2.0/tests/fixtures/ir_invalid/I205_zero_duration.json +91 -0
  266. robolang-0.2.0/tests/fixtures/ir_invalid/I206_duplicate_limit.json +98 -0
  267. robolang-0.2.0/tests/fixtures/ir_invalid/I207_empty_string.json +91 -0
  268. robolang-0.2.0/tests/fixtures/ir_invalid/I208_unitless_with_unit.json +98 -0
  269. robolang-0.2.0/tests/fixtures/ir_invalid/I209_missing_goal.json +84 -0
  270. robolang-0.2.0/tests/fixtures/ir_invalid/I210_string_sensor.json +91 -0
  271. robolang-0.2.0/tests/fixtures/ir_invalid/I212_min_confidence_above_one.json +91 -0
  272. robolang-0.2.0/tests/fixtures/ir_invalid/I213_empty_verify.json +85 -0
  273. robolang-0.2.0/tests/fixtures/ir_invalid/I214_fail_not_last.json +91 -0
  274. robolang-0.2.0/tests/fixtures/ir_invalid/I215_fail_reason_too_long.json +53 -0
  275. robolang-0.2.0/tests/fixtures/ir_invalid/expected.json +130 -0
  276. robolang-0.2.0/tests/fixtures/ir_invalid/valid_1_0.json +38 -0
  277. robolang-0.2.0/tests/fixtures/ir_invalid/valid_1_2.json +91 -0
  278. robolang-0.2.0/tests/fixtures/simulation/README.md +56 -0
  279. robolang-0.2.0/tests/fixtures/simulation/cases.json +1214 -0
  280. robolang-0.2.0/tests/fixtures/simulation/sources/inspect_box.rob +6 -0
  281. robolang-0.2.0/tests/fixtures/simulation/sources/move_only.rob +6 -0
  282. robolang-0.2.0/tests/fixtures/simulation/sources/move_with_limit.rob +8 -0
  283. robolang-0.2.0/tests/fixtures/simulation/sources/place_elsewhere.rob +8 -0
  284. robolang-0.2.0/tests/fixtures/simulation/sources/place_without_grasp.rob +7 -0
  285. robolang-0.2.0/tests/fixtures/simulation/sources/two_tasks.rob +12 -0
  286. robolang-0.2.0/tests/fixtures/simulation/sources/wait_for_region.rob +8 -0
  287. robolang-0.2.0/tests/fixtures/simulation/worlds/base.json +108 -0
  288. robolang-0.2.0/tests/fixtures/simulation/worlds/binding_extra.json +109 -0
  289. robolang-0.2.0/tests/fixtures/simulation/worlds/binding_missing.json +107 -0
  290. robolang-0.2.0/tests/fixtures/simulation/worlds/binding_undeclared.json +108 -0
  291. robolang-0.2.0/tests/fixtures/simulation/worlds/binding_wrong_type.json +108 -0
  292. robolang-0.2.0/tests/fixtures/simulation/worlds/box_on_table.json +108 -0
  293. robolang-0.2.0/tests/fixtures/simulation/worlds/cancel_step_2.json +111 -0
  294. robolang-0.2.0/tests/fixtures/simulation/worlds/event_1s.json +118 -0
  295. robolang-0.2.0/tests/fixtures/simulation/worlds/event_2500ms.json +118 -0
  296. robolang-0.2.0/tests/fixtures/simulation/worlds/event_5s.json +118 -0
  297. robolang-0.2.0/tests/fixtures/simulation/worlds/event_at_deadline.json +118 -0
  298. robolang-0.2.0/tests/fixtures/simulation/worlds/fault_step_3.json +113 -0
  299. robolang-0.2.0/tests/fixtures/simulation/worlds/limit_low.json +108 -0
  300. robolang-0.2.0/tests/fixtures/simulation/worlds/limit_rad_only.json +108 -0
  301. robolang-0.2.0/tests/fixtures/simulation/worlds/no_gripper.json +108 -0
  302. robolang-0.2.0/tests/fixtures/simulation/worlds/not_ready.json +108 -0
  303. robolang-0.2.0/tests/fixtures/simulation/worlds/ready_unknown.json +107 -0
  304. robolang-0.2.0/tests/fixtures/simulation/worlds/region_blocked.json +108 -0
  305. robolang-0.2.0/tests/fixtures/simulation/worlds/region_unknown.json +106 -0
  306. robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_on_arm2.json +108 -0
  307. robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_unavailable.json +108 -0
  308. robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_undeclared.json +102 -0
  309. robolang-0.2.0/tests/fixtures/simulation/worlds/sensor_unknown.json +107 -0
  310. robolang-0.2.0/tests/fixtures/simulation/worlds/unknown_field.json +109 -0
  311. robolang-0.2.0/tests/fixtures/simulation/worlds/unsupported_version.json +108 -0
  312. robolang-0.2.0/tests/fixtures/v1.2/README.md +42 -0
  313. robolang-0.2.0/tests/fixtures/v1.2/compat/operator_words_as_names.rob +14 -0
  314. robolang-0.2.0/tests/fixtures/v1.2/compat/operator_words_as_names_marked_1_1.rob +16 -0
  315. robolang-0.2.0/tests/fixtures/v1.2/compat/operators_in_v1_1_file.rob +12 -0
  316. robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_empty_parentheses.rob +14 -0
  317. robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_not_without_operand.rob +14 -0
  318. robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_trailing_operator.rob +14 -0
  319. robolang-0.2.0/tests/fixtures/v1.2/invalid/e201_unclosed_parenthesis.rob +14 -0
  320. robolang-0.2.0/tests/fixtures/v1.2/invalid/e204_unknown_operand.rob +14 -0
  321. robolang-0.2.0/tests/fixtures/v1.2/invalid/e211_message_received_operand.rob +14 -0
  322. robolang-0.2.0/tests/fixtures/v1.2/invalid/e212_operator_word_as_name.rob +11 -0
  323. robolang-0.2.0/tests/fixtures/v1.2/invalid/e213_version_1_5.rob +14 -0
  324. robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_and_then_or.rob +15 -0
  325. robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_mixed_inside_parentheses.rob +14 -0
  326. robolang-0.2.0/tests/fixtures/v1.2/invalid/e214_or_then_and_in_wait.rob +12 -0
  327. robolang-0.2.0/tests/fixtures/v1.2/invalid/e215_nesting_too_deep.rob +15 -0
  328. robolang-0.2.0/tests/fixtures/v1.2/invalid/e215_not_chain_in_conjunction.rob +15 -0
  329. robolang-0.2.0/tests/fixtures/v1.2/invalid/e303_undeclared_name_in_operand.rob +15 -0
  330. robolang-0.2.0/tests/fixtures/v1.2/invalid/e304_wrong_kind_in_operand.rob +14 -0
  331. robolang-0.2.0/tests/fixtures/v1.2/simulation/cases.json +452 -0
  332. robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_and.rob +11 -0
  333. robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_not.rob +11 -0
  334. robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/pre_or.rob +11 -0
  335. robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/wait_combined.rob +9 -0
  336. robolang-0.2.0/tests/fixtures/v1.2/simulation/sources/wait_not.rob +9 -0
  337. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/and_false_unknown.json +72 -0
  338. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/base.json +74 -0
  339. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/both_blocked.json +76 -0
  340. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/box_present.json +75 -0
  341. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/box_unknown.json +72 -0
  342. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/cell_cleared_then_blocked.json +84 -0
  343. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/cell_unknown.json +72 -0
  344. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/right_blocked.json +74 -0
  345. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/sensor_unknown.json +73 -0
  346. robolang-0.2.0/tests/fixtures/v1.2/simulation/worlds/wait_events.json +93 -0
  347. robolang-0.2.0/tests/fixtures/v1.2/valid/and_in_pre.rob +14 -0
  348. robolang-0.2.0/tests/fixtures/v1.2/valid/flatten_grouping.rob +16 -0
  349. robolang-0.2.0/tests/fixtures/v1.2/valid/multiline_condition.rob +15 -0
  350. robolang-0.2.0/tests/fixtures/v1.2/valid/nesting_at_limit.rob +14 -0
  351. robolang-0.2.0/tests/fixtures/v1.2/valid/nesting_limit_with_conjunction.rob +14 -0
  352. robolang-0.2.0/tests/fixtures/v1.2/valid/not_in_pre.rob +15 -0
  353. robolang-0.2.0/tests/fixtures/v1.2/valid/not_of_group.rob +15 -0
  354. robolang-0.2.0/tests/fixtures/v1.2/valid/or_in_pre.rob +14 -0
  355. robolang-0.2.0/tests/fixtures/v1.2/valid/parenthesized_mix.rob +15 -0
  356. robolang-0.2.0/tests/fixtures/v1.2/valid/wait_until_combined.rob +13 -0
  357. robolang-0.2.0/tests/fixtures/v1.3/README.md +42 -0
  358. robolang-0.2.0/tests/fixtures/v1.3/compat/goal_block_in_v1_2.rob +10 -0
  359. robolang-0.2.0/tests/fixtures/v1.3/compat/holding_in_v1_1.rob +10 -0
  360. robolang-0.2.0/tests/fixtures/v1.3/compat/names_of_v1_3_in_v1_1.rob +7 -0
  361. robolang-0.2.0/tests/fixtures/v1.3/compat/names_of_v1_3_in_v1_2.rob +14 -0
  362. robolang-0.2.0/tests/fixtures/v1.3/compat/object_at_in_v1_2.rob +10 -0
  363. robolang-0.2.0/tests/fixtures/v1.3/compat/sensor_ok_name_in_v1_2.rob +10 -0
  364. robolang-0.2.0/tests/fixtures/v1.3/compat/sensor_parameter_in_v1_2.rob +9 -0
  365. robolang-0.2.0/tests/fixtures/v1.3/compat/string_sensor_in_v1_2.rob +13 -0
  366. robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_goal_missing_semicolon_brace.rob +10 -0
  367. robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_holding_one_name.rob +10 -0
  368. robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_inspect_sensor_is_a_number.rob +10 -0
  369. robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_object_at_one_name.rob +10 -0
  370. robolang-0.2.0/tests/fixtures/v1.3/invalid/e201_sensor_ok_without_parameter.rob +11 -0
  371. robolang-0.2.0/tests/fixtures/v1.3/invalid/e202_goal_condition_without_semicolon.rob +10 -0
  372. robolang-0.2.0/tests/fixtures/v1.3/invalid/e204_unknown_condition_in_goal.rob +10 -0
  373. robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_after_plan.rob +10 -0
  374. robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_before_pre.rob +11 -0
  375. robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_empty.rob +10 -0
  376. robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_goal_without_plan.rob +9 -0
  377. robolang-0.2.0/tests/fixtures/v1.3/invalid/e208_two_goal_blocks.rob +11 -0
  378. robolang-0.2.0/tests/fixtures/v1.3/invalid/e211_message_received_in_goal.rob +10 -0
  379. robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_goal_as_name.rob +10 -0
  380. robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_holding_as_name.rob +10 -0
  381. robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_object_at_as_name.rob +10 -0
  382. robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_robot_at_as_name.rob +10 -0
  383. robolang-0.2.0/tests/fixtures/v1.3/invalid/e212_sensor_as_name.rob +10 -0
  384. robolang-0.2.0/tests/fixtures/v1.3/invalid/e214_mixed_in_goal.rob +10 -0
  385. robolang-0.2.0/tests/fixtures/v1.3/invalid/e215_too_deep_in_goal.rob +10 -0
  386. robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_inspect_sensor.rob +10 -0
  387. robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_name_in_goal.rob +10 -0
  388. robolang-0.2.0/tests/fixtures/v1.3/invalid/e303_undeclared_sensor.rob +11 -0
  389. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_holding_swapped.rob +10 -0
  390. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_inspect_using_robot.rob +10 -0
  391. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_new_atom_in_pre.rob +11 -0
  392. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_new_atom_in_wait_until.rob +10 -0
  393. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_object_at_location_is_object.rob +10 -0
  394. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_object_at_robot_first.rob +10 -0
  395. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_as_sensor.rob +11 -0
  396. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_at_object_first.rob +10 -0
  397. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_robot_at_region_second.rob +10 -0
  398. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_sensor_as_robot.rob +10 -0
  399. robolang-0.2.0/tests/fixtures/v1.3/invalid/e304_sensor_as_robot_in_goal.rob +10 -0
  400. robolang-0.2.0/tests/fixtures/v1.3/invalid/e309_missing_goal.rob +10 -0
  401. robolang-0.2.0/tests/fixtures/v1.3/invalid/e309_second_task_missing_goal.rob +14 -0
  402. robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_empty_string_sensor.rob +11 -0
  403. robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_inspect.rob +10 -0
  404. robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_goal.rob +10 -0
  405. robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_pre.rob +11 -0
  406. robolang-0.2.0/tests/fixtures/v1.3/invalid/e310_string_sensor_ok_in_wait_until.rob +10 -0
  407. robolang-0.2.0/tests/fixtures/v1.3/simulation/cases.json +1406 -0
  408. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_after_events.rob +7 -0
  409. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_combined.rob +16 -0
  410. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_false_and_unknown.rob +10 -0
  411. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_held.rob +11 -0
  412. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_holding.rob +10 -0
  413. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_never_moved.rob +7 -0
  414. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_unknown.rob +7 -0
  415. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/goal_unknown_and_true.rob +10 -0
  416. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/holding_unknown.rob +7 -0
  417. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/limit_with_goal.rob +8 -0
  418. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pick_place.rob +13 -0
  419. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_holding.rob +8 -0
  420. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_new_atoms.rob +10 -0
  421. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/pre_object_unknown.rob +8 -0
  422. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_inspect.rob +7 -0
  423. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_pre.rob +8 -0
  424. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_two.rob +8 -0
  425. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/sensor_wait.rob +7 -0
  426. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/two_tasks.rob +12 -0
  427. robolang-0.2.0/tests/fixtures/v1.3/simulation/sources/wait_object_at.rob +10 -0
  428. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/base.json +225 -0
  429. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_location_to_sensor.json +225 -0
  430. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_robot_to_sensor.json +225 -0
  431. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_to_location.json +225 -0
  432. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_to_robot.json +225 -0
  433. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/binding_sensor_undeclared.json +225 -0
  434. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_absent.json +224 -0
  435. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_at_table.json +225 -0
  436. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_held_at_start.json +225 -0
  437. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/box_unknown.json +222 -0
  438. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cancel_step_4.json +228 -0
  439. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_blocked_then_clear.json +235 -0
  440. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_blocked_then_clear_late.json +235 -0
  441. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/cell_clear_then_blocked.json +235 -0
  442. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/fault_step_2.json +230 -0
  443. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/robot_at_shelf.json +225 -0
  444. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/robot_not_ready.json +225 -0
  445. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_aux.json +225 -0
  446. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_dead.json +225 -0
  447. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_other_robot.json +225 -0
  448. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_inspect_unknown.json +225 -0
  449. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_name_is_robot_name.json +229 -0
  450. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_pre_dead.json +225 -0
  451. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_pre_unknown.json +225 -0
  452. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_two_swapped.json +225 -0
  453. robolang-0.2.0/tests/fixtures/v1.3/simulation/worlds/sensor_wait_dead_then_ok.json +235 -0
  454. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_combined.rob +16 -0
  455. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_holding.rob +15 -0
  456. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_object_at.rob +20 -0
  457. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_robot_at.rob +14 -0
  458. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_several_conditions.rob +16 -0
  459. robolang-0.2.0/tests/fixtures/v1.3/valid/goal_without_pre.rob +14 -0
  460. robolang-0.2.0/tests/fixtures/v1.3/valid/new_atoms_in_pre.rob +19 -0
  461. robolang-0.2.0/tests/fixtures/v1.3/valid/new_atoms_in_wait_until.rob +15 -0
  462. robolang-0.2.0/tests/fixtures/v1.3/valid/safety_with_goal.rob +12 -0
  463. robolang-0.2.0/tests/fixtures/v1.3/valid/sensor_parameter_inspect.rob +15 -0
  464. robolang-0.2.0/tests/fixtures/v1.3/valid/sensor_parameter_ok.rob +18 -0
  465. robolang-0.2.0/tests/fixtures/v1.3/valid/two_tasks.rob +23 -0
  466. robolang-0.2.0/tests/fixtures/v1.4/valid/branch_route.rob +25 -0
  467. robolang-0.2.0/tests/fixtures/v1.4/valid/fail_report.rob +20 -0
  468. robolang-0.2.0/tests/fixtures/v1.4/valid/sequential_ifs.rob +20 -0
  469. robolang-0.2.0/tests/fixtures/valid/all_conditions.rob +15 -0
  470. robolang-0.2.0/tests/fixtures/valid/compact_formatting.rob +20 -0
  471. robolang-0.2.0/tests/fixtures/valid/inspect_with_sensor.rob +10 -0
  472. robolang-0.2.0/tests/fixtures/valid/max_speed_angular_then_linear.rob +11 -0
  473. robolang-0.2.0/tests/fixtures/valid/max_speed_angular_unit.rob +10 -0
  474. robolang-0.2.0/tests/fixtures/valid/max_speed_linear_and_angular.rob +11 -0
  475. robolang-0.2.0/tests/fixtures/valid/max_speed_linear_unit.rob +10 -0
  476. robolang-0.2.0/tests/fixtures/valid/minimal_task.rob +9 -0
  477. robolang-0.2.0/tests/fixtures/valid/multiple_tasks.rob +19 -0
  478. robolang-0.2.0/tests/fixtures/valid/pick_and_place_v1_compat.rob +20 -0
  479. robolang-0.2.0/tests/fixtures/valid/string_escapes.rob +12 -0
  480. robolang-0.2.0/tests/fixtures/valid/unit_words_as_names.rob +10 -0
  481. robolang-0.2.0/tests/fixtures/valid/version_marker.rob +12 -0
  482. robolang-0.2.0/tests/fixtures/valid/wait_durations.rob +11 -0
  483. robolang-0.2.0/tests/fixtures/valid/wait_until_with_timeout.rob +12 -0
  484. robolang-0.2.0/tests/snapshots/ir/all_conditions.json +58 -0
  485. robolang-0.2.0/tests/snapshots/ir/compact_formatting.json +61 -0
  486. robolang-0.2.0/tests/snapshots/ir/inspect_with_sensor.json +39 -0
  487. robolang-0.2.0/tests/snapshots/ir/max_speed_angular_then_linear.json +56 -0
  488. robolang-0.2.0/tests/snapshots/ir/max_speed_angular_unit.json +49 -0
  489. robolang-0.2.0/tests/snapshots/ir/max_speed_linear_and_angular.json +56 -0
  490. robolang-0.2.0/tests/snapshots/ir/max_speed_linear_unit.json +49 -0
  491. robolang-0.2.0/tests/snapshots/ir/minimal_task.json +29 -0
  492. robolang-0.2.0/tests/snapshots/ir/multiple_tasks.json +80 -0
  493. robolang-0.2.0/tests/snapshots/ir/pick_and_place_v1_compat.json +80 -0
  494. robolang-0.2.0/tests/snapshots/ir/string_escapes.json +54 -0
  495. robolang-0.2.0/tests/snapshots/ir/unit_words_as_names.json +36 -0
  496. robolang-0.2.0/tests/snapshots/ir/version_marker.json +29 -0
  497. robolang-0.2.0/tests/snapshots/ir/wait_durations.json +36 -0
  498. robolang-0.2.0/tests/snapshots/ir/wait_until_with_timeout.json +74 -0
  499. robolang-0.2.0/tests/snapshots/ir-v1.2/and_in_pre.json +59 -0
  500. robolang-0.2.0/tests/snapshots/ir-v1.2/flatten_grouping.json +97 -0
  501. robolang-0.2.0/tests/snapshots/ir-v1.2/multiline_condition.json +59 -0
  502. robolang-0.2.0/tests/snapshots/ir-v1.2/nesting_at_limit.json +62 -0
  503. robolang-0.2.0/tests/snapshots/ir-v1.2/nesting_limit_with_conjunction.json +80 -0
  504. robolang-0.2.0/tests/snapshots/ir-v1.2/not_in_pre.json +69 -0
  505. robolang-0.2.0/tests/snapshots/ir-v1.2/not_of_group.json +66 -0
  506. robolang-0.2.0/tests/snapshots/ir-v1.2/or_in_pre.json +63 -0
  507. robolang-0.2.0/tests/snapshots/ir-v1.2/parenthesized_mix.json +90 -0
  508. robolang-0.2.0/tests/snapshots/ir-v1.2/wait_until_combined.json +88 -0
  509. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_combined.json +94 -0
  510. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_holding.json +57 -0
  511. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_object_at.json +73 -0
  512. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_robot_at.json +52 -0
  513. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_several_conditions.json +61 -0
  514. robolang-0.2.0/tests/snapshots/ir-v1.3/goal_without_pre.json +52 -0
  515. robolang-0.2.0/tests/snapshots/ir-v1.3/new_atoms_in_pre.json +71 -0
  516. robolang-0.2.0/tests/snapshots/ir-v1.3/new_atoms_in_wait_until.json +81 -0
  517. robolang-0.2.0/tests/snapshots/ir-v1.3/safety_with_goal.json +49 -0
  518. robolang-0.2.0/tests/snapshots/ir-v1.3/sensor_parameter_inspect.json +58 -0
  519. robolang-0.2.0/tests/snapshots/ir-v1.3/sensor_parameter_ok.json +68 -0
  520. robolang-0.2.0/tests/snapshots/ir-v1.3/two_tasks.json +97 -0
  521. robolang-0.2.0/tests/snapshots/ir-v1.4/branch_route.json +130 -0
  522. robolang-0.2.0/tests/snapshots/ir-v1.4/fail_report.json +87 -0
  523. robolang-0.2.0/tests/snapshots/ir-v1.4/sequential_ifs.json +104 -0
  524. robolang-0.2.0/tests/test_adapter.py +63 -0
  525. robolang-0.2.0/tests/test_all_diagnostics.py +202 -0
  526. robolang-0.2.0/tests/test_arch02.py +261 -0
  527. robolang-0.2.0/tests/test_arch02_corrections.py +341 -0
  528. robolang-0.2.0/tests/test_arch02_fixtures.py +255 -0
  529. robolang-0.2.0/tests/test_arch02_golden.py +68 -0
  530. robolang-0.2.0/tests/test_arch02_record.py +144 -0
  531. robolang-0.2.0/tests/test_bench.py +503 -0
  532. robolang-0.2.0/tests/test_bench_ask.py +314 -0
  533. robolang-0.2.0/tests/test_bench_branch.py +239 -0
  534. robolang-0.2.0/tests/test_bench_gate.py +62 -0
  535. robolang-0.2.0/tests/test_bench_hard.py +562 -0
  536. robolang-0.2.0/tests/test_bridge.py +67 -0
  537. robolang-0.2.0/tests/test_cli.py +548 -0
  538. robolang-0.2.0/tests/test_core.py +259 -0
  539. robolang-0.2.0/tests/test_core_outcome.py +245 -0
  540. robolang-0.2.0/tests/test_core_precedence.py +79 -0
  541. robolang-0.2.0/tests/test_delegate.py +418 -0
  542. robolang-0.2.0/tests/test_delegate_peer.py +475 -0
  543. robolang-0.2.0/tests/test_examples.py +29 -0
  544. robolang-0.2.0/tests/test_export_goal.py +375 -0
  545. robolang-0.2.0/tests/test_fixtures.py +90 -0
  546. robolang-0.2.0/tests/test_h3_trust.py +136 -0
  547. robolang-0.2.0/tests/test_interop.py +257 -0
  548. robolang-0.2.0/tests/test_interop_bundle.py +214 -0
  549. robolang-0.2.0/tests/test_interop_harness.py +374 -0
  550. robolang-0.2.0/tests/test_interop_spec.py +52 -0
  551. robolang-0.2.0/tests/test_ir.py +261 -0
  552. robolang-0.2.0/tests/test_ir_reader.py +458 -0
  553. robolang-0.2.0/tests/test_known_limitations.py +186 -0
  554. robolang-0.2.0/tests/test_lang1.py +198 -0
  555. robolang-0.2.0/tests/test_lang14.py +378 -0
  556. robolang-0.2.0/tests/test_lang2.py +785 -0
  557. robolang-0.2.0/tests/test_lexer.py +186 -0
  558. robolang-0.2.0/tests/test_packaging.py +72 -0
  559. robolang-0.2.0/tests/test_parser.py +369 -0
  560. robolang-0.2.0/tests/test_reference.py +83 -0
  561. robolang-0.2.0/tests/test_runtime_smoke.py +117 -0
  562. robolang-0.2.0/tests/test_sim14.py +450 -0
  563. robolang-0.2.0/tests/test_sim_cli.py +269 -0
  564. robolang-0.2.0/tests/test_sim_cli_bind.py +181 -0
  565. robolang-0.2.0/tests/test_sim_executor.py +281 -0
  566. robolang-0.2.0/tests/test_sim_values.py +70 -0
  567. robolang-0.2.0/tests/test_sim_world.py +419 -0
  568. robolang-0.2.0/tests/test_simulation_fixtures.py +156 -0
  569. robolang-0.2.0/tests/test_v1_2_fixtures.py +178 -0
  570. robolang-0.2.0/tests/test_v1_3_fixtures.py +207 -0
  571. robolang-0.2.0/tests/test_validate_world.py +193 -0
  572. 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]
@@ -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.