tfpk/macrokata resource
Learn Macros In Rust observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1415
- days_rel: n/a
- days_push: 781
- n_releases_24m: 0
Adoption not part of the score
1219 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
MacroKata is a set of ordered, hands-on exercises for learning how to write declarative macros (macro_rules!) in Rust. It ships with a small CLI binary that verifies each solution by checking that your code compiles, runs correctly, and expands to the same code as the reference solution.
Use cases
- learn how to write macros in rust
- practice writing macro_rules declarative macros
- hands-on exercises for rust macros
- understand what my rust macro expands to
- rust macro tutorial with graded tasks
- improve rust metaprogramming skills through kata
When to choose
- You already know basic Rust and want structured practice writing declarative macros
- You learn best by completing exercises with verifiable, compiler-checked goals
- You want to compare your macro expansion against a reference solution using cargo-expand
When to avoid
- You want to learn procedural macros - use dtolnay's proc-macro-workshop instead
- You are completely new to Rust and have not finished a beginner tutorial yet
- You need a production macro library or tool rather than learning material
Facets
learning-resource · maturity stable
developer-tools cli testing education developer-tools programming-languages tutorials rust cli cross-platform rust-macros declarative-macros macro-rules kata exercises cargo-expand hands-on-learning
2 sources
- readme: https://github.com/tfpk/macrokata · fetched 2026-08-28 · 4e47cf80d14c
- homepage: https://tfpk.github.io/macrokata · fetched 2026-08-29 · 6700914b60f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tfpk/macrokata | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem