Supervising offline partial evaluation of logic programs using online techniques

被引:5
|
作者
Leuschel, Michael [1 ]
Craig, Stephen-John [1 ]
Elphick, Dan [1 ]
机构
[1] Univ Dusseldorf, Inst Informat, D-4000 Dusseldorf, Germany
关键词
D O I
10.1007/978-3-540-71410-1_5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A major impediment for more widespread use of offline partial evaluation is the difficulty of obtaining and maintaining annotations for larger, realistic programs. Existing automatic binding-time analyses still only have limited applicability and annotations often have to be created or improved and maintained by hand, leading to errors. We present a technique to help overcome this problem by using online control techniques which supervise the specialisation process in order to detect such errors. We discuss an implementation in the LOGEN system and show on a series of examples that this approach is effective: very few false alarms were raised while infinite loops were detected quickly. We also present the integration of this technique into a web interface, which highlights problematic annotations directly in the source code. A method to automatically fix incorrect annotations is presented, allowing the approach to be also used as a pragmatic binding time analysis. Finally we show how our method can be used for efficiently locating errors with built-ins inside Prolog source code.
引用
收藏
页码:43 / +
页数:3
相关论文
共 50 条
  • [21] Online justification for tabled logic programs
    Pemmasani, G
    Guo, HF
    Dong, YF
    Ramakrishnan, CR
    Ramakrishnan, IV
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 500 - 501
  • [22] Online justification for tabled logic programs
    Pemmasani, G
    Guo, HF
    Dong, YF
    Ramakrishnan, CR
    Ramakrishnan, IV
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, 2004, 2998 : 24 - 38
  • [23] Two flavors of offline partial evaluation
    Helsen, S
    Thiemann, P
    [J]. ADVANCES IN COMPUTING SCIENCE-ASIAN' 98, 1998, 1538 : 188 - 205
  • [24] Non-leftmost unfolding in partial evaluation of logic programs with impure predicates
    Albert, Elvira
    Puebla, German
    Gallagher, John P.
    [J]. LOGIC BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2006, 3901 : 115 - 132
  • [25] TRANSFORMATION OF LOGIC PROGRAMS - FOUNDATIONS AND TECHNIQUES
    PETTOROSSI, A
    PROIETTI, M
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1994, 20 : 261 - 320
  • [26] On the performance of online and offline green path establishment techniques
    Alejandro Ruiz-Rivera
    Kwan-Wu Chin
    Sieteng Soh
    Raad Raad
    [J]. EURASIP Journal on Wireless Communications and Networking, 2015
  • [27] On the performance of online and offline green path establishment techniques
    Ruiz-Rivera, Alejandro
    Chin, Kwan-Wu
    Soh, Sieteng
    Raad, Raad
    [J]. EURASIP JOURNAL ON WIRELESS COMMUNICATIONS AND NETWORKING, 2015,
  • [28] Engaging customers through online and offline referral reward programs
    Wirtz, Jochen
    Orsingher, Chiara
    Cho, Hichang
    [J]. EUROPEAN JOURNAL OF MARKETING, 2019, 53 (09) : 1962 - 1987
  • [29] RecSys Challenge 2017: Offline and Online Evaluation
    Abel, Fabian
    Deldjoo, Yashar
    Elahi, Mehdi
    Kohlsdorf, Daniel
    [J]. PROCEEDINGS OF THE ELEVENTH ACM CONFERENCE ON RECOMMENDER SYSTEMS (RECSYS'17), 2017, : 372 - 373
  • [30] An Online Tool for Tuning Fuzzy Logic Programs
    Moreno, Gines
    Riaza, Jose A.
    [J]. RULES AND REASONING, 2017, 10364 : 184 - 198