-
Notifications
You must be signed in to change notification settings - Fork 78
Allow :searching partially-applied SAW context types
#2748
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
Conversation
|
There are, I'm afraid, some holes in this as it stands; e.g. I think the right thing to do is fold (also, while you're touching this file, could you delete the |
|
Also it might be a good idea to replace the note in the docs about needing |
|
And a third thing (sorry, should have thought of these all at once and sent fewer emails), can you add a CHANGES entry? |
|
And a fourth: thanks for attending to this, I'd been figuring it was going to require burning out |
This makes the parser a bit more permissive in the `:search` patterns it accepts, so also introduce some regression tests to that effect.
Specifically, whitespace in the file specifying the grammar to be parsed, _not_ whitespace rules in the grammar itself.
92122e8 to
cc7272d
Compare
I'm pleasantly surprised to see that the parser doesn't complain about that change, so I've made it in d4c37a4. I also added tests in that commit for those now-no-longer-failing cases you discovered - thanks for discovering them!
Ah, thanks for the reminder, I noticed that as well. I've removed that, as well as one other non-user-facing occurrence of
Good idea, done in 4948104.
No problem, done in cc7272d. |
sauclovian-g
left a comment
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.
Otherwise LGTM
As in, allow a user to write
:search ProofScriptat the SAW REPL, rather than requiring them to write:search (ProofScript _)- though the latter is still allowed.