Besides their bad influence on programming style, the presence of goto statements in a program can complicate considerably the problem of mechanical translation into another programming language. In view of this an algorithm is presented which will restructure any Pascal program which contains goto statements to produce an equivalent program without goto statements. A system using this algorithm has been developed in Prolog.
|Number of pages||4|
|Publication status||Published - May 1985|