Skip to content

Quote misc - #4129

Closed
graydon wants to merge 8 commits into
rust-lang:incomingfrom
graydon:quote-misc
Closed

Quote misc#4129
graydon wants to merge 8 commits into
rust-lang:incomingfrom
graydon:quote-misc

Conversation

@graydon

@graydon graydon commented Dec 7, 2012

Copy link
Copy Markdown
Contributor

This gets the new token-tree quasiquoter up to the point of being able to stand in for of #ast in the pipe protocol compiler; #ast is only there in #[cfg(stage0)], whereas it's quote_expr! and quote_type! in #[cfg(stage1)] and [#cfg(stage2)]. Also makes the splicing machinery much more robust and extensible (you are allowed to splice anything that implements ToTokens).

While this looks like a lot of sound and noise for nothing, it enables (post-snapshot) cutting out substantial portions of the redundant macro machinery in the frontend. #ast and the quasiquoter is sort of the last thread holding it in place (from last summer).

@ghost ghost assigned brson Dec 7, 2012
@graydon

graydon commented Dec 7, 2012

Copy link
Copy Markdown
Contributor Author

r? @brson

@brson

brson commented Dec 7, 2012

Copy link
Copy Markdown
Contributor

Awesome work. r+

@graydon

graydon commented Dec 7, 2012

Copy link
Copy Markdown
Contributor Author

This landed in bcde593

@graydon graydon closed this Dec 7, 2012
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
4129: Don't print cargo version to stdout, breaking everything r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants