摘要 |
<p>A method and system for an extensible macro language is provided. The system for providing the extensible language includes a parser and a macro handler (110) for processing macro commands not previously defined in the macro language. The parser (102) analyzes keywords in a macro language expression and recognizes one or more keywords (116) representing macro commands that were not previously defined in the macro language. The macro handler (110) receives the keyword in the macro expression and retrieves from a registry of keywords, an executable code or procedure (112) associated with the keyword. The executable code (112) is run to process the macro command represented by the keyword. The template language registry may be argumented to include any keywords and associated codes for extending the macro language.</p> |