split_tokens 0.1.0

Split compound tokens in their individual parts.
Documentation

Split compound tokens in their individual parts.

Example

#[macro_use]
extern crate split_tokens;

macro_rules! cb{
    ( ( $($args:tt)* ) ( $($out:tt)* ) ) => {
        //...
    }
}

fn main(){
    split_tokens!( (>>+=-=<<) then cb!() );
}