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.