Premium
An application of compiler technology to the year 2000 problem
Author(s) -
Nanda Mangala Gowri,
Bhaduri Purandar,
Oberoi Sundeep,
Sanyal Amitabha
Publication year - 1999
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/(sici)1097-024x(19990410)29:4<359::aid-spe232>3.0.co;2-h
Subject(s) - cobol , compiler , computer science , traverse , programming language , variable (mathematics) , set (abstract data type) , inference , software engineering , transformation (genetics) , base (topology) , artificial intelligence , mathematics , gene , geography , mathematical analysis , biochemistry , chemistry , geodesy
This paper describes our experience in developing techniques for repairing date affected programs using standard compiler technology. Starting with date‐ness information of certain variables based on their declarations, we propagate this information through all possible control paths, using date inference rules to traverse across individual statements. Our approach is fine grained enough to infer the date‐ness of each occurrence of a variable. After detecting date‐ness of variables, we renovate programs by applying a transformation using base year strategy . These techniques have been implemented as a tool set for renovating date affected COBOL programs. Copyright © 1999 John Wiley & Sons, Ltd.