Skip to main content

A Lambda Calculus with Forms

  • Conference paper
Software Composition (SC 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3628))

Included in the following conference series:

Abstract

The need to use position-dependent parameters often hampers the definition of flexible, extensible, and reusable abstractions for software composition. This observation has led us to explore the concept of forms, which are first-class extensible records and that, in combination with a small set of purely asymmetric operators, provide a core language to address this issue. One interesting application of forms is the definition of contractual specifications to ensure that a component can be safely combined with other components or deployed in a new context. In fact, contractual specifications explicitly and formally state what a component offers without entering into the details of how. In this paper, we develop a formal form-based framework for the definition of contractual specifications. More precisely, we study a substitution-free variant of the lambda-calculus, called \(\lambda{\mathcal F}\), where names are replaced with forms and parameter passing is modeled using explicit contexts and show how the \(\lambda{\mathcal F}\)-calculus can be used to define syntactic contractual specifications.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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.

Similar content being viewed by others

References

  1. Abadi, M., Cardelli, L., Curien, P.-L., Lèvy, J.-J.: Explicit Substitutions. In: Conference Record of the Seventeenth Annual ACM Symposium on Principles of Programming Languages, San Francisco, California, pp. 31–46. ACM, New York (1990)

    Google Scholar 

  2. Achermann, F.: Forms, Agents and Channels: Defining Composition Abstraction with Style. PhD thesis, University of Bern, Institute of Computer Science and Applied Mathematics (January 2002)

    Google Scholar 

  3. Achermann, F., Nierstrasz, O.: Explicit Namespaces. In: Weck, W., Gutknecht, J. (eds.) Modular Programming Languages. LNCS, vol. 1897, pp. 77–89. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  4. Assmann, U.: Invasive Software Composition. Springer, Heidelberg (2003)

    Book  MATH  Google Scholar 

  5. Beugnard, A., Jézéquel, J.-M., Plouzeau, N., Watkins, D.: Making Components Contract Aware. IEEE Computer 32(7), 38–45 (1999)

    Article  Google Scholar 

  6. Cardelli, L.: Type Systems. In: Handbook of Computer Science and Engineering, ch. 103, pp. 2208–2236. CRC Press, Boca Raton (1997)

    Google Scholar 

  7. Cardelli, L., Mitchell, J.C.: Operations on Records. In: Gunter, C., Mitchell, J.C. (eds.) Theoretical Aspects of Object-Oriented Programming, MIT Press, Cambridge (1994); Also appeared as SRC Research Report 48; And in Mathematical Structures in Computer Science 1(1), 3–48 (March 1991)

    Google Scholar 

  8. Curbera, F., Weerawarana, S., Duftler, M.J.: On Component Composition Languages. In: Proceedings of ECOOP 2000 Workshop on Component-Oriented Programming (June 2000)

    Google Scholar 

  9. Dami, L.: Software Composition: Towards an Integration of Functional and Object-Oriented Approaches. PhD thesis, Centre Universitaire d’Informatique, University of Geneva, CH (1994)

    Google Scholar 

  10. Dami, L.: A Lambda-Calculus for Dynamic Binding. Theoretical Computer Science 192, 201–231 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  11. de Bruijn, N.G.: Lambda Calculus Notation with Nameless Dummies. Indagationes Mathematicae 34, 381–392 (1972)

    Article  MATH  Google Scholar 

  12. De Remer, F., Kron, H.H.: Programming in the Large versus Programming in the Small. IEEE Transactions on Software Engineering  SE–2(2), 80–86 (1976)

    MathSciNet  MATH  Google Scholar 

  13. Lumpe, M.: A π-Calculus Based Approach to Software Composition. PhD thesis, University of Bern, Institute of Computer Science and Applied Mathematics (January 1999)

    Google Scholar 

  14. Lumpe, M., Achermann, F., Nierstrasz, O.: A Formal Language for Composition. In: Leavens, G., Sitaraman, M. (eds.) Foundations of Component-Based Systems, March 2000, pp. 69–90. Cambridge University Press, Cambridge (2000)

    Google Scholar 

  15. Lumpe, M., Schneider, J.-G.: Form-based Software Composition. In: Barnett, M., Edwards, S., Giannakopoulou, D., Leavens, G.T. (eds.) Proceedings of ESEC 2003 Workshop on Specification and Verification of Component-Based Systems (SAVCBS 2003), Helsinki, Finland, September 2003, pp. 58–65 (2003)

    Google Scholar 

  16. Lumpe, M., Schneider, J.-G.: A Form-based Metamodel for Software Composition. Science of Computer Programming 56, 59–78 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  17. Milner, R.: Communicating and Mobile Systems: the π-Calculus. Cambridge University Press, Cambridge (1999)

    MATH  Google Scholar 

  18. Nierstrasz, O., Achermann, F.: A calculus for modeling software components. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2002. LNCS, vol. 2852, pp. 339–360. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  19. Nierstrasz, O., Dami, L.: Component-Oriented Software Technology. In: Nierstrasz, O., Tsichritzis, D. (eds.) Object-Oriented Software Composition, pp. 3–28. Prentice Hall, Englewood Cliffs (1995)

    Google Scholar 

  20. Nierstrasz, O., Meijler, T.D.: Requirements for a Composition Language. In: Ciancarini, P., Nierstrasz, O., Yonezawa, A. (eds.) Object-Based Models and Languages for Concurrent Systems. LNCS, vol. 924, pp. 147–161. Springer, Heidelberg (1995)

    Chapter  Google Scholar 

  21. Rammer, I.: Advanced .NET Remoting. APress (2002)

    Google Scholar 

  22. Rémy, D.: Typing Record Concatenation for Free. Technical Report RR-1739, INRIA Rocquencourt (August 1992)

    Google Scholar 

  23. Sametinger, J.: Software Engineering with Reusable Components. Springer, Heidelberg (1997)

    Book  MATH  Google Scholar 

  24. Schneider, J.-G.: Components, Scripts, and Glue: A conceptual framework for software composition. PhD thesis, University of Bern, Institute of Computer Science and Applied Mathematics (October 1999)

    Google Scholar 

  25. Schneider, J.-G., Lumpe, M.: Synchronizing Concurrent Objects in the Pi-Calculus. In: Ducournau, R., Garlatti, S. (eds.) Proceedings of Langages et Modèles à Objets 1997, October 1997, pp. 61–76. Roscoff, Hermes (1997)

    Google Scholar 

  26. Costa Seco, J., Caires, L.: A basic model of typed components. In: Bertino, E. (ed.) ECOOP 2000. LNCS, vol. 1850, pp. 108–128. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  27. Steele, G.L.: Common Lisp the Language, 2nd edn. Digital Press, Thinking Machines, Inc (1990)

    Google Scholar 

  28. Szyperski, C.: Component Software: Beyond Object-Oriented Programming, 2nd edn. Addison-Wesley / ACM Press (2002)

    Google Scholar 

  29. van Rossum, G.: Python Reference Manual. Technical report, Corporation for National Research Initiatives (CNRI) (October 1996)

    Google Scholar 

  30. W3C. Extensible Markup Language (XML) 1.0 3rd edn. W3C Recommendation (February 2004), http://www.w3.org/TR/REC-xml

  31. Wall, L., Christiansen, T., Schwartz, R.L.: Programming Perl. O’Reilly & Associates, 2nd edn. (September 1996)

    Google Scholar 

  32. Wand, M.: Type Inference for Record Concatenation and Multiple Inheritance. Information and Computation 93, 1–15 (1991); Preliminary version appeared in Proc. 4th IEEE Symposium on Logic in Computer Science, pp. 92–97 (1989)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 IFIP International Federation for Information Processing

About this paper

Cite this paper

Lumpe, M. (2005). A Lambda Calculus with Forms. In: Gschwind, T., Aßmann, U., Nierstrasz, O. (eds) Software Composition. SC 2005. Lecture Notes in Computer Science, vol 3628. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11550679_7

Download citation

  • DOI: https://doi.org/10.1007/11550679_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28748-3

  • Online ISBN: 978-3-540-28749-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics