Skip to main content

Petri net models for the λ-calculus

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 266))

Abstract

In [Kluge & Schlütter 83] a Petri net model was presented for the reduction of expressions in a λ-calculus like language. The λ-plan model outlined here, tries to deal with two problems left open by the authors of that paper namely that they model only applicative order string-reduction and do not allow higher order functions. We will try to solve this by using a two-level approach.

In order to model the reduction of a given λ-term, an execution plan for the reduction of the term is generated. Execution of that λ-plan implies two levels of activity. On the control-flow level, transitions send each other messages (tokens) in order to detect redexes. Once a redex has been found a local change is made to the data-flow level where the structure of the plan is transformed according to the reduction rules of λ-calculus.

Although this paper is concerned only with string-reduction, an extension of the model to incorporate graph-reduction is straightforward. The plan model can also be adapted to model other rewriting systems as well.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Appendix B list of references

  1. Henk P. Barendregt. "The Lambda-calculus, its syntax and semantics", Studies in logic and the foundation of mathematics, Vol. 103, North Holland Publ. 1981.

    Google Scholar 

  2. William H. Burge. "Recursive Programming Techniques", Addison Wesley, 1975.

    Google Scholar 

  3. Warren F. Burton. "Annotations to control paralellism and reduction order in the distributed evaluation of functional languages", ACM Toplas, Vol. 6,No. 2, April 1984.

    Google Scholar 

  4. Chris Clack & Simon L Peyton Jones, "Strictness analysis — a practical approach", LNCS 201.

    Google Scholar 

  5. Hartmann J. Genrich. "Pr/T-nets", Lecture notes, Advanced course on Petri nets, Bad Honnef 1986.

    Google Scholar 

  6. Werner E. Kluge & Heinz Schlütter. "Petri net models for the evaluation of applicative programs based on λ-expressions", IEEE transactions on Software Engineering, Vol. SE-9, No. 4, July 1983.

    Google Scholar 

  7. Werner E. Kluge. "The architecture of a reduction machine hardware model", GMD Bonn internal report, ISF-79-3, August 1979.

    Google Scholar 

  8. J.R. Kennaway & M.R. Sleep. "Syntax and informal semantics of DyNe, a parallel language", LNCS 207.

    Google Scholar 

  9. J.R. Kennaway & M.R. Sleep. "Counting director strings", University of East Anglia Computing Studies Sector, 1985.

    Google Scholar 

  10. Erik Meijer. "Petri net models for the λ-calculus", Afstudeerverslag #3, University of Nijmegen.

    Google Scholar 

  11. Erik Meijer & Matthias Moritz. "Pr/T-net semantics for EAGS", To appear as internal report of, University of Nijmegen.

    Google Scholar 

  12. A. Veen "The misconstrued semicolon", Ph.D. thesis, Technical University Eindhoven.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Grzegorz Rozenberg

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meijer, E. (1987). Petri net models for the λ-calculus. In: Rozenberg, G. (eds) Advances in Petri Nets 1987. APN 1986. Lecture Notes in Computer Science, vol 266. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-18086-9_25

Download citation

  • DOI: https://doi.org/10.1007/3-540-18086-9_25

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-18086-9

  • Online ISBN: 978-3-540-47743-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics