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

Add a function to find Name from OrigName #1522

Open
yav opened this issue May 24, 2023 · 0 comments
Open

Add a function to find Name from OrigName #1522

yav opened this issue May 24, 2023 · 0 comments
Labels
cryptol-as-a-library Uses of Cryptol from Haskell

Comments

@yav
Copy link
Member

yav commented May 24, 2023

This would be handy for a few reasons:

  • We could probably avoid having PrimMap to resolve "wired-in" syntac
  • It would be handy to have in verification contexts where one may want to refer to things that are not necessarily in scope or exported (e.g., when using Cryptol from SAW, or running test via the Python API)

Since the original name contains the path of modules and the indentifer, and each module should only define one thing
with a particular name, this should be fairly straight forward.

Another benefit of having this function and using it is that it would further test that the original names for things are correct,
as they are not heavy used at present...

@yav yav added the cryptol-as-a-library Uses of Cryptol from Haskell label May 24, 2023
yav added a commit that referenced this issue May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cryptol-as-a-library Uses of Cryptol from Haskell
Projects
None yet
Development

No branches or pull requests

1 participant