← Previous
Next Page →
Up
Start
Contents
Index
Start
Contents
About This Book
Introduction
Syntax
Program Structure
Program Control
Types and Classes
Functions
Conditions
Collections
Sealing
Macros
Overview
Extensible Grammar
Macro Names
Rewrite Rules
Patterns
Pattern Variable Constraints
Templates
Auxiliary Rule Sets
Hygiene
Rewrite Rule Examples
The Built-In Classes
The Built-In Functions
Other Built-In Objects
The Built-In Macros and Special Definitions
BNF
Exported Names
Glossary
Index
Colophon
Errata
Chapter 10
Macros
Macros
Contents
Overview
Compilation and Macro Processing
Extensible Grammar
Definition Macros
Statement Macros
Function Macros
Macro Names
Rewrite Rules
Patterns
Special Rules for Definitions
Special Rules for Statements
Special Rules for Function Macros
Pattern Variable Constraints
Intermediate Words
Templates
Auxiliary Rule Sets
Hygiene
Intentional Hygiene Violation
Hygiene Versus Module Encapsulation
Rewrite Rule Examples
Statement Macros
Definition Macros
Operator Function Macros
Additional Examples