split_tokens

Crates.iosplit_tokens
lib.rssplit_tokens
version0.1.0
sourcesrc
created_at2016-07-30 10:03:23.105466
updated_at2016-07-30 10:03:23.105466
descriptionSplit compound tokens in their individual parts.
homepage
repositoryhttps://github.com/bjorn3/split_tokens
max_upload_size
id5832
size2,572
(bjorn3)

documentation

README

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!() );
}
Commit count: 3

cargo fmt