ALGORITHMIC DEBUGGING FOR LAZY FUNCTIONAL LANGUAGES

被引:0
|
作者
NILSSON, H
FRITZSON, P
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Lazy functional languages have non-strict semantics and are purely declarative, i.e. they support the notion of referential transparency and are devoid of side effects. Traditional debugging techniques are, however, not suited for lazy functional languages since computations generally do not take place in the order one might expect. Since algorithmic debugging allows the user to concentrate on the declarative aspects of program semantics, and will semi-automatically find functions containing bugs, we propose to use this technique for debugging lazy functional programs. In this paper we present an algorithmic debugger for a lazy functional language and some experience in using it. Because of the non-strict semantics of lazy functional languages, arguments to functions are in general partially evaluated expressions. The user is, however, usually more concerned with the values that these expressions represent. We address this problem by providing the user with a strictified view of the execution trace whenever possible.
引用
收藏
页码:385 / 399
页数:15
相关论文
共 50 条
  • [31] Fine-grained visualization pipelines and lazy functional languages
    Duke, David
    Wallace, Malcolm
    Borgo, Rita
    Runciman, Colin
    IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2006, 12 (05) : 973 - 980
  • [32] Type-Based Cost Analysis for Lazy Functional Languages
    Jost, Steffen
    Vasconcelos, Pedro
    Florido, Mario
    Hammond, Kevin
    JOURNAL OF AUTOMATED REASONING, 2017, 59 (01) : 87 - 120
  • [33] DDT:: a declarative debugging tool for functional-logic languages
    Caballero, R
    Rodríguez-Artalejo, M
    FUNCTIONAL AND LOGIC PROGRAMMING, 2004, 2998 : 70 - 84
  • [34] A Generalized Model for Algorithmic Debugging
    Insa, David
    Silva, Josep
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2015), 2015, 9527 : 261 - 276
  • [35] Algorithmic Debugging of Java Programs
    Facultad de Informática, Universidad Complutense de Madrid, Madrid, Spain
    不详
    不详
    Electron. Notes Theor. Comput. Sci., 1 (75-89):
  • [36] GENERALIZED ALGORITHMIC DEBUGGING AND TESTING
    FRITZSON, P
    GYIMOTHY, T
    KAMKAR, M
    SHAHMEHRI, N
    SIGPLAN NOTICES, 1991, 26 (06): : 317 - 326
  • [37] State of the Practice in Algorithmic Debugging
    Cheda, Diego
    Silva, Josep
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 246 : 55 - 70
  • [38] A survey on algorithmic debugging strategies
    Silva, Josep
    ADVANCES IN ENGINEERING SOFTWARE, 2011, 42 (11) : 976 - 991
  • [39] Algorithmic Debugging and Hypothetical Reasoning
    Beckstein C.
    Tobermann G.
    Automated Software Engineering, 1997, 4 (2) : 151 - 178
  • [40] Algorithmic debugging and hypothetical reasoning
    Friedrich-Schiller-Universitaet Jena, Jena, Germany
    Autom Software Eng, 2 (151-178):