Picker
  • Home
  • Java
  • Rust
  • Golang
  • C
  • C++
  • AI
  • Tools
Length of Last Word
Maximum Subarray
Count and Say
Search Insert Position
The Little Book of Rust Macros
Rocket Hello World
Rust Hello World

The Little Book of Rust Macros


This book is an attempt to distil the Rust community’s collective knowledge of Rust macros.

  • Macros, A Methodical Introduction
    • Syntax Extensions
      • Source Analysis
      • Macros in the AST
      • Expansion
    • macro_rules!
    • Minutiae
      • Captures and Expansion Redux
      • Hygiene
      • Non-Identifier Identifiers
      • Debugging
      • Scoping
      • Import/Export
  • Macros, A Practical Introduction
  • Patterns
    • Callbacks
    • Incremental TT Munchers
    • Internal Rules
    • Push-Down Accumulation
    • Repetition Replacement
    • Trailing Separators
    • TT Bundling
    • Visibility
    • Provisional
  • Building Blocks
    • AST Coercion
    • Counting
    • Enum Parsing
  • Annotated Examples
    • Ook!
Tags:Rust
Source:https://danielkeep.github.io/tlborm/book/README.html