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

Replace \hole() with #hole #49

Open
h0nzZik opened this issue Mar 10, 2020 · 4 comments
Open

Replace \hole() with #hole #49

h0nzZik opened this issue Mar 10, 2020 · 4 comments

Comments

@h0nzZik
Copy link
Collaborator

h0nzZik commented Mar 10, 2020

This:

syntax Pattern ::= Int
...
| "\\hole" "(" ")" [klabel(Phole)]

is a conceptual duplication of

syntax Variable ::= "#hole"

(from https://github.com/kframework/matching-logic-prover/blob/master/prover/lang/kore-lang.md)

@nishantjr
Copy link
Member

nishantjr commented Mar 10, 2020

Any reason that this is not a variable?
nevermind. I misunderstood

@xc93
Copy link
Collaborator

xc93 commented Mar 15, 2020

Adding this: rule #hole => \\hole()?

@nishantjr
Copy link
Member

nishantjr commented Mar 17, 2020

\hole() looks more like a symbol than a variable. I think replacing all instances of \hole() with #hole makes sense? We may need to change #hole to a set variable depending on how we use it of course

@h0nzZik
Copy link
Collaborator Author

h0nzZik commented Mar 17, 2020

I have been thinking of completely removing \hole() and use only #hole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants