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

Design compiler IR #15

Open
dtolnay opened this issue Sep 10, 2019 · 0 comments
Open

Design compiler IR #15

dtolnay opened this issue Sep 10, 2019 · 0 comments

Comments

@dtolnay
Copy link
Owner

dtolnay commented Sep 10, 2019

The current IR (based on WipFunction for functions, and ValueRef + ValueNode for values) just barely works for simple macros but is probably not going to be pleasant to work with internally as the compiler gets more interesting.

Basically the entire current implementation in the src/ directory is just supposed to be a proof of concept that we can stack enough RefCells on top of each other to get something reasonably convenient from the user's perspective. 😈 I am open to completely replacing it as needed.

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