Algol-like Languages

by Peter O'Hearn

2020-07-07 19:22:08

Compare Price
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 ... Read more
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 -. Less

Book Details

File size9.21 X 6.14 X 0 in
Print pages288
PublisherSpringer-Verlag/Sci-Tech/Trade
Publication date December 1, 1996
LanguageEnglish
ISBN9781475738513

Compare Prices

Store Availability Book Format Condition Price
BetterWorld.com - New, Used, Rare Books & Textbooks In Stock Buy USD 54.41
Indigo Books & Music In Stock Hard Cover Hard Cover Buy CAD 239.95
eBooks.com In Stock Buy AUD 209.0
Indigo Books & Music In Stock Paperback Paperback Buy CAD 196.07
Indigo Books & Music In Stock Buy CAD 192.08
BetterWorld.com - New, Used, Rare Books & TextbooksIn Stock
Format
Condition
Buy USD 54.41
Indigo Books & MusicIn Stock
Format
Hard Cover
Condition
Hard Cover
Buy CAD 239.95
eBooks.comIn Stock
Format
Condition
Buy AUD 209.0
Indigo Books & MusicIn Stock
Format
Paperback
Condition
Paperback
Buy CAD 196.07
Indigo Books & MusicIn Stock
Format
Condition
Buy CAD 192.08
Available Discount
No Discount available

Join us and get access to all
your favourite books

Sign up for free and start exploring thousands of eBooks today.

Sign up for free