Skip to main content

ASTRE: Towards a fully automated program transformation system

  • System Description
  • Conference paper
  • First Online:
Rewriting Techniques and Applications (RTA 1995)

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

Included in the following conference series:

  • 762 Accesses

Abstract

Astre has achieved its initial goal: it is fully automatic for deforestation and two-loops fusion of functional programs. Other fully automatic algorithms for deforestation does not include two-loops fusion. They reject all deforestations that necessitate laws but Astre can perform most of them using additional synthesis. Moreover they do not extend easily to include laws or other strategies. The limitation of Astre is the termination obligation of the input rewrite system. Also Astre does not process easily a large amount of rules. The present prototype has been used so far up-to 500 rules input. At this size, it becomes intractable to perform all the syntheses. We plan to automatize derecursion tactical and automatic insertion of laws [3] in a near future.

The author was supported by a contract with Air Force Materiel Command (F19628-93-C-0069).

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J. Bell et al. Software Design for Reliability and Reuse: A proof-of-concept demonstration. In TRI-Ada '94 Proceedings, pages 396–404. ACM, November 1994.

    Google Scholar 

  2. F. Bellegarde. Program Transformation and Rewriting. In Proceedings of the fourth conference on Rewriting Techniques and Applications, volume 488 of LNCS, pages 226–239. Springer-Verlag, 1991.

    Google Scholar 

  3. F. Bellegarde. A transformation system combining partial evaluation with term rewriting. In Higher Order Algebra, Logic and Term Rewriting (HOA '93), volume 816 of LNCS, pages 40–58. Springer-Verlag, September 1993.

    Google Scholar 

  4. F. Bellegarde. Termination issues in automated syntheses. Technical report, Department of Computer Science and Engineering, Oregon Graduate Institute, September 1994.

    Google Scholar 

  5. R. M. Burstall and J. Darlington. A Transformation System for Developing Recursive Programs. Journal of the ACM, 24:44–67, 1977.

    Article  Google Scholar 

  6. W. Chin. Safe Fusion of Functional Expressions II: Further Improvements. Journal of Functional Programming, 11:1–40, 1994.

    Google Scholar 

  7. W. Chin and J. Darlington. Higher-Order Removal: A modular approach. Unpublished work, 1993.

    Google Scholar 

  8. N. Dershowitz. Completion and its Applications. In Resolution of Equations in Algebraic Structures. Academic Press, New York, 1988.

    Google Scholar 

  9. S. Thompson. Type Theory and Functional Programming. Addison Wesley, 1991.

    Google Scholar 

  10. P. Wadler. Deforestation: Transforming Programs to eliminate trees. In Proceedings of the second European Symposium on Programming ESOP'88, volume 300 of LNCS. Springer-Verlag, 1988.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Jieh Hsiang

Rights and permissions

Reprints and permissions

Copyright information

© 1995 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bellegarde, F. (1995). ASTRE: Towards a fully automated program transformation system. In: Hsiang, J. (eds) Rewriting Techniques and Applications. RTA 1995. Lecture Notes in Computer Science, vol 914. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-59200-8_73

Download citation

  • DOI: https://doi.org/10.1007/3-540-59200-8_73

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-59200-6

  • Online ISBN: 978-3-540-49223-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics