A formal basis for removing goto statements

1Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Goto statements detract from the quality of imperative programs. They tend to make controlstructures difficult to understand and, at the same time, introduce the risk of non-termination and other correctness problems. A new, formal, generally applicable procedure for removing all goto statements from program structures is presented. This method is based on formal semantics and congruent equivalence transformations. Not only does the method logically simplify program structures; it also detects a range of defects including a class of non-termination problems, unreachable code and redundancy problems. The method can also be used to eliminate recursion.

Cite

CITATION STYLE

APA

Pan, S., & Geoff Dromey, R. (1996). A formal basis for removing goto statements. Computer Journal, 39(3). https://doi.org/10.1093/comjnl/39.3.203

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free