摘要

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.

全文