Abstract
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.
Original language | English |
---|---|
Pages (from-to) | 134-137 |
Number of pages | 4 |
Journal | Computer Journal |
Volume | 28 |
Issue number | 2 |
Publication status | Published - May 1985 |