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 #874

Closed
steveklabnik opened this issue Feb 16, 2015 · 3 comments
Closed

Move syntax extensions and macros out of compiler #874

steveklabnik opened this issue Feb 16, 2015 · 3 comments
Labels
T-compiler Relevant to the compiler team, which will review and decide on the RFC. T-libs-api Relevant to the library API team, which will review and decide on the RFC.

Comments

@steveklabnik
Copy link
Member

Issue by brson
Sunday Feb 05, 2012 at 23:36 GMT

For earlier discussion, see rust-lang/rust#1762

This issue was labelled with: A-frontend, A-libs, I-wrong, P-high in the Rust repository


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.

@Manishearth
Copy link
Member

cc @brson @eddyb

@Manishearth
Copy link
Member

Examples of where the syntexts are (or might become) intertwined?

As far as I can see, the only ones are quasiquoting and macro_rules!. #[derive] could become intertwined (but it's not). Anything else?

@petrochenkov petrochenkov added T-libs-api Relevant to the library API team, which will review and decide on the RFC. T-compiler Relevant to the compiler team, which will review and decide on the RFC. labels Jan 29, 2018
@Centril
Copy link
Contributor

Centril commented Oct 7, 2018

I think this issue is moot so I'm closing it.

@Centril Centril closed this as completed Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-compiler Relevant to the compiler team, which will review and decide on the RFC. T-libs-api Relevant to the library API team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

4 participants