Macro

HomePage | Recent changes | View source | Discuss this page | Page history | Log in |

Printable version | Disclaimers | Privacy policy

A programming language macro is a text abstraction, with a name and replacement-text.

Having orignated in assembly language programming, the most prevalent use of a macro-processor today is the C preprocessor. A general-purpose macro processor m4 is available for use with any other programming language.


There are also keyboard macros and editor macros, used interactively on a graphical user interface and text editor, respectively.