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

User namable anonymous modules #1810

Open
yav opened this issue Feb 19, 2025 · 0 comments · May be fixed by #1811
Open

User namable anonymous modules #1810

yav opened this issue Feb 19, 2025 · 0 comments · May be fixed by #1811
Assignees
Labels
parameterized modules Related to Cryptol's parameterized modules

Comments

@yav
Copy link
Member

yav commented Feb 19, 2025

Some constructs in the module system introduce implicitly defined modules/interfaces. At the moment these have pretty long names, which are not valid Cryptol identifiers. On the one hand, this is good because it avoids collisions with user-defined names.

On the other hand, this is a problem for other tools integrating with Cryptol: for example if we want to reason about a Cryptol specification, we may want to refer to things defined in these implicit modules, but we can't do it, because we have no convenient way to name the anonymous modules.

To solve this we should introduce a different naming scheme for implicit modules introduce by the module system.

@yav yav added the parameterized modules Related to Cryptol's parameterized modules label Feb 19, 2025
@yav yav self-assigned this Feb 19, 2025
yav added a commit that referenced this issue Feb 20, 2025
Fixes #1810.  We use shorter and more readable names, which are
valid identifiers.
@yav yav linked a pull request Feb 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parameterized modules Related to Cryptol's parameterized modules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant