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 条
  • [41] Optimization techniques for algorithmic debugging
    2017, European Association for Theoretical Computer Science (2017):
  • [42] The GRIN project: A highly optimising back end for lazy functional languages
    Boquist, U
    Johnsson, T
    IMPLEMENTATION OF FUNCTIONAL LANGUAGES, 1997, 1268 : 58 - 84
  • [43] ALGORITHMIC LANGUAGES
    BRANQUART, P
    WODON, P
    PHILIPS JOURNAL OF RESEARCH, 1988, 43 (3-4) : 246 - 267
  • [44] ALGORITHMIC LANGUAGES
    不详
    MICROPROCESSING AND MICROPROGRAMMING, 1982, 9 (03): : 189 - 190
  • [45] Heap Recycling for Lazy Languages
    Hage, Jurriaan
    Holdermans, Stefan
    PEPM'08: PROCEEDINGS OF THE 2008 ACM SIGPLAN SYMPOSIUM ON PARTIAL EVALUATION AND SEMANTICS-BASED PROGRAM MANIPULATION, 2008, : 189 - 197
  • [46] Freja, Hat and Hood - A comparative evaluation of three systems for tracing and debugging lazy functional programs
    Chitil, O
    Runciman, C
    Wallace, M
    IMPLEMENTATION OF FUNCTIONAL LANGUAGES, 2001, 2011 : 176 - 193
  • [47] Freja, hat and hood — a comparative evaluation of three systems for tracing and debugging lazy functional programs
    University of York, United Kingdom
    Lect. Notes Comput. Sci., 1600, (176-193):
  • [48] Provenance-enhanced Algorithmic Debugging
    Linhares, Henrique
    Pimentel, Joao Felipe
    Kohwalter, Troy
    Paulino Murta, Leonardo Gresta
    PROCEEDINGS OF THE XXXIII BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2019, 2019, : 203 - 212
  • [49] Algorithmic Debugging of Java']Java Programs
    Caballero, R.
    Hermanns, C.
    Kuchen, H.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 177 : 75 - 89
  • [50] A comparative study of algorithmic debugging strategies
    Silva, Josep
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2007, 4407 : 143 - 159