Skip to content
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

defined and placed syntax #35

Open
dwhatley19 opened this issue Mar 13, 2021 · 0 comments
Open

defined and placed syntax #35

dwhatley19 opened this issue Mar 13, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dwhatley19
Copy link
Contributor

https://web.mit.edu/dwhatley/www/snapdown/web/production.html#%231%20-%3E%201%0Aa%20-%3E%20%5B%231%2C%202%2C%203%2C%204%2C%205%2C%206%2C%207%2C%208%5D%0A---%0Ab%20-%3E%202%0A%231%20-%3E%20b

Ideally, we'd have b not be in the diagram on step 0, but also be on the left (or more generally, the user should have control over where b appears).

Proposed syntax:

b defined
#1 -> 1
a -> [#1, 2, 3, 4, 5, 6, 7, 8]
---
b -> 2
#1 -> b

Or, if we want the variable b to appear, but not point to anything yet:

b placed
#1 -> 1
a -> [#1, 2, 3, 4, 5, 6, 7, 8]
---
b -> 2
#1 -> b
@dwhatley19 dwhatley19 added the enhancement New feature or request label May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant