Computer Science, asked by souravNegi6036, 1 year ago

In how many ways we can create macro variables in the global symbol table?

Answers

Answered by aayush50
0
Design: Macro Preprocessor

Macro preprocessors are vital for processing all programs that contain macro definitions and/or calls. Language translators such as assemblers and compilers cannot directly generate the target code from the programs containing definitions and calls for macros. Therefore, most language processing activities by assemblers and compilers preprocess these programs through macro processors. A macro preprocessor essentially accepts an assembly program with macro definitions and calls as its input and processes it into an equivalent expanded assembly program with no macro definitions and calls. The macro preprocessor output program is then passed over to an assembler to generate the target object program.

The general design semantics of a macro preprocessor is shown as below

Design: Macro Preprocessor

The design of a macro preprocessor influenced by the provisions for performing the following
tasks involved in the macro expansion:

Similar questions