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

Hygienic parsing #3

Open
cbreeden opened this issue Jul 16, 2017 · 0 comments
Open

Hygienic parsing #3

cbreeden opened this issue Jul 16, 2017 · 0 comments

Comments

@cbreeden
Copy link
Owner

Currently we had to dump syn::parse::token_trees since it's too slow. (It took 20 seconds to parse the symbols.rs benchmark). We use custom parsing right now, separating identifies by @ and ?, but this is not hygienic and could fail with something like:

let map: Map<A, B> = static_map! {
    Default: 0u32,
    "This @ is ? bad" => 0u32,
}
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

No branches or pull requests

1 participant