Domain-specific languages in the context of Macro instruction


Domain-specific languages in the context of Macro instruction

Domain-specific languages Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Domain-specific languages in the context of "Macro instruction"


HINT:

👉 Domain-specific languages in the context of Macro instruction

In computer programming, a macro (short for "macro instruction"; from Greek μακρο- 'long, large') is a rule or pattern that specifies how a certain input should be mapped to a replacement output. Applying a macro to an input is known as macro expansion.

The input and output may be a sequence of lexical tokens or characters, or a syntax tree. Character macros are supported in software applications to make it easy to invoke common command sequences. Token and tree macros are supported in some programming languages to enable code reuse or to extend the language, sometimes for domain-specific languages.

↓ Explore More Topics
In this Dossier