检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]上海交通大学计算机科学与工程系
出 处:《上海交通大学学报》1998年第4期104-108,共5页Journal of Shanghai Jiaotong University
摘 要:在面向对象程序的系统中,如何有效地实现程序的测试和维护是软件工程研究所关注的和比较难以解决的问题.结合面向对象程序设计的思想和重写技术的应用,提出了程序重写技术的基本思想及其框架结构,该模型在借鉴了抽象的重写系统和重写逻辑的基础上,构造了面向对象程序的重写理论,并定义了重写系统的模型.在该模型中,通过研究并定义对象行为的三种状态(即初态,中态,终态)变换,结合实际可能使用的重写规则,可将对程序行为的描述重写成所包含对象状态变换的描述,进而实现用对象运行状态的范式形式来描述程序行为的目的.在严格地定义了相关概念后,给出了该模型的语义解释及其在程序测试和维护中的应用.By combining the idea of object oriented designing and application of rewriting technique, this paper proposes the basic idea and schema structure of program rewriting, which constructs an object oriented program rewriting theory and defines a model of rewriting system by drawing lessons from abstract rewriting system and rewriting logic. Through studying and defining three state transformations of object behavior (that is: the initial state, the middle state and the last state) in the model, we can rewrite the description of program behavior to the description of the object state transformations by combining the rules that may be applied in the reality. From this model, we can describe the program behavior by using object state normal form in the program execution. By strictly defining the corresponding concepts, this paper gives the semantic explanations of the program rewriting and its possible directions of application in program testing and maintaining.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论] TP311.54[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.16.70.193