arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1107.3193cs.PL
收藏

类型表示及其在行为编程与数据管理编程分离中的应用

Type Expressiveness and Its Application in Separation of Behavior Programming and Data Management Programming

Chengpu Wang

摘要:

提出了一种新的行为描述实体类型spec,它将传统的接口与测试规则和测试用例相结合,完整地指定了每个方法所需的行为,并强制执行所有编译单元的行为正确性。提出了一种新的编程范式,它将编程空间分离为:1)行为域,将所有行为编程以规范的形式聚合; 2)对象域,将每个具体规范绑定到特定地址空间中的数据表示;这种分离保证了编译时行为满足的严格性,同时允许在运行时动态绑定实际实现的灵活性。还提出了一种新的约定调用类型表达性,以允许不同程序设计语言之间和不同软件环境之间的数据交换。

英文摘要:

A new behavior descriptive entity type called spec is proposed, which combines the traditional interface with test rules and test cases, to completely specify the desired behavior of each method, and to enforce the behavior-wise correctness of all compiled units. Using spec, a new programming paradigm is proposed, which allows the separation programming space into 1) a behavior domain to aggregate all behavior programming in the format of specs, 2) a object domain to bind each concrete spec to its data representation in a particular address space, and 3) a realization domain to connect the behavior domain and the object domain. Such separation guarantees the strictness of behavior satisfaction at compile time, while allows flexibility of dynamical binding of actual implementation at runtime. A new convention call type expressiveness to allow data exchange between different programming languages and between different software environments is also proposed.

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

↑