Skip to content
Open global navigation

Cambridge University Press

AcademicLocation selectorSearch toggleMain navigation toggle
Cart
Register Sign in Wishlist
Compiling with Continuations

Compiling with Continuations

$99.99

  • Date Published: February 2007
  • availability: Available
  • format: Paperback
  • isbn: 9780521033114

$99.99
Paperback

Add to cart Add to wishlist

Other available formats:
Hardback, eBook


Looking for an examination copy?

If you are interested in the title for your course we can consider offering an examination copy. To register your interest please contact collegesales@cambridge.org providing details of the course you are teaching.

Description
Product filter button
Description
Contents
Resources
Courses
About the Authors
  • This book shows how continuation-passing style is used as an intermediate representation to perform optimizations and program transformations. Continuations can be used to compile most programming languages. The method is illustrated in a compiler for the programming language Standard ML. Prior knowledge of ML, however, is not necessary, as the author carefully explains each concept as it arises. This is the first book to show how concepts from the theory of programming languages can be applied to the production of practical optimizing compilers for modern languages like ML. All the details of compiling are covered, including the interface to a runtime system and garbage collector.

    Reviews & endorsements

    "I recommend the book to language designers and implementors specializing in the functional paradigm." F.G. Pagan, Computing Reviews

    Customer reviews

    Not yet reviewed

    Be the first to review

    Review was not posted due to profanity

    ×

    , create a review

    (If you're not , sign out)

    Please enter the right captcha value
    Please enter a star rating.
    Your review must be a minimum of 12 words.

    How do you rate this item?

    ×

    Product details

    • Date Published: February 2007
    • format: Paperback
    • isbn: 9780521033114
    • length: 272 pages
    • dimensions: 244 x 170 x 15 mm
    • weight: 0.44kg
    • availability: Available
  • Table of Contents

    Acknowledgements
    1. Overview
    2. Continuation-passing style
    3. Semantics of the CPS
    4. ML-specific optimizations
    5. Conversion into CPS
    6. Optimization of the CPS
    7. Beta expansion
    8. Hoisting
    9. Common subexpressions
    10. Closure conversion
    11. Register spilling
    12. Space complexity
    13. The abstract machine
    14. Machine-code generation
    15. Performance evaluation
    16. The runtime system
    17. Parallel programming
    18. Future directions
    Appendices
    Bibliography
    Index.

  • Author

    Andrew W. Appel, Princeton University, New Jersey

Sign In

Please sign in to access your account

Cancel

Not already registered? Create an account now. ×

Sorry, this resource is locked

Please register or sign in to request access. If you are having problems accessing these resources please email cflack@cambridge.org

Register Sign in
Please note that this file is password protected. You will be asked to input your password on the next screen.

» Proceed

You are now leaving the Cambridge University Press website, your eBook purchase and download will be completed by our partner www.ebooks.com. Please see the permission section of the www.ebooks.com catalogue page for details of the print & copy limits on our eBooks.

Continue ×

Continue ×

Find content that relates to you

© Cambridge University Press 2014

Back to top

Are you sure you want to delete your account?

This cannot be undone.

Cancel Delete

Thank you for your feedback which will help us improve our service.

If you requested a response, we will make sure to get back to you shortly.

×
Please fill in the required fields in your feedback submission.
×