Completed
Develop as a normal (non-macro) project
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Nine Rules for Creating Procedural Macros in Rust - Lecture
Automatically move to the next video in the Classroom when playback concludes
- 1 Nine Rules for Creating Procedural Macros in Rust
- 2 Talk's Approach: 9 "Rules"
- 3 Develop as a normal (non-macro) project
- 4 Convert freely: Strings, Syntax trees, Literal code
- 5 Create debuggable unit tests
- 6 Understand Rust syntax trees
- 7 Recursively manipulate syntax trees
- 8 Follow the rules of elegant Rust API design
- 9 Conclusion: Follow these 9 rules and ... writing macros as easy as writing a regular Rust program ... that manipulates large, nested structs.