Type inference for COBOL systems
| Authors |
|
|---|---|
| Publication date | 1998 |
| Book title | Proceedings Fifth Working Conference on Reverse Engineering |
| Book subtitle | October 12-14, 1998 : Honolulu, Hawaii, USA |
| ISBN |
|
| ISBN (electronic) |
|
| Series | Proceedings on reverse engineering |
| Pages (from-to) | 220-230 |
| Publisher | Los Alamitos, California: IEEE Computer Society |
| Organisations |
|
| Abstract |
Types are a good starting point for various software reengineering tasks. Unfortunately, programs requiring reengineering most desperately are written in languages without an adequate type system (such as COBOL). To solve this problem, we propose a method of automated type inference for these languages. The main ingredients are that if variables are compared using some relational operator their types must be the same; likewise if an expression is assigned to a variable, the type of the expression must be a subtype of that of the variable. We present the formal type system and inference rules for this approach, show their effect on various real life COBOL fragments, describe the implementation of our ideas in a prototype type inference tool for COBOL, and discuss a number of applications.
|
| Document type | Conference contribution |
| Language | English |
| Published at | https://doi.org/10.1109/WCRE.1998.723192 |
| Permalink to this page | |