We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Macro Rules practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 13 of 13
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Accumulate enum variants in a recursive macro | Hard | Primitives |
|
| A mini DSL: compile-time expression evaluation | Hard | Primitives |
|
| Build vector, pattern-matching and map macros | Medium | Primitives |
|
| Classify syntax with macro fragment specifiers | Medium | Primitives |
|
| Count macro arguments with stable Rust | Medium | Primitives |
|
| Follow-set rules: why the compiler rejects your matcher | Hard | Primitives |
|
| Macro callbacks and token-tree bundles | Hard | Primitives |
|
| Macro hygiene: why your variable didn't leak | Medium | Primitives |
|
| Macro recursion and incremental TT munchers | Hard | Primitives |
|
| Macro repetition: lists and repeated values | Easy | Primitives |
|
| Nested repetition and zipping metavariables | Hard | Primitives |
|
| Preserve expression grouping in a macro | Medium | Primitives |
|
| Your first macro_rules!: matchers and transcribers | Easy | Primitives |
|