Abstract & Overview
In today's digital world, use of computer program to perform various operations is common. Right from education, business to the entertainment; everywhere various activities are performed using specialised software. Thus software development is considered as a professional field, where skilled programmers are always under pressure to meet the various functional and nonfunctional requirements of the client. Sometimes due to the changing client requirements, code needs to be changed again and again. Thus it builds pressure on the programmer. Sometimes bugs in the software design come into light after implementation. Hence to remove bugs, the software design and the coding needs to be done again. All such conditions results in the increase in the product development cost and time. Consequences become even worse when the complexity of the program is high. Because of all these reasons, automatic code generation is always a key area of research. Many researchers have contributed in this area in order to ease up the task of computer programmer. Thus, in this paper, the authors have tried to summarize various techniques or tools available to generate the program code. The basic motivation behind this study is to explore the various inputs that can be provided to the system to generate the intended program code and the processing methodology used for conversion. 1. Literature Survey Bassil and Alwani (2012) have implemented a system which automatically creates an HTML web-interface. The HTML web-interface creation process is carried out using W3C XML schema and a proprietary style sheet. The XML schema and a style sheet is provided as input to the lexical analyzer. The finite-state machine based lexical analyzer is used to produce the stream of two types of token, viz. keyword and symbols. These tokens are passed to Context Free Grammar (CFG) based parser. The parser makes sure that the tokens are arranged according to rules of CFG. Lastly, Attribute Grammars (AG) based code generator creates the HTML web-interface. Dakhore and Mahajan (2010) have put forth a primitive approach that uses XML parser to generate C code from flow chart.