Distributed programming in a multi-paradigm declarative language

被引:0
|
作者
Hanus, M [1 ]
机构
[1] Rhein Westfal TH Aachen, D-52056 Aachen, Germany
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Curry is a multi-paradigm declarative language covering functional, logic, and concurrent programming paradigms. Curry's operational semantics is based on lazy reduction of expressions extended by a possibly non-deterministic binding of free variables occurring in expressions. Moreover, constraints can be executed concurrently which provides for concurrent computation threads that are synchronized on logical variables. In this paper, we extend Curry's basic computational model by a few primitives to support distributed applications where a dynamically changing number of different program units must be coordinated. We develop these primitives as a,special case of the existing basic model so that the new primitives interact smoothly with the existing features for search and concurrent computations. Moreover, programs with local concurrency can be easily transformed into distributed applications. This supports a simple development of distributed systems that are executable on local networks as well as on the Internet. In particular, sending partially instantiated messages containing logical variables is quite useful to implement reply messages. We demonstrate the power of these primitives by various programming examples.
引用
收藏
页码:188 / 205
页数:18
相关论文
共 50 条
  • [1] Multi-paradigm declarative programming
    Hanus, M
    [J]. LOGIC PROGRAMMING - PROCEEDINGS OF THE 1997 INTERNATIONAL SYMPOSIUM, 1997, : 43 - 45
  • [2] A practical partial evaluator for a multi-paradigm declarative language
    Albert, E
    Hanus, M
    Vidal, G
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, PROCEEDINGS, 2001, 2024 : 326 - 342
  • [3] A Multi-Paradigm Programming Language for Education
    Duemmel, Nikita
    Westfechtel, Bernhard
    Ehmann, Matthias
    [J]. PROCEEDINGS OF THE 5TH EUROPEAN CONFERENCE ON SOFTWARE ENGINEERING EDUCATION, ECSEE 2023, 2023, : 236 - 245
  • [4] Multi-paradigm declarative languages
    Hanus, Michael
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 45 - 75
  • [5] Multi-paradigm learning of declarative models
    Ferri, C
    [J]. AI COMMUNICATIONS, 2004, 17 (02) : 95 - 97
  • [6] Automatic optimization of multi-paradigm declarative programs
    Moreno, G
    [J]. ADVANCES IN ARTIFICIAL INTELLIGENCE - IBERAMIA 2002, PROCEEDINGS, 2002, 2527 : 131 - 140
  • [7] Multi-paradigm Programming in Maude
    Escobar, Santiago
    [J]. REWRITING LOGIC AND ITS APPLICATIONS, WRLA 2018, 2018, 11152 : 26 - 44
  • [8] mpC: A multi-paradigm programming language for massively parallel computers
    Lastovetsky, AL
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (02) : 13 - 20
  • [9] Compiling multi-paradigm declarative programs into Prolog
    Antoy, S
    Hanus, M
    [J]. FRONTIERS OF COMBINING SYSTEMS, 2000, 1794 : 171 - 185
  • [10] Partial evaluation of multi-paradigm declarative languages
    Albert, E
    [J]. AI COMMUNICATIONS, 2001, 14 (04) : 235 - 237