Algol-like Languages

Algol-like Languages
Author :
Publisher : Springer Science & Business Media
Total Pages : 345
Release :
ISBN-10 : 9781475738513
ISBN-13 : 147573851X
Rating : 4/5 (51X Downloads)

Book Synopsis Algol-like Languages by : Peter O'Hearn

Download or read book Algol-like Languages written by Peter O'Hearn and published by Springer Science & Business Media. This book was released on 2013-03-14 with total page 345 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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 -.


Algol-like Languages Related Books

Algol-like Languages
Language: en
Pages: 345
Authors: Peter O'Hearn
Categories: Computers
Type: BOOK - Published: 2013-03-14 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

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
History of Programming Languages
Language: en
Pages: 784
Authors: Richard L. Wexelblat
Categories: Reference
Type: BOOK - Published: 2014-05-27 - Publisher: Academic Press

DOWNLOAD EBOOK

History of Programming Languages presents information pertinent to the technical aspects of the language design and creation. This book provides an understandin
A Primer of ALGOL 60 Programming
Language: en
Pages:
Authors: Edsger W. Dijkstra
Categories:
Type: BOOK - Published: 1966 - Publisher:

DOWNLOAD EBOOK

Essentials of Programming Languages, third edition
Language: en
Pages: 433
Authors: Daniel P. Friedman
Categories: Computers
Type: BOOK - Published: 2008-04-18 - Publisher: MIT Press

DOWNLOAD EBOOK

A new edition of a textbook that provides students with a deep, working understanding of the essential concepts of programming languages, completely revised, wi
The Denotational Description of Programming Languages
Language: en
Pages: 168
Authors: M.J.C. Gordon
Categories: Computers
Type: BOOK - Published: 2012-12-06 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

This book explains how to formally describe programming languages using the techniques of denotational semantics. The presentation is designed primarily for com