-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feedback on WF and SF syntax #41
base: master
Are you sure you want to change the base?
Conversation
- Consistent subscript on `SF` and `WF` - Troubleshooting hints for accidentally redefining them in TLA+ (which I tried to do while learning)
I am obscenely behind, sorry, but I haven't forgotten this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good changes! Two requests:
- In line (365) it should still be
Next]_vars
because it's a direct translation from pluscal. - I'd like to see the spec you wrote that produced the error you included troubleshooting for, just to better understand what went wrong there. Doesn't have to be included in the actual manual, feel free to just attach it in a PR comment.
docs/core/tla.rst
Outdated
or | ||
Encountered "SF_" at line X, column Y | ||
|
||
It's because you try to redefine operator ``WF_var(A)`` or ``SF_var(A)`` whereas they are already taken keywords. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you provide the spec that you got that caused error to appear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, sorry for the late reply. Has been occupied by work. Will try to update this PR this week. <>[PR updated this week]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SF
andWF