Abstract:This paper analyzes the design and realization technology of auto source code generator based on Orad render engine controller. It uses a document analysis process, which takes a documentation of control commands as input and conformed to predetermined regular expression rules, to analyze the structured data of commands, and to dynamically generate XML-based code templates. Finally, this system automatically generates the source code of controller in accordance with the generated templates.