arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0004002cs.LOcs.AIcs.PL
收藏

Alma-0编程,或命令式和声明式编程

Programming in Alma-0, or Imperative and Declarative Programming Reconciled

Krzysztof R. Apt, Andrea Schaerf

摘要:

在(Apt et al,TOPLAS 1998)中,我们介绍了支持声明式编程的命令式程序设计语言Alma-0。在本文中,我们说明了混合编程风格的Alma-0的各种例子,补充(Apt等,TOPLAS 1998年)。所提出的Alma-0程序说明了该语言的多功能性,并表明“不知道”的非确定性可以自然地与赋值相结合。

英文摘要:

In (Apt et al, TOPLAS 1998) we introduced the imperative programming language Alma-0 that supports declarative programming. In this paper we illustrate the hybrid programming style of Alma-0 by means of various examples that complement those presented in (Apt et al, TOPLAS 1998). The presented Alma-0 programs illustrate the versatility of the language and show that ``don't know'' nondeterminism can be naturally combined with assignment.

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

↑