eager

Build Status

Rust crate for simulating eager macro expansion.

Example

```Rust

[macro_use]

extern crate eager;

//Declare an eager macro eagermacrorules!{ $eager1 macrorules! plus_1{ ()=>{+ 1}; } }

fn main(){ // Use the macro inside an eager! call to expand it eagerly asserteq!(4, eager!{2 plus1!() plus_1!()}); } ```

License

Licensed under the MIT license.