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

Move syntax extensions and macros out of compiler #1762

Closed
brson opened this issue Feb 5, 2012 · 12 comments
Closed

Move syntax extensions and macros out of compiler #1762

brson opened this issue Feb 5, 2012 · 12 comments
Labels
A-frontend Area: frontend (errors, parsing and HIR) P-medium Medium priority

Comments

@brson
Copy link
Contributor

brson commented Feb 5, 2012

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.

@graydon
Copy link
Contributor

graydon commented Feb 6, 2012

Yeah. They should also shift to using the quasiquoter for definition, now that it's present.

@brson
Copy link
Contributor Author

brson commented May 4, 2012

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.

@brson
Copy link
Contributor Author

brson commented May 29, 2013

No new developments this year.

@huonw
Copy link
Member

huonw commented May 30, 2013

@brson, there has been some. I've got a proof-of-concept: #6735.

@metajack
Copy link
Contributor

visiting for triage. nothing to add.

@erickt
Copy link
Contributor

erickt commented Jan 18, 2014

Nominating to close because #11151 landed. Woooooo!

@errordeveloper
Copy link
Contributor

It's been a while since #11151 has been merged, is there a reason for this 2+ year old issue to stay open?

@sfackler
Copy link
Member

The standard extensions are still embedded in libsyntax. They could be pulled out, but I'm not sure if it's worth the trouble.

@steveklabnik
Copy link
Member

Triage: I think @eddyb was working hard on this, but nothing has come of it yet.

@eddyb
Copy link
Member

eddyb commented Jan 20, 2015

@steveklabnik I completely forgot about it, mostly because I'm trying to use my severely limited time working on actual features.

@steveklabnik
Copy link
Member

Hehe, no wories, I don't blame you 😄

@steveklabnik
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: frontend (errors, parsing and HIR) P-medium Medium priority
Projects
None yet
Development

No branches or pull requests

9 participants