6 research outputs found

    Incremental Semantic Evaluation for Interactive Systems: Inertia, Pre-emption, and Relations

    Get PDF
    Although schemes for incremental semantic evaluation have been explored and refined for more than two decades, the demands of user interaction continue to outstrip the capabilities of these schemes. The feedback produced by a semantic evaluator must support the user's programming activities: it must be structured in a way that provides the user with meaningful insight into the program (directly, or via other tools in the environment) and it must be timely. In this paper we extend an incremental attribute evaluation scheme with three techniques to better meet these demands within the context of a modeless editing system with a flexible tool integration paradigm. Efficient evaluation in the presence of syntax errors (which arise often under modeless editing) is supported by giving semantic attributes inertia: a tendency to not change unless necessary. Pre-emptive evaluation helps to reduce the delays associated with a sequence of edits, allowing an evaluator to "keep pace" with the user. Relations provide a general means to capture semantic structure (for the user, other tools, and as attributes within an evaluation) and are treated efficiently using a form of differential propagation. The combination of these three techniques meets the demands of user interaction; leaving out any one does not

    Incremental Context-Sensitive Evaluation in Context

    Get PDF
    Although techniques for implementing or generating incremental semantic evaluators have been explored and refined for more than two decades, several pragmatic concerns still impede the use of such techniques in practical development environments. This report not only addresses some of these concerns, but furthermore demonstrates the need to consider the problem of incremental semantic evaluation in context. The practical concerns addressed here stem from both user interaction and architectural requirements. In particular an innovative preemptive evaluation scheme is presented which helps to reduce delays associated with semantic evaluation over a sequence of edits. Furthermore, a technique for assigning attributes to syntactically erroneous material (the introduction of which is inevitable in a syntax recognition editor) is described, as well as a novel approach to handling "long-distance" semantic effects using fine-grained incremental evaluation of relations

    Incremental rewriting

    Get PDF
    corecore