首页> 外文会议>Partial evaluation and program manipulation >Programming with Singular and Plural Non-deterministic Functions
【24h】

Programming with Singular and Plural Non-deterministic Functions

机译:使用单数和复数不确定性函数进行编程

获取原文
获取原文并翻译 | 示例

摘要

Non-strict non-deterministic functions are one of the most distinctive features of functional-logic languages. Traditionally, two semantic alternatives have been considered for this kind of functions: call-time choice and run-time choice. While the former is the standard choice of modern implementations of FLP, the latter lacks some basic properties-mainly compositionality-that have prevented its use in practical FLP implementations. Recently, a new compositional plural semantics for FLP has been proposed. Although this semantics allows an elegant encoding of some problems-in particular those with an implicit manipulation of sets of values-, call-time choice still remains the best option for many common programming patterns.rnIn this paper we explore the expressive possibilities of the combination of singular and plural non-determinism. After formalizing the intended semantics by means of a logic calculus, several significant examples exploiting the capabilities of the semantics are presented. These examples have been tested and developed in a Maude-based prototype whose implementation is outlined.
机译:非严格的不确定函数是功能逻辑语言的最鲜明特征之一。传统上,已经针对这种功能考虑了两种语义选择:调用时选择和运行时选择。前者是FLP现代实现的标准选择,而后者则缺乏一些基本属性(主要是组成性),这妨碍了它在实际FLP实现中的使用。近来,已经提出了用于FLP的新的组成复数语义。尽管这种语义允许对某些问题(尤其是对值集进行隐式处理的问题)进行优雅的编码,但对于许多常见的编程模式,调用时选择仍然是最佳选择。在本文中,我们探索了组合的表达可能性单数和复数不确定性的概念。在通过逻辑演算形式化了预期的语义之后,给出了几个利用语义功能的重要示例。这些示例已在基于Maude的原型中进行了测试和开发,并概述了其实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号