摘要 |
PURPOSE:To facilitate the generation of macrodefinitions by setting the variable identification symbol of a macrostatement, identifying and separating the macrostatement from other statements from a program according to the symbol, and performing the macroexpansion of the macrostatement by referring to a macrolibrary common to respective languages. CONSTITUTION:A setting part 11 sets the variable identification symbol of the macrostatement as an identification symbol which is inputted directly from outside or specified in a program statement and a syntax analytic part 12 detects the identification symbol in the input statement by referring to the symbol and identifies and separate the macrostatement and other statements from the input program. Further, macrodefinitions for macrostatements in respective languages are stored in the macrolibrary 14 and a macroexpansion part 13 performs the macroexpansion of the macrostatement from the analytic part 12 by referring to the definitions.
|