Professional Documents
Culture Documents
Poster Finsl 2
Poster Finsl 2
language. A macro processor is a program that copies a stream of text from one place to
another. Macro processors are often embedded in other programs, sometimes they are
standalone programs.
Definition:
Macro definition involves marking the end and beginning of the macro code and writing down the
instructions or its body.
Invocation:
A macro invocation statement (a macro call) gives the name of the macro instruction being invoked
and the arguments to be used in expanding the macro. macro _ name p1, p2, …
Expansion:
Replace each macro instruction with the corresponding group of source language statements