1985•ACM SIGPLAN NoticesRequires access

Attribute propagation by message passing

Alan J. Demers, Anne Rogers, Frank Kenneth Zadeck

Open publisher page 8 citations

Abstract

The goal of our work is to use the paradigms of syntax-directed editing to perform very sophisticated semantic checking, for example, to check flow-sensitive properties such as whether a variable is necessarily defined before it is used. Semantic checking of this power is much more important than syntax checking because it relieves the programmer of the need to keep track of numerous details as the program grows in complexity. There has been a great deal of recent work on syntax-directed editing. This work primarily serves the needs of novice programmers: making the task of entering and editing programs easier and less error prone. Most syntax-directed editors guarantee that the program fragment under construction is syntactically correct at all times. Many of them also detect simple semantic errors such as undeclared variables or type errors. Few, however, attempt to perform more semantic analysis than a typical (non-optimizing) compiler.

About this research paper

What this paper is about

The goal of our work is to use the paradigms of syntax-directed editing to perform very sophisticated semantic checking, for example, to check flow-sensitive properties such as whether a variable is necessarily defined before it is used. Semantic checking of this power is much more important than syntax checking because it relieves the programmer of the need to keep track of numerous details as the program grows in complexity. There has been a great deal of recent work on syntax-directed editing. This work primarily serves the needs of novice programmers: making the task of entering and editing programs easier and less error prone. Most syntax-directed editors guarantee that the program fragment under construction is syntactically correct at all times. Many of them also detect simple semantic errors such as undeclared variables or type errors. Few, however, attempt to perform more semantic analysis than a typical (non-optimizing) compiler.

Why it matters

OpenAlex reports 8 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

The goal of our work is to use the paradigms of syntax-directed editing to perform very sophisticated semantic checking, for example, to check flow-sensitive properties such as whether a variable is necessarily defined before it is used. Semantic checking of this power is much more important than syntax checking because it relieves the programmer of the need to keep track of numerous details as the program grows in complexity. There has been a great deal of recent work on syntax-directed editing. This work primarily serves the needs of novice programmers: making the task of entering and editing programs easier and less error prone. Most syntax-directed editors guarantee that the program fragment under construction is syntactically correct at all times. Many of them also detect simple semantic errors such as undeclared variables or type errors. Few, however, attempt to perform more semantic analysis than a typical (non-optimizing) compiler.

Key concepts: Computer science, Programming language, Programmer, Syntax, Undo, Compiler, Syntax error, Abstract syntax

Related papers

Back to paper searchBrowse research topicsOriginal source
Attribute propagation by message passing — Research Paper | ScholarLens