Skip to main content

Jump-With-Argument

  • Chapter
Call-By-Push-Value

Part of the book series: Semantic Structures in Computation ((SECO,volume 2))

  • 267 Accesses

Abstract

In Sect. 5.4.6, we presented a continuation semantics for CBPV+control, together with printing. (We use printing as our leading example of a non- control effect in this discussion, but others would work as well.) We used CBPV as the semantic metalanguage, and we gave not just one model, but a whole family, parametrized by an, A-set \(\underline {Ans}\). What we described there was, in effect, a translation

$$\begin{array}{*{20}c}{CBPV + control} \\{ + print} \\\end{array} \to \begin{array}{*{20}c}{CBPV + \underline {Ans} } \\{ + print} \\\end{array}$$

where \(\underline {Ans}\) is a free computation type identifier. Any A-set \(\underline {Ans}\) induces a denotational semantics for CBPV + \(\underline {Ans}\) + print (where we interpret \(\underline {Ans}\) by \(\underline {Ans}\)) and so, via this translation, a denotational semantics for CBPV + control + print. The translation is called the stack-passing style (StkPS) transform, because every computation is regarded as taking its stack as a parameter. (In the CBV setting, it is called the continuation-passing style (CPS) transform because all stacks are continuations.)

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 109.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 139.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.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

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer Science+Business Media Dordrecht

About this chapter

Cite this chapter

Levy, P.B. (2003). Jump-With-Argument. In: Call-By-Push-Value. Semantic Structures in Computation, vol 2. Springer, Dordrecht. https://doi.org/10.1007/978-94-007-0954-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-94-007-0954-6_7

  • Publisher Name: Springer, Dordrecht

  • Print ISBN: 978-94-010-3752-5

  • Online ISBN: 978-94-007-0954-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics