We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Macro Rules practice problems in Rust
Difficulty:
Category:
Tag:
Showing 13 of 13
| Status | Title | Difficulty | Category | Tags |
|---|---|---|---|---|
| A mini DSL: compile-time expression evaluation | Hard | Primitives |
|
|
| Building std's macros: vec!, matches!, a HashMap literal | Medium | Primitives |
|
|
| Callbacks and TT bundling | Hard | Primitives |
|
|
| Counting repetitions without ${count} (which is still unstable) | Medium | Primitives |
|
|
| expr is atomic, tt is not: the precedence trap | Medium | Primitives |
|
|
| Follow-set rules: why the compiler rejects your matcher | Hard | Primitives |
|
|
| Fragment specifiers: the complete tour | Medium | Primitives |
|
|
| Internal rules and push-down accumulation | Hard | Primitives |
|
|
| Macro hygiene: why your variable didn't leak | Medium | Primitives |
|
|
| Macro recursion and incremental TT munchers | Hard | Primitives |
|
|
| Nested repetition and zipping metavariables | Hard | Primitives |
|
|
| Repetition: $(...),* and friends | Easy | Primitives |
|
|
| Your first macro_rules!: matchers and transcribers | Easy | Primitives |
|