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

Builder: generate names #1635

Closed
Tracked by #1636
anshumanmohan opened this issue Jul 25, 2023 · 1 comment · Fixed by #1664
Closed
Tracked by #1636

Builder: generate names #1635

anshumanmohan opened this issue Jul 25, 2023 · 1 comment · Fixed by #1664
Labels
C: calyx-py Items that have to do with the builder library

Comments

@anshumanmohan
Copy link
Contributor

anshumanmohan commented Jul 25, 2023

It would be cool if the builder had a central "gensym" utility for generating fresh names. Then these utilities wouldn't need to take in a group and cell name (or at least they could be optional); the builder would just call them lt1234 or whatever automatically.

Originally posted by @sampsyo in #1630 (comment)

@rachitnigam
Copy link
Contributor

Great Idea! The ir::Namegenerator struct does this for the Rust-based builder/

@anshumanmohan anshumanmohan added the C: calyx-py Items that have to do with the builder library label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: calyx-py Items that have to do with the builder library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants