ShopSpell

Algol-like Languages [Hardcover]

$81.99     $109.99    25% Off      (Free Shipping)
100 available
  • Category: Books (Computers)
  • Author:  O'Hearn, Peter, Tennent, Robert
  • Author:  O'Hearn, Peter, Tennent, Robert
  • ISBN-10:  0817639373
  • ISBN-10:  0817639373
  • ISBN-13:  9780817639372
  • ISBN-13:  9780817639372
  • Publisher:  Birkh?user
  • Publisher:  Birkh?user
  • Binding:  Hardcover
  • Binding:  Hardcover
  • Pub Date:  01-Mar-1996
  • Pub Date:  01-Mar-1996
  • SKU:  0817639373-11-SPRI
  • SKU:  0817639373-11-SPRI
  • Item ID: 100714178
  • List Price: $109.99
  • Seller: ShopSpell
  • Ships in: 5 business days
  • Transit time: Up to 5 business days
  • Delivery by: Jul 04 to Jul 06
  • Notes: Brand New Book. Order Now.
To construct a compiler for a modern higher-level programming languagel one needs to structure the translation to a machine-like intermediate language in a way that reflects the semantics of the language. little is said about such struc? turing in compiler texts that are intended to cover a wide variety of program? ming languages. More is said in the Iiterature on semantics-directed compiler construction [1] but here too the viewpoint is very general (though limited to 1 languages with a finite number of syntactic types). On the other handl there is a considerable body of work using the continuation-passing transformation to structure compilers for the specific case of call-by-value languages such as SCHEME and ML [21 3]. ln this paperl we will describe a method of structuring the translation of ALGOL-like languages that is based on the functor-category semantics devel? oped by Reynolds [4] and Oles [51 6]. An alternative approach using category theory to structure compilers is the early work of F. L. Morris [7]1 which anticipates our treatment of boolean expressionsl but does not deal with procedures. 2 Types and Syntax An ALGOL-like language is a typed lambda calculus with an unusual repertoire of primitive types. Throughout most of this paper we assume that the primi? tive types are comm(and) int(eger)exp(ression) int(eger)acc(eptor) int(eger)var(iable) I and that the set 8 of types is the least set containing these primitive types and closed under the binary operation -.To construct a compiler for a modern higher-level programming languagel one needs to structure the translation to a machine-like intermediate language in a way that reflects the semantics of the language. little is said about such struc? turing in compiler texts that are intended to cover a wide variety of program? ming languages. More is said in the Iiterature on semantics-directed compiler construction [1] but here too the viewpoint is very general (though limited to 1 languages with a finite nlc¿
Add Review