skip to main content
10.1145/2426890.2426906acmconferencesArticle/Chapter ViewAbstractPublication PagespepmConference Proceedingsconference-collections
keynote

Partially static operations

Published:21 January 2013Publication History

ABSTRACT

Partial evaluation distinguishes between different binding times when manipulating values in a program. A partial evaluator performs evaluation steps on values with a static binding time whereas it generates code for values with a dynamic binding time. Binding time descriptions have evolved from monolithic to fine grained, partially static data structures where different components may have different binding times.

We consider the next step in this evolution where not just data constructors but also operations can give rise to partially static structures, which are processed by the partial evaluator. We introduce this notion in an online setting, generalize it, generate a binding-time analysis for it, and implement an offline program generator supporting partially static operations with it. We report on our initial experiences with this new approach.

References

  1. N. D. Jones, P. Sestoft, and H. Søndergaard. An experiment in partial evaluation: The generation of a compiler generator. In J.-P. Jouannaud, editor, Rewriting Techniques and Applications, pages 124--140, Dijon, France, 1985. Springer. LNCS 202. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. O. Kiselyov, K. N. Swadi, and W. Taha. A methodology for generating verified combinatorial circuits. In G. C. Buttazzo, editor, EMSOFT 2004, pages 249--258, Pisa, Italy, Sept. 2004. ACM. ISBN 1--58113--860--1. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. J. Launchbury and C. K. Holst. Handwriting cogen to avoid problems with static typing. In Draft Proceedings, Fourth Annual Glasgow Workshop on Functional Programming, pages 210--218, Skye, Scotland, 1991. Glasgow University.Google ScholarGoogle Scholar
  4. T. Æ. Mogensen. Partially static structures in a self-applicable partial evaluator. In D. Bjørner, A. P. Ershov, and N. D. Jones, editors, Partial Evaluation and Mixed Computation, pages 325--347, Amsterdam, 1988. North-Holland.Google ScholarGoogle Scholar
  5. P. Thiemann. Continuation-based partial evaluation without continuations. In R. Cousot, editor, Proc. Intl. Static Analysis Symposium, SAS'03, volume 2694 of LNCS, pages 366--382, San Diego, CA, USA, June 2003. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Partially static operations

      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
        PEPM '13: Proceedings of the ACM SIGPLAN 2013 workshop on Partial evaluation and program manipulation
        January 2013
        162 pages
        ISBN:9781450318426
        DOI:10.1145/2426890

        Copyright © 2013 Author

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 21 January 2013

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • keynote

        Acceptance Rates

        PEPM '13 Paper Acceptance Rate13of29submissions,45%Overall Acceptance Rate66of120submissions,55%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader