Rule based Production Systems for Automatic Code Generation in Java
Imran Sarwar Bajwa, M. Imran Siddique, M. Abbas Choudhary · 2007
Unified modeling language is being used as a premier tool for modeling the user requirements. These CASE tools provide an easy way to get efficient solutions. This paper presents a natural language processing based automated system for generating code in multi-languages after modeling the user requirements based on UML. UML diagrams are first generated by analyzing the given business scenario provided by the user. A new model is presented for analyzing the natural languages and extracting the relative and required information from the given requirement notes by the user. User writes the requirements in simple English in a few paragraphs and the designed system has conspicuous ability to analyze the given script. After compound analysis and extraction of associated information, the designed system draws various UML diagrams as activity diagrams, sequence diagrams, class diagrams and uses cases diagrams. The designed system has robust ability to create code automatically without external environment. The designed system provides a quick and reliable way to generate UML diagrams and generate respective code to save the time and budget of both the user and system analyst.