skip to main content
10.1145/263699.263726acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article
Free Access

The π-calculus in direct style

Published:01 January 1997Publication History

ABSTRACT

We introduce a calculus which is a direct extension of both the λ and the π calculi. We give a simple type system for it, that encompasses both Curry's type inference for the λ-calculus, and Milner's sorting for the π-calculus as particular cases of typing. We observe that the various continuation passing style transformations for λ-terms, written in our calculus, actually correspond to encodings already given by Milner and others for evaluation strategies of λ-terms into the π-calculus. Furthermore, the associated sortings correspond to well-known double negation translations on types. Finally we provide an adequate CPS transform from our calculus to the π-calculus. This shows that the latter may be regarded as an "assembly language", while our calculus seems to provide a better programming notation for higher-order concurrency.

References

  1. 1.S. ABRAMSKY, C.-H.L. ONG, FUll abstraction in the lazy lambda-calculus, Information and Computation 105 (1993) 159-267. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.R. AMADIO, L. LETH, B. THOMSEN, From a concurrent A-calculus to the 7r-calculus, FCT'95, Lecture Notes in Comput. Sci. 965 (1995) 106-115. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.A. APPEL, Compiling with Continuations, Cambridge University Press (1992). Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.G. BERRY, G. BOUDOL, Tile chemical abstract machine, Theoretical Comput. Sci. 96 (1992) 217-248. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.G. BOUDOL, Asynd#rony and the 7r-calculus, INRIA Res. Report 1702 ( 1992).Google ScholarGoogle Scholar
  6. 6.G. BOUDOL, The A-calculus with multiplicities, INRIA Res. Report 2025 (1993).Google ScholarGoogle Scholar
  7. 7.G. BOUDOL, Lambda-calculi for (strict) parallel functions, Information and Computation 108 (1994) 51-127. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.G. BOUDOL, C. LANEVE, A-Calculus, multiplicities and the 7r-calculus, INRIA Res. Report 2581 (1995).Google ScholarGoogle Scholar
  9. 9.G. BOUDOL, C. LANEVE, The discriminating power of multiplicities in the A-calculus, Information and Computation 126 (1996) 83-102. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10.M. BOREALE, On the expressiveness of internal mobility in name-passing calculi, CONCUR'96, Lecture Notes in Comput. Sci. 1119 (1996) 163-178. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11.C. FOURNET, G. GONTHIER, The reflexive CHAM, and the join calculus, POPL'96 (1996) 372-385. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12.A. GIACALONE, P. MISHRA, S. PRASAD, FACILE: asymmetric integration of concurrent and functional programruing, TAPSOFT'89, Lecture Notes in Comput. Sci. 352 (#989) 184-209. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. 13.R. HARPER, M. LILLIBRIDGE, Polymorphic type assignment and cPs conversion, LISP and Symbolic Computation 6 (1993) 361-380. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. 14.J. LAUNCHBURY, A natural semantics for lazy evaluation, POPL'93 (1993) 144-154. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. 15.A.P# MEYER, M. WAND, Continuation semantics in typed lambda-calculi, Lecture Notes in Comput. Sci. 193 (1985) 219-224. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. 16.R. MILNER, J. PARROW, D. WALKER, A calculus of mobile processes, Information and Computation I00 (1992) 1-77. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. 17.R. MILNER, Functions as processes, Math. Struct. in Comp. Science 2 (1992) 119-141. Preliminary version in INRIA Res. Report 1154.Google ScholarGoogle ScholarCross RefCross Ref
  18. 18.tL MILNER, The polyadic 7r-calculus: a tutorial, Technical Report ECS-LFCS-91-180, Edinburgh University (1991) Reprinted in Logic and Algebra of Specification, F. Bauer, W. Brauer and H. Schwichtenberg, Eds, Springer Verlag, 1993, 203-246.Google ScholarGoogle Scholar
  19. 19.C. MURTHY, A computational analysis of Girard's translation aJld LC, LICS'92 (1992) 90-101.Google ScholarGoogle Scholar
  20. 20.B. PmRCE, Programming in the #r-calculus - An experiment in concurrent language design, available electronically, Computer Lab. Cambridge (1995).Google ScholarGoogle Scholar
  21. 21.G. PLOTKIN, Call-by-same, call-by-value and the A-calculus, Theoret. Comput. Sci. 1 (1975) 125-159.Google ScholarGoogle ScholarCross RefCross Ref
  22. 22.J.H. REPPY, CML: a higher-order concurrent language, ACM SIGPLAN'91 PLDI Conference, SIGPLAN Notices 26 (1991) 293-305. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. 23.D. SANGIORG{, Expressing Mobility in Process Algebras: First-Order and Higher-Order Paradigms, PhD Thesis, Department of Computer Science, The University of Edinburgh (1993).Google ScholarGoogle Scholar
  24. 24.D. SANGIOROI, From zr-calculus to higher-order 7r-calculus- and back, TAPSOFT'93, Lecture Notes in Comput. Sci. 668 (#993) 151-166. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. 25.D. SANGIORGI, The lazy lambda-calculus in a concurrency scenario, Information and Computation 120 (1994) 120-153. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. 26.G. SMOLKA, A foundation for higher-order concurrent constraint programming, in Constraints in Computational Logics, Lecture Notes in Comput. Sci. 845 (1994) 50-72. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. 27.C. TALCOTT, Ed., Special Issue on Continuations, LISP and Symbolic Computation 6 & 7 (1993).Google ScholarGoogle Scholar
  28. 28.D. TURNER, The Polymorphic Pi-calculus: Theory and h nplementation, Ph.D. Thesis, University of Edinburgh (1995).Google ScholarGoogle Scholar
  29. 29.V. VASCONCELOS, K. HONDA, Principal typing schemes in a polyadic 7r-calculus, CONCUR'93, Lecture Notes in Comput. Sci. 715 (1993) 524-538. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The π-calculus in direct style

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              POPL '97: Proceedings of the 24th ACM SIGPLAN-SIGACT symposium on Principles of programming languages
              January 1997
              497 pages
              ISBN:0897918533
              DOI:10.1145/263699

              Copyright © 1997 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 1 January 1997

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • Article

              Acceptance Rates

              POPL '97 Paper Acceptance Rate36of225submissions,16%Overall Acceptance Rate824of4,130submissions,20%

              Upcoming Conference

              POPL '25

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader