首页> 外国专利> Applying multiple rewriting without collision for semi-automatic program rewriting system

Applying multiple rewriting without collision for semi-automatic program rewriting system

机译:半自动程序重写系统中应用无冲突的多次重写

摘要

A system and method for applying multiple rewritings without contention in a semi-automatic program rewriting system. The method includes: finding dependent ranges of a variable and a modification affecting range of the variable in a target program; determining at least two solutions for target program modification; detecting whether a collision condition exists amongst the one or more solutions; and modifying the program with said one or more solutions if no collision condition exists, while disabling the other solution if a collision condition is detected. A solution includes a rewriting of a segment of a target program code, and there is performed applying one or both of: multiple rewritings in a single solution and multiple rewritings in multiple regions of the target program. When multiple solutions are applied, the second and later solutions are applied to the already rewritten program. The correct application regions of the second and later solutions are identified.
机译:一种在半自动程序重写系统中不争用地进行多次重写的系统和方法。该方法包括:在目标程序中找到变量的从属范围和影响该变量的范围的修改;以及确定至少两个目标程序修改解决方案;检测一个或多个解决方案中是否存在碰撞条件;如果不存在冲突条件,则用所述一个或多个解决方案修改程序,而如果检测到冲突条件,则禁用另一解决方案。解决方案包括重写目标程序代码的一部分,并且执行以下一项或两项:在单个解决方案中进行多次重写,以及在目标程序的多个区域进行多次重写。当应用多个解决方案时,第二个及更高版本的解决方案将应用于已重写的程序。确定第二个和以后的解决方案的正确应用区域。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号