Abstract
It is of great significance to automatically generate code from structured flowchart. There are some deficiencies in existing researches, and their key algorithms and technologies are not elaborated, also there are very few full-featured integrated development platforms that can generate code automatically based on structured flowchart. By analyzing the characteristics of structured flowchart, a structure identification algorithm for structured flowchart is put forward. The correctness of algorithm is verified by enumeration iteration. Then taking the identified flowchart as input, an automatic code generation algorithm is proposed. Also the correctness is verified by enumeration iteration. Finally an integrated development platform is developed using those algorithms, including flowchart modeling, code automatic generation, CDT\GCC\GDB etc. The correctness and effectiveness of algorithms proposed are verified through practical operations.
Highlights
Software development ideas based on MDA (Model Driven Architecture) have attracted much attention from the research community in recent years [1,2]
There are some deficiencies in existing researches, and their key algorithms and technologies are not elaborated, there are very few full-featured integrated development platforms that can generate code automatically based on structured flowchart
There are many relevant researches about automatic code generation, such as: the solution, for automatic code generation based on metadata-driven, by the framework of .Net, achieve the objective of automatic generation of storage procedure and trigger in database [3]; A tool based on design pattern can automatically generate a design pattern of abstract level [4]; A automatic code generation technology based on uml meta model can generate the architecture of system, and the generated code can reflect the hierarchy of original model [5]; By analyzing the synergy effect of the syntax environment between WWW and WEB, a WEB code automatic generation prototype system is proposed based on XML [6]
Summary
Software development ideas based on MDA (Model Driven Architecture) have attracted much attention from the research community in recent years [1,2]. There are many relevant researches about automatic code generation, such as: the solution, for automatic code generation based on metadata-driven, by the framework of .Net, achieve the objective of automatic generation of storage procedure and trigger in database [3]; A tool based on design pattern can automatically generate a design pattern of abstract level [4]; A automatic code generation technology based on uml meta model can generate the architecture of system, and the generated code can reflect the hierarchy of original model [5]; By analyzing the synergy effect of the syntax environment between WWW and WEB, a WEB code automatic generation prototype system is proposed based on XML [6]. The tools, like I-Logix, Rhapsody, based on state machine, can generate code which can run at their real-time frameworks
Published Version (
Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.