Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

saw-core pretty printer should use shorter unqualified names when possible #17

Closed
brianhuffman opened this issue Jul 14, 2015 · 2 comments
Assignees

Comments

@brianhuffman
Copy link
Contributor

When saw-core terms are printed out they are really verbose. They would be much easier to read if we used short names like and instead of fully qualified names like Prelude.and everywhere.

To implement this we will need to pass a naming environment to the pretty-printing function so that we can tell when it is ok to drop the qualifiers without being ambiguous.

@brianhuffman
Copy link
Contributor Author

To implement this, we should re-use Cryptol's NamingEnv type, and probably also re-use some of the functions that the Cryptol pretty-printer uses for deciding when to show names as qualified.

@brianhuffman
Copy link
Contributor Author

Implemented in #126.

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

No branches or pull requests

1 participant