Lexical token in the context of Macro instruction


Lexical token in the context of Macro instruction

Lexical token Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Lexical token in the context of "Macro instruction"


HINT:

👉 Lexical token 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

Lexical token in the context of Language construct

In computer programming, a language construct is a syntactically allowable part of a program that may be formed from one or more lexical tokens in accordance with the rules of the programming language, as defined by in the ISO/IEC 2382 standard (ISO/IEC JTC 1).A term is defined as a "linguistic construct in a conceptual schema language that refers to an entity".

While the terms "language construct" and "control structure" are often used synonymously, there are additional types of logical constructs within a computer program, including variables, expressions, functions, or modules.

View the full Wikipedia page for Language construct
↑ Return to Menu