-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support adding definitions to the base before starting the scenario (e.g. to implement a DSL) #838
Comments
Fixed the bug, but now I realized there's another issue: See the |
Part of #838. It should now work to specify a `program` for the base robot with definitions, which the player can subsequently use. Unfortunately we still cannot *test* such a scenario since any `solution` is typechecked in an empty context instead of in a context generated by the base `program`.
@byorgey Is there a reason we can not just concatenate program and solution? All normal bugs and limitations of swarm terms would of course apply, but I don’t see much benefit to solving them here separately. 🤷 |
You mean when checking the |
@byorgey Or we could do it after parsing and "concatenate" using the |
This issue may overlap with #778. |
These would be placed in the
program
field of a player's robot in a Scenario.The text was updated successfully, but these errors were encountered: