Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Defining context-dependent syntax without using contexts
Odersky M. ACM Transactions on Programming Languages and Systems15 (3):535-562,1993.Type:Article
Date Reviewed: Dec 1 1994

Odersky presents a new method for specifying static semantics. Contextual constraints (such as type checking) are specified using formulas from the first-order predicate calculus, while reasoning about the set of nodes in the program’s derivation tree. The new notation is thus called CADET (calculus on derivation trees).

Like many other methods, CADET is used to specify static semantics by imposing restrictions on the derivation tree. Unlike most other methods, CADET does not seem to need the “auxiliary” tools (data structures or mappings) that are conventionally used to transport data from one place to another in the tree. Instead, CADET is used to reason about such nodes directly. The author says CADET has been used successfully in the specification of the language Oberon.

The paper is well written, and the main thesis (that CADET offers a more abstract, less implementation-oriented alternative) is presented well. CADET is compared directly against a number of other methods, including attribute grammars, functional methods, logic-based methods, Axiomatic Denotational Language (ADL), and constructive theories.

Overall, this paper is a well-formulated contribution to the state of the art. As with most other specification methods of programming languages, however, CADET faces long odds against gaining general acceptance. Specifically, a method for generating translators automatically from CADET specifications is needed before the technique can be considered practical.

Reviewer:  M. Bermudez Review #: CR118111
Bookmark and Share
 
Syntax (D.3.1 ... )
 
 
Model Theory (F.4.1 ... )
 
 
Parsing (F.4.2 ... )
 
 
Semantics (D.3.1 ... )
 
 
Formal Definitions And Theory (D.3.1 )
 
 
Grammars And Other Rewriting Systems (F.4.2 )
 
  more  
Would you recommend this review?
yes
no
Other reviews under "Syntax": Date
Formal syntax methods for natural language
Johnson D., Bryant B. Information Processing Letters 19(3): 135-143, 1984. Type: Article
Jun 1 1985
On the (non-) relationship between SLR(1) and NQLALR(1) grammars
Bermudez M., Schimpf K. ACM Transactions on Programming Languages and Systems 10(2): 338-342, 1988. Type: Article
Oct 1 1988
User-friendly syntax: design and presentation
Henno J. International Journal of Man-Machine Studies 28(5): 551-572, 1988. Type: Article
Jun 1 1989
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