Observing functional logic computations

被引:0
|
作者
Brassel, B
Chitil, O
Hanus, M
Huch, F
机构
[1] CAU Kiel, Inst Informat, D-24098 Kiel, Germany
[2] Univ Kent, Comp Lab, Canterbury CT2 7NF, Kent, England
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A lightweight approach to debugging functional logic programs by observations is presented, implemented for the language Curry. The Curry Object Observation System (COOSy) comprises a portable library plus a viewing tool. A programmer can observe data structures and functions by annotating expressions in his program. The possibly partial values of observed expressions that are computed during program execution are recorded in a trace file, including information on non-deterministic choices and logical variables. A separate viewing tool displays the trace content. COOSy covers all aspects of modern functional logic multiparadigm languages such as lazy evaluation, higher order functions, non-deterministic search, logical variables, concurrency and constraints. Both use and implementation of COOSy are described.
引用
收藏
页码:193 / 208
页数:16
相关论文
共 50 条
  • [1] FUNCTIONAL COMPUTATIONS IN LOGIC PROGRAMS
    DEBRAY, SK
    WARREN, DS
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1989, 11 (03): : 451 - 481
  • [2] Qualified Computations in Functional Logic Programming
    Caballero, Rafael
    Rodriguez-Artalejo, Mario
    Romero-Diaz, Carlos A.
    [J]. LOGIC PROGRAMMING, 2009, 5649 : 449 - 463
  • [3] A virtual machine for functional logic computations
    Antoy, S
    Hanus, M
    Liu, JM
    Tolmach, A
    [J]. IMPLEMENTATION AND APPLICATION OF FUNCTIONAL LANGUAGES, 2005, 3474 : 108 - 125
  • [4] Improving computations in a typed functional logic language
    Almendros-Jiménez, JM
    [J]. ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY, 1999, 1548 : 438 - 454
  • [5] A program transformation for tracing functional logic computations
    Brassel, Bernd
    Fischer, Sebastian
    Huch, Frank
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2007, 4407 : 160 - +
  • [6] A Framework for Interpreting Traces of Functional Logic Computations
    Brassel, Bernd
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 177 (01) : 91 - 106
  • [7] LINEAR LOGIC AS A LOGIC OF COMPUTATIONS
    KANOVICH, MI
    [J]. ANNALS OF PURE AND APPLIED LOGIC, 1994, 67 (1-3) : 183 - 212
  • [8] Multiple logic computations
    Vykhovanets, VS
    Malyugin, VD
    [J]. AUTOMATION AND REMOTE CONTROL, 1998, 59 (06) : 885 - 891
  • [9] Proofs as computations in linear logic
    Delzanno, G
    Martelli, M
    [J]. THEORETICAL COMPUTER SCIENCE, 2001, 258 (1-2) : 269 - 297
  • [10] Quantum logic as a basis for computations
    Pykacz, J
    [J]. INTERNATIONAL JOURNAL OF THEORETICAL PHYSICS, 2000, 39 (03) : 839 - 850