-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Move syntax extensions and macros out of compiler #1762
Comments
Yeah. They should also shift to using the quasiquoter for definition, now that it's present. |
They are now in rustsyntax, which at least isolates them from most of the compiler. They still belong in their own little, dynamically loaded world. |
No new developments this year. |
visiting for triage. nothing to add. |
Nominating to close because #11151 landed. Woooooo! |
It's been a while since #11151 has been merged, is there a reason for this 2+ year old issue to stay open? |
The standard extensions are still embedded in libsyntax. They could be pulled out, but I'm not sure if it's worth the trouble. |
Triage: I think @eddyb was working hard on this, but nothing has come of it yet. |
@steveklabnik I completely forgot about it, mostly because I'm trying to use my severely limited time working on actual features. |
Hehe, no wories, I don't blame you 😄 |
I'm pulling a massive triage effort to get us ready for 1.0. As part of this, I'm moving stuff that's wishlist-like to the RFCs repo, as that's where major new things should get discussed/prioritized. This issue has been moved to the RFCs repo: rust-lang/rfcs#874 |
The compiler knows a lot more about syntax extensions than it ever should have. There's a danger that our syntax extensions could become hopelessly intertwined with rustc. We need to get a real plugin mechanism working before it is too late.
Depends on #458. See alse #38.
The text was updated successfully, but these errors were encountered: