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

eager_macro_rules!: Selective implementations #1

Open
Emoun opened this issue Jul 7, 2018 · 0 comments
Open

eager_macro_rules!: Selective implementations #1

Emoun opened this issue Jul 7, 2018 · 0 comments

Comments

@Emoun
Copy link
Owner

Emoun commented Jul 7, 2018

Allow the user to choose whether each rule should be implemented both normally and eagerly, just normally, or just eagerly:

eager_macro_rules!{$eager_1
    macro_rules! some_macro {
        {   // The default behaviour should be both
            ...
        } => { ... };
       @not_eager {   // Does not support eager
            ...
        } => { ... };
        @only_eager{   // Only supports eager, does not support non-eager
            ...
        } => { ... };
    }
}
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