ACM Home Page
Please provide us with feedback. Feedback
Removing backward go-to statements from Ada programs: possibilities and problems
Full text PdfPdf (191 KB)
Source
Annual International Conference on Ada archive
Proceedings of the 2008 ACM annual international conference on SIGAda annual international conference table of contents
Portland, OR, USA
SESSION: Research papers table of contents
Pages 105-108  
Year of Publication: 2008
ISBN:978-1-60558-274-0
Also published in ...
Author
Ward D. Maurer  The George Washington University, Washington, DC, USA
Sponsors
ACM: Association for Computing Machinery
SIGCAS: ACM Special Interest Group on Computers and Society
SIGADA: ACM Special Interest Group on Ada Programming Language
SIGPLAN: ACM Special Interest Group on Programming Languages
SIGAPP: ACM Special Interest Group on Applied Computing
SIGCSE: ACM Special Interest Group on Computer Science Education
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 24,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1454474.1454492
What is a DOI?

ABSTRACT

We here apply a recent mathematical result to the design of a process for removing backward go-to statements from Ada programs. Such statements are often used by programmers whose only reasons to use Ada are contractual. The mathematical result involves directed graphs, such as the flow graphs of programs, and the first step in our algorithm involves constructing the flow graph of an Ada program. In the second step, this flow graph is rearranged according to our mathematical result, which specifies a linear order for every flow graph, together with a structure for it, of loops within loops, in which no loops overlap. In the third step, a new Ada program is produced from the rearranged flow graph. A problem arises here, within the syntax of Ada, which does not allow branching into a sequence of statements. We show how this problem must be addressed, even though addressing it can involve removing existing structure from the Ada program which we are processing.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
 
3
 
4
Oulsnam, G. 1982. Unraveling unstructured programs. The Computer Journal 25, 379--387.
 
5
Sharir, M. 1981. A strong-connectivity algorithm and its applications in data flow analysis. Computers and Mathematics with Applications 7, 67--72.
 
6
Williams, M. H., and Ossher, H. L. 1978. Conversion of unstructured flow diagrams to structured form. The Computer Journal 21, 161--167.