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 条
  • [21] Lightweight Computation Tree Tracing for Lazy Functional Languages
    Faddegon, Maarten
    Chitil, Olaf
    ACM SIGPLAN NOTICES, 2016, 51 (06) : 114 - 128
  • [22] 2 MODELS FOR INTEGRATING PERSISTENCE AND LAZY FUNCTIONAL LANGUAGES
    MCNALLY, DJ
    DAVIE, AJT
    SIGPLAN NOTICES, 1991, 26 (05): : 43 - 52
  • [23] Algorithmic debugging generalized
    Insa, David
    Silva, Josep
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2018, 97 : 85 - 104
  • [24] A Survey of Algorithmic Debugging
    Caballero, Rafael
    Riesco, Adrian
    Silva, Josep
    ACM COMPUTING SURVEYS, 2017, 50 (04)
  • [25] CONCURRENT ALGORITHMIC DEBUGGING
    LICHTENSTEIN, Y
    SHAPIRO, E
    SIGPLAN NOTICES, 1989, 24 (01): : 248 - 260
  • [26] ALGORITHMIC DEBUGGING WITH ASSERTIONS
    DRABENT, W
    NADJMTEHRANI, S
    MALUSZYNSKI, J
    META-PROGRAMMING IN LOGIC PROGRAMMING, 1989, : 501 - 521
  • [27] Type generic observation of intermediate data structures for debugging lazy functional programs
    Faddegon, Maarten
    Chitil, Olaf
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2018, 52 : 92 - 110
  • [28] Thunk Recycling for Lazy Functional Languages: Operational Semantics and Correctness
    Takano, Yasunao
    Iwasaki, Hideya
    30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 2079 - 2086
  • [29] Type-Based Cost Analysis for Lazy Functional Languages
    Steffen Jost
    Pedro Vasconcelos
    Mário Florido
    Kevin Hammond
    Journal of Automated Reasoning, 2017, 59 : 87 - 120
  • [30] Compile-time garbage collection for lazy functional languages
    Hamilton, GW
    MEMORY MANAGEMENT, 1995, 986 : 119 - 144