Algol-like Languages

Algol-like Languages PDF

Author: Peter O'Hearn

Publisher: Springer Science & Business Media

Published: 2013-03-14

Total Pages: 345

ISBN-13: 147573851X

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 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 -.

A Brief History of Computing

A Brief History of Computing PDF

Author: Gerard O'Regan

Publisher: Springer Science & Business Media

Published: 2008

Total Pages: 255

ISBN-13: 1848000839

DOWNLOAD EBOOK →

Robert Irwin travels back in time with his real-life best friend, in his third wild adventure Robert and his best friend Riley are visiting the Canadian badlands in Alberta with Riley's Uncle Nate. The badlands are home to more than 35 different species of dinosaur fossils. Robert and Riley get pulled back in time to Alberta, Canada during the Late Cretaceous period, to find a heavily armored euoplocephalus trapped in vines. The rescue doesn't go according to plan when a ferocious gorgosaurus arrives on the scene, looking for a snack.

History of Programming Languages

History of Programming Languages PDF

Author: Richard L. Wexelblat

Publisher: Academic Press

Published: 2014-05-27

Total Pages: 784

ISBN-13: 1483266168

DOWNLOAD EBOOK →

History of Programming Languages presents information pertinent to the technical aspects of the language design and creation. This book provides an understanding of the processes of language design as related to the environment in which languages are developed and the knowledge base available to the originators. Organized into 14 sections encompassing 77 chapters, this book begins with an overview of the programming techniques to use to help the system produce efficient programs. This text then discusses how to use parentheses to help the system identify identical subexpressions within an expression and thereby eliminate their duplicate calculation. Other chapters consider FORTRAN programming techniques needed to produce optimum object programs. This book discusses as well the developments leading to ALGOL 60. The final chapter presents the biography of Adin D. Falkoff. This book is a valuable resource for graduate students, practitioners, historians, statisticians, mathematicians, programmers, as well as computer scientists and specialists.

Concepts in Programming Languages

Concepts in Programming Languages PDF

Author: John C. Mitchell

Publisher: Cambridge University Press

Published: 2003

Total Pages: 546

ISBN-13: 9780521780988

DOWNLOAD EBOOK →

A comprehensive undergraduate textbook covering both theory and practical design issues, with an emphasis on object-oriented languages.

Transitions and Trees

Transitions and Trees PDF

Author: Hans Hüttel

Publisher: Cambridge University Press

Published: 2010-04-29

Total Pages: 291

ISBN-13: 0521197465

DOWNLOAD EBOOK →

A rigorous, self-contained introduction to the theory of operational semantics of programming languages and its use.