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

Why is ident-to-string conversion done during parsing instead of compilation? #72

Open
andres-erbsen opened this issue Nov 19, 2022 · 0 comments

Comments

@andres-erbsen
Copy link
Contributor

IIUC let/n and such associate binders with string names so that compilation can use the same names for Bedrock2 variables. But why do it eagerly, as opposed to accepting normal binders and calling ident_to_string during compilation?

Looking at https://pit-claudel.fr/clement/PhD/RelationalCompilation_Pit-Claudel_2022.pdf page 103 I see an instance where the non-string names change around applying a lemma. Is it the case that nlet is needed so that names can be propagated goals before a lemma is applied to goals after a lemma is applied even if the binder appears both in the conclusion and premise of the lemma?

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

1 participant