Skip to main content

Operational Semantics of HOFL

  • Chapter
  • First Online:
Models of Computation

Part of the book series: Texts in Theoretical Computer Science. An EATCS Series ((TTCS))

  • 1252 Accesses

Abstract

In the previous part of the book we have introduced and studied an imperative language called IMP. In this chapter we move our attention to functional languages. In particular, we introduce HOFL, a simple higher-order functional language that allows for the explicit construction of infinitely many types. We overview Church and Curry type theories. Then, we present a lazy operational semantics, which corresponds to a call-by-name strategy, namely actual parameters are passed to functions without evaluating them. This view is contrasted with the eager evaluation semantics, which corresponds to a call-by-value strategy, where all actual parameters are evaluated before being passed to functions. The operational semantics evaluates (well-typed) terms to suitable canonical forms.

Typing is no substitute for thinking. (Richard Hamming)

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 64.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Roberto Bruni .

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Bruni, R., Montanari, U. (2017). Operational Semantics of HOFL. In: Models of Computation. Texts in Theoretical Computer Science. An EATCS Series. Springer, Cham. https://doi.org/10.1007/978-3-319-42900-7_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-42900-7_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-42898-7

  • Online ISBN: 978-3-319-42900-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics