Skip to content

Instantly share code, notes, and snippets.

@eholk
Created June 25, 2013 17:17
Show Gist options
  • Save eholk/5860368 to your computer and use it in GitHub Desktop.
Save eholk/5860368 to your computer and use it in GitHub Desktop.
macro_rules! foo (
// 24 in a row!
(!@#~=|%^&:/+*(){,}[;].$_x:ident) => { 5 }
)
fn main() {}
@eholk
Copy link
Author

eholk commented Jun 25, 2013

I'm still missing ?, \, ?, ', " and `.

@eholk
Copy link
Author

eholk commented Jun 25, 2013

We've decided to disqualify this one because the symbols don't all have semantic/syntactic meaning. We're just arbitrarily stringing symbols together in a macro definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment