首页> 外国专利> Source code conversion apparatus, source code conversion program and source code conversion method

Source code conversion apparatus, source code conversion program and source code conversion method

机译:源代码转换装置,源代码转换程序和源代码转换方法

摘要

To provide a source code conversion device for converting a target source code without a nest structure by an IF sentence into a post-conversion source code having a nest structure by an IF sentence.SOLUTION:The source code conversion device converts the target source code described by the COBOL language into the converted source code described by the COBOL language. When the IF statement satisfying the predetermined condition is described in the target source code, the source code conversion device converts the IF sentence satisfying the predetermined condition into the IF sentence after the conversion as the target IF sentence. The predefined condition is satisfied if the IF statement contains only the GO TO statement that transfers control to the THEN phrase and the procedure name below or if the IF statement contains only the GO TO statement that transfers control to the procedure name underneath . The IF statement after conversion is structured by a statement between the target IF statement and the procedure name by THEN designation, ELSE designation and END IF designation.(FIG.
机译:提供一种源代码转换设备,用于将IF语句的没有嵌套结构的目标源代码转换为具有IF语句的具有嵌套结构的转换后源代码。解决方案:源代码转换设备将描述的目标源代码转换为由COBOL语言转换成由COBOL语言描述的源代码。当在目标源代码中描述满足预定条件的IF语句时,源代码转换装置将满足预定条件的IF语句转换为转换后的IF语句作为目标IF语句。如果IF语句仅包含将控制权转移到THEN短语和下面的过程名称的GO TO语句,或者IF语句仅包含将控制权转移到下面的过程名称的GO TO语句,则满足预定义条件。转换后的IF语句由目标IF语句和过程名称之间的语句(由THEN指定,ELSE指定和END IF指定)构成。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号