macroname
Macroname is a term used in macro systems to refer to the identifier assigned to a macro. The macroname is how a programmer invokes the macro and how the system references its definition during expansion. In languages with textual macros, such as C or C++, the macroname is the symbol introduced by the macro definition. For example, in a preprocessor directive like #define MAX(a,b) ((a) > (b) ? (a) : (b)), MAX is the macroname. In Lisp-family languages, the macroname corresponds to the macro symbol created by defmacro, such as (defmacro when (cond body) ...), where when is the macroname.
Naming and syntax: a macroname must conform to the language’s identifier rules and is typically case-sensitive.
There are common best practices for choosing macronames: use descriptive, unambiguous names; prefer names that indicate
See also: macro expansion, hygiene in macro systems, macro languages, identifier naming conventions.