Blame Prediction

Dries Harnie, Christophe Scholliers, Wolfgang De Meuter

    Research output: Chapter in Book/Report/Conference proceedingConference paper

    Abstract

    Static type systems are usually conservative. Therefore, many interesting programs are rejected by the static type system, even though they may execute without errors. Dynamic type systems allow such ill-typed programs to run, at the cost of run-time errors. The cause of runtime errors is often far removed from the place where the type errors are raised, making the program hard to debug. We present a novel typing discipline called blame prediction which transforms programs in order to detect runtime type errors as soon as they are guaranteed to happen. These type errors relate the future type error with its cause, aiding in debugging. As a proof of concept, we have applied blame prediction to a functional Scheme-like language and evaluated our system against soft typing.
    Original languageEnglish
    Title of host publicationRevised Selected Papers of the 14th International Symposium on Trends in Functional Programming 2013
    EditorsJay Mccarthy
    PublisherSpringer
    Pages91-106
    Number of pages15
    Volume8322
    ISBN (Print)978-3-642-45339-7
    Publication statusPublished - 2014
    Event14th International Symposium on Trends in Functional Programming, TFP 2013 - Provo, UT, United States
    Duration: 14 May 201316 May 2013

    Publication series

    NameLecture Notes in Computer Science

    Conference

    Conference14th International Symposium on Trends in Functional Programming, TFP 2013
    Country/TerritoryUnited States
    CityProvo, UT
    Period14/05/1316/05/13

    Bibliographical note

    Jay McCarthy

    Keywords

    • blame prediction
    • type systems
    • gradual typing

    Fingerprint

    Dive into the research topics of 'Blame Prediction'. Together they form a unique fingerprint.

    Cite this