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 条
  • [21] 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
  • [22] 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
  • [23] ANALYSIS OF THE SEMANTIC STRUCTURES OF MEDICAL LANGUAGES .1. FRAMEWORK FOR THE SEMANTIC POWER OF REFERENCE LANGUAGES
    MAJOR, P
    KOSTREWSKI, BJ
    ANDERSON, J
    MEDICAL INFORMATICS, 1978, 3 (04): : 261 - 267
  • [24] A semantic framework for metamodel-based languages
    Angelo Gargantini
    Elvinia Riccobene
    Patrizia Scandurra
    Automated Software Engineering, 2009, 16 : 415 - 454
  • [25] A semantic framework for specifying agent communication languages
    Guerin, F
    Pitt, J
    FOURTH INTERNATIONAL CONFERENCE ON MULTIAGENT SYSTEMS, PROCEEDINGS, 2000, : 395 - 396
  • [26] A semantic framework for metamodel-based languages
    Gargantini, Angelo
    Riccobene, Elvinia
    Scandurra, Patrizia
    AUTOMATED SOFTWARE ENGINEERING, 2009, 16 (3-4) : 415 - 454
  • [27] The GRIN project: A highly optimising back end for lazy functional languages
    Boquist, U
    Johnsson, T
    IMPLEMENTATION OF FUNCTIONAL LANGUAGES, 1997, 1268 : 58 - 84
  • [28] TOWARDS A PARALLEL ARCHITECTURE FOR FUNCTIONAL LANGUAGES
    KARIA, RJ
    LECTURE NOTES IN COMPUTER SCIENCE, 1987, 272 : 270 - 285
  • [30] GRIP - A PARALLEL PROCESSOR FOR FUNCTIONAL LANGUAGES
    JONES, SL
    ELECTRONICS AND POWER, 1987, 33 (10): : 633 - 636