首页> 外国专利> Compiler-assisted or interpreter-assisted solution to the year 2000 problem with debugging option for computer programs

Compiler-assisted or interpreter-assisted solution to the year 2000 problem with debugging option for computer programs

机译:带有计算机程序调试选项的2000年问题的编译器辅助或解释器辅助解决方案

摘要

A method, apparatus, and article for solving the year 2000 problem involves limited modifications in the data definition portions of the source code and compiler support for processing the modified source code. Fields in the source code that contain a year or date values are identified and, for each such field, the user selects an appropriate technique (for example, expansion, compression or windowing). The user modifies the data definition for each identified field, by adding new attributes to request the selected technique. The user then compiles the program and resolves any ambiguous references to the variables whose definitions were modified. This procedure is applied, module by module, and each processed module is merged into production, after testing, by using a compiler option to disable the use of the new attributes. A compiler option provides for the generation of debugger hooks for each statement that has been affected by modified declarations, which may be used with a suitably equipped debugger or other run-time analysis tool.
机译:解决2000年问题的方法,装置和物品涉及对源代码的数据定义部分的有限修改,以及用于处理修改后的源代码的编译器支持。标识源代码中包含年份或日期值的字段,并且用户针对每个此类字段选择适当的技术(例如,扩展,压缩或窗口化)。用户通过添加新属性来请求选择的技术来修改每个标识字段的数据定义。然后,用户编译程序并解析对定义已修改的变量的任何歧义引用。在测试之后,通过使用编译器选项禁用对新属性的使用,将逐个模块地应用此过程,并且将每个处理的模块合并到生产中。编译器选项为受修改后的声明影响的每个语句生成调试器挂钩,这些声明可与适当配备的调试器或其他运行时分析工具一起使用。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号