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

Expand quote! to allow for using all tokens and literals #34

Merged
merged 1 commit into from Sep 8, 2020

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Sep 8, 2020

All the necessary literals in the AST have been extended to support grabbing a synthesized source (or a literal one, which byte and char does).

The only hairy spot is potentially template strings, since they are "stringly" typed until they are resolved, at which point they are recursively parsed. I'll be opening up a separate issue for that.

To celebrate this, we now have a `stringy_math!` macro which is used in
documentation of the upcoming macro feature.
@udoprog udoprog merged commit be47d45 into master Sep 8, 2020
@udoprog udoprog deleted the expanded-quote branch September 8, 2020 13:54
@udoprog udoprog added the enhancement New feature or request label Sep 9, 2020
@udoprog udoprog added the changelog Issue has been added to the changelog label Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog Issue has been added to the changelog enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant