A Semantic Framework to Debug Parallel Lazy Functional Languages

被引:0
|
作者
de la Encina, Alberto [1 ]
Hidalgo-Herrero, Mercedes [2 ]
Llana, Luis [1 ,3 ]
Rubio, Fernando [1 ,3 ]
机构
[1] Univ Complutense, Fac Informat, Madrid 28040, Spain
[2] Univ Complutense, Fac Educ, Ctr Formac Prof, Madrid 28040, Spain
[3] Univ Complutense, Inst Tecnol Conocimiento, Madrid 28040, Spain
关键词
functional programming; debugging; parallel programming; semantics; SKELETON COMPOSITION; IMPLEMENTATION;
D O I
10.3390/math8060864
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
It is not easy to debug lazy functional programs. The reason is that laziness and higher-order complicates basic debugging strategies. Although there exist several debuggers for sequential lazy languages, dealing with parallel languages is much harder. In this case, it is important to implement debugging platforms for parallel extensions, but it is also important to provide theoretical foundations to simplify the task of understanding the debugging process. In this work, we deal with the debugging process in two parallel languages that extend the lazy language Haskell. In particular, we provide an operational semantics that allows us to reason about our parallel extension of the sequential debugger Hood. In addition, we show how we can use it to analyze the amount of speculative work done by the processes, so that it can be used to optimize their use of resources.
引用
收藏
页数:66
相关论文
共 50 条
  • [41] To be or not to be . . . lazy (In a Parallel Context)
    Hidalgo-Herrero, Mercedes
    Ortega-Mallen, Yolanda
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 258 (01) : 21 - 39
  • [42] SEMANTIC AND FUNCTIONAL PECULIARITIES OF THE VERB "DO" IN DIFFERENT LANGUAGES
    Ievleva, N. V.
    VESTNIK ROSSIISKOGO UNIVERSITETA DRUZHBY NARODOV-SERIYA LINGVISTIKA-RUSSIAN JOURNAL OF LINGUISTICS, 2009, (04): : 21 - 27
  • [43] LAZY DEBUGGING OF LAZY FUNCTIONAL PROGRAMS
    SNYDER, RM
    NEW GENERATION COMPUTING, 1990, 8 (02) : 139 - 161
  • [44] A Scheduling Framework for General-purpose Parallel Languages
    Fluet, Matthew
    Rainey, Mike
    Reppy, John
    ICFP'08: PROCEEDINGS OF THE 2008 SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2008, : 241 - 252
  • [45] A scheduling framework for general-purpose parallel languages
    Fluet, Matthew
    Rainey, Mike
    Reppy, John
    ACM SIGPLAN NOTICES, 2008, 43 (09) : 241 - 252
  • [46] A Parallel Programming Framework Orchestrating Multiple Languages and Architectures
    Murase, Masana
    Maeda, Kumiko
    Doi, Munehiro
    Komatsu, Hideaki
    Noda, Shigeho
    Himeno, Ryutaro
    PROCEEDINGS OF THE 2011 8TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS (CF 2011), 2011,
  • [47] Type-Based Allocation Analysis for Co-recursion in Lazy Functional Languages
    Vasconcelos, Pedro
    Jost, Steffen
    Florido, Mario
    Hammond, Kevin
    PROGRAMMING LANGUAGES AND SYSTEMS, 2015, 9032 : 787 - 811
  • [48] Framework for Measuring the Similarity of Visual and Semantic Structures in Sign Languages
    Silva de Lima, Matheus
    Sato, Ryota
    K. Shimomoto, Erica
    Alves Beleza, Suzana Rita
    Kato, Nobuko
    Fukui, Kazuhiro
    Communications in Computer and Information Science, 2024, 2143 CCIS : 93 - 107
  • [49] K: A Semantic Framework for Programming Languages and Formal Analysis Tools
    Rosu, Grigore
    DEPENDABLE SOFTWARE SYSTEMS ENGINEERING, 2017, 50 : 186 - 206
  • [50] A general framework for lazy functional logic programming with algebraic polymorphic types
    Arenas-Sánchez, P
    Rodríguez-Artalejo, M
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2001, 1 : 185 - 245