1. Foreword
  2. Getting Started with RPL
    1. Installation
    2. Hello World
    3. Why We Need a Pattern Language for Code
    4. Quick CLI Tour: cargo rpl
  3. Language Fundamentals
    1. Syntax Overview
    2. Meta-Variabl es & Placeholders
    3. Pattern Blocks
    4. Constraints & Predicates
    5. Match Output & Diagnostics
  4. Semantics Model
    1. MIR Basics and Integration
    2. Control-Flow & Data-Dependence Graphs
    3. Semantic Equivalence Checking
    4. Inline MIR vs Traditional MIR
  5. Case Studies
    1. Memory-Safety CVEs
    2. Undefined Behavior
    3. Open-Source Projects
  6. Appendices
    1. Complete Syntax Reference
    2. Error Codes & Remedies
    3. Patterns