Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
A slicing-based approach for locating type errors
Tip F., Dinesh T. ACM Transactions on Software Engineering and Methodology10 (1):5-55,2001.Type:Article
Date Reviewed: May 1 2001

A new way of locating type errors is presented. It uses program slicing to improve the informativeness of error messages and the quality of the associated positional  information. 

The authors start with a framework in which type-checkers are specified algebraically and executed by a term rewriting system. In this model, a program’s abstract syntax tree is rewritten as a list of type errors. Each error message is associated with a slice of the program, which is achieved by using dependence tracking. To illustrate all this, the authors introduce a simple language, L. Some L programs are elaborately rewritten to error messages, using the specified rewrite rules.

The technique has been implemented using the ASF+SDF meta-environment, and has been tested on a subset of Pascal to which object-oriented type features, such as subtypes, have been added. Functional type systems can also be handled by this method, as the authors show for a subset of ML.

The paper is intended for everyone interested in language semantics and their implementation, and is easy to read. No prior knowledge of rewriting systems is needed; indeed, the paper might arouse interest in this topic. Adequate references are provided in that case.

Reviewer:  J. H. Jongejan Review #: CR125153
Bookmark and Share
 
Translator Writing Systems And Compiler Generators (D.3.4 ... )
 
 
Languages (D.2.1 ... )
 
 
Specification Techniques (F.3.1 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Translator Writing Systems And Compiler Generators": Date
The art of compiler design
Pittman T., Peters J., Prentice-Hall, Inc., Upper Saddle River, NJ, 1992. Type: Book (9780130481900)
Apr 1 1994
Compiler generation from denotational semantics
Paulson L., Cambridge University Press, New York, NY, 1984. Type: Book (9780521268431)
Jun 1 1985
Automatic compiler production: the front end
Reiss S. IEEE Transactions on Software Engineering SE-13(6): 609-627, 1987. Type: Article
Feb 1 1988
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy