计算机科学 > 程序设计语言
[提交于 2009年3月12日]
标题:A Lightweight Combination of Semantics for Non-deterministic Functions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The use of non-deterministic functions is a distinctive feature of modern functional logic languages. The semantics commonly adopted is call-time choice, a notion that at the operational level is related to the sharing mechanism of lazy evaluation in functional languages. However, there are situations where run-time choice, closer to ordinary rewriting, is more appropriate. In this paper we propose an extension of existing call-time choice based languages, to provide support for run-time choice in localized parts of a program. The extension is remarkably simple at three relevant levels: syntax, formal operational calculi and implementation, which is based on the system Toy.
提交历史
来自:Damiano Zanardini[v1] 2009年3月12日 星期四 16:01:49 UTC