|
|
|
|
|
A Code Automatic Generation Algorithm Based on Structured Flowchart |
|
PP: 1S-8S |
|
Author(s) |
|
WU Xiang-Hu,,
QU Ming-Cheng,
Liu Zhi-Qiang,
Li Jian-Zhong,
|
|
Abstract |
|
In order to automatically convert structured flowchart (SFC) to problem analysis diagram
(PAD) for generation of codes, by analyzing the characteristics of PAD and SFC, a structure
identification algorithm is proposed for the structured flowchart. Taking the identified structured
flowchart as input, a transformation algorithm is proposed to transform the structured flowchart into a
semantically equivalent PAD. Then a specific language code is generated using recursive algorithm
based on PAD. The effectiveness of the proposed algorithms of structure identification,
transformation from flowchart to PAD and code automatic generation is verified through example
test. |
|
|
|
|
|