期刊文献+

从规格说明到程序:逐步求精的形式描述

From Specification to Program:The Formal Description of Refinement
在线阅读 下载PDF
导出
摘要 在结构化程序设计方法中,程序的生成过程是自顶向下的设计过程,即通过对其规格说明逐步求精而得。但是这种求精需要带有经验的思维和人的主观意识,可能通向目标,也可能走入歧途。本文试图通过Dijkstra 的最弱前置条件来定义规格说明的演算,从而给出逐步求精的一些形式化法则。 In structured programming,the generation of a program is a top-down design pro-cess.it is obtained by stepwise refining specification.However,the refinement processes are determinedby the programmer's experiences and ideas.In this paper a specification calculus is defined by usingDijkstra's weakest precondition semantics.The extention does this by providing one semantic frameworkfor specifications and programs.Developments begin with a program(a single specification statement)and end with a program(in the executable language).Finally the use of the calculus is illustrated byan example.
作者 过敏意
出处 《计算机研究与发展》 EI CSCD 北大核心 1991年第3期23-28,共6页 Journal of Computer Research and Development
  • 相关文献

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部