Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-t8hqh Total loading time: 0 Render date: 2024-11-20T09:21:16.893Z Has data issue: false hasContentIssue false

Preface

Published online by Cambridge University Press:  12 October 2009

Flemming Nielson
Affiliation:
Aarhus Universitet, Denmark
Hanne Riis Nielson
Affiliation:
Aarhus Universitet, Denmark
Get access

Summary

The subject area of this book concerns the implementation of functional languages. The main perspective is that part of the implementation process amounts to

making computer science concepts explicit

in order to facilitate the application, and the development, of general frameworks for program analysis and code generation.

This is illustrated on a specimen functional language patterned after the λ-calculus:

  • Types are made explicit in Chapter 2 by means of a Hindley/Milner/Damas type analysis.

  • Binding times are made explicit in Chapter 3 using an approach inspired by the one for type analysis. The binding times of chief interest are compile-time and run-time.

  • Combinators are made explicit in Chapter 4 but only for run-time computations whereas the compile-time computations retain their λ-calculus syntax.

The advantages of this approach are illustrated in the remainder of the book where the emphasis also shifts from a ‘syntactic perspective’ to a more ‘semantic perspective’:

  • A notion of parameterized semantics is defined in Chapter 5 and this allows a wide variety of semantics to be given.

  • It is illustrated for code generation in Chapter 6. Code is generated for a structured abstract machine and the correctness proof exploits Kripke-logical relations and layered predicates.

  • It is illustrated for abstract interpretation in Chapter 7. We generalize Wadler's strictness analysis to general lists, show the correctness using logical relations, and illustrate the similarity between tensor products and Wadler's case analysis.

Finally, Chapter 8 discusses possible ways of extending the development.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 1992

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Preface
  • Flemming Nielson, Aarhus Universitet, Denmark, Hanne Riis Nielson, Aarhus Universitet, Denmark
  • Book: Two-Level Functional Languages
  • Online publication: 12 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526572.001
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Preface
  • Flemming Nielson, Aarhus Universitet, Denmark, Hanne Riis Nielson, Aarhus Universitet, Denmark
  • Book: Two-Level Functional Languages
  • Online publication: 12 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526572.001
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Preface
  • Flemming Nielson, Aarhus Universitet, Denmark, Hanne Riis Nielson, Aarhus Universitet, Denmark
  • Book: Two-Level Functional Languages
  • Online publication: 12 October 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511526572.001
Available formats
×