首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Representing calendrical algorithms and data in Prolog and Prolog III languages
【24h】

Representing calendrical algorithms and data in Prolog and Prolog III languages

机译:用Prolog和Prolog III语言表示日历算法和数据

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

摘要

The paper reports on a study to develop solutions for a chosen problem in two related, but different languages. Moreover, the languages reflect two related, but different programming paradigms: logic programming, and constraint, logic programming, respectively. We use Prolog to describe calendars and their mutual conversions. Next, we use Prolog III to describe the same. We discuss suitability of both languages for this kind of task. Prolog III as a logic programming language with constraints allows writing a program which is both more general (i.e., covering a broader range of cases) and more abstract (i.e., expressed on a higher level of abstraction due to the use of constraints).
机译:该论文报告了一项研究,以两种相关但不同的语言为选定的问题开发解决方案。而且,这些语言反映了两个相关但又不同的编程范例:逻辑编程和约束逻辑编程。我们使用Prolog来描述日历及其相互转换。接下来,我们使用Prolog III进行描述。我们讨论了两种语言对于此类任务的适用性。作为具有约束条件的逻辑编程语言,Prolog III允许编写既更通用(即,涵盖更广泛的情况)又更抽象(即,由于使用约束而以更高抽象级别表示)的程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号