arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1304.0538cs.PL
收藏

OESPA:一种支持支持软件工程的程序设计理论

OESPA:A Theory of Programming that Support Software Engineering

Sen Ma

摘要:

提出了一种新的规划理论。该理论由操作表达式(OE)、语义谓词(SP)和公理(A)组成,简称OESPA。OE用于编程:它的语法由BNF公式给出,它的语义由这些公式上的公理定义。与逻辑中的谓词类似,SP用于描述OE(即程序)的属性和程序属性分析。但SP与谓词不同,它直接将给定OE终止时变量的最终值与同一OE之前这些变量的初始值联系起来,因此可以通过基于A(Axioms)的计算来证明或反驳给定SP是否是给定OE的属性。SP演算是为解决软件工程中缺少的程序规格说明和规格说明分析问题而提出的。

英文摘要:

A new theory of programming is proposed. The theory consists of OE (Operation Expression), SP (Semantic Predicate) and A (Axiom), abbreviated as OESPA. OE is for programming: its syntax is given by BNF formulas and its semantics is defined by axioms on these formulas. Similar to predicates in logic, SP is for describing properties of OE (i.e. programs) and for program property analysis. But SP is different from predicates, it directly relates the final values of variables upon termination of a given OE with initial values of these variables before the same OE. As such, it is feasible to prove or disprove whether a given SP is a property of a given OE by computation based on A (Axioms). SP calculus is proposed for program specification and specification analysis, that is missing in software engineering.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑