首页>
外国专利>
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.
展开▼