Proceedings

A System which Automatically Improves Programs

Download BibTeX Cite

Proceedings of the Third International Joint Conference on Artificial Intelligence. Automatic Programming. Pages 479-484.

© 1973 International Joint Conferences on Artificial Intelligence

Abstract

We give methods of mechanically converting programs that are easy to understand into more efficient ones, converting recursion equations using high level operations into lower level flowchart programs. The main transformations involved are (i) recursion removal (ii) eliminating common subexpressions and combining loops (iii) replacing procedure calls by their bodies (iv) introducing assi~nments which overwrite list cells no longer in use tcompile-time garbage collection).

  1. Burstall, R.M., Collins, J.S. and Popplestone, R.J Programming in POP-2, Edinburgh: Edinburgh Univasity Preas. (1971),
  2. Minsky, M, Form and content in computer science, 1970 A.C.M, Turing Lecture, Ass, comput. Mach,, Vol, 17, No, 2, 197-215, (1970),
  3. Dijkstra, E.W. Notes on structured programming, TH Report 70-WSK-03, 2nd edition, Technische Hogeschool, Eindhoven, The Netherlands, (1970),
  4. Ambler, A.P. and Burstall, R.M. LIB POLYSETS. POP-2 Program Library Specification, Department of Machine Intelligence and Perception, University of Edinburgh, (1971),
  5. Strong, H.R. Jr. Translating recursion equations into flow charts. Proc, 2nd Annual A,C.M, Symposium on Theory of Computing, A.C.M., New York, pp. 184-197. ( 1970).
  6. Garland, S.J. and Luckham, D.C. Program schemes, recursion schemes and formal languages. UCLA-ENG- ..:z.1..2.i, School of Engineering and Applied Science, University of California, Los Angeles, (1971).
  7. Cooper, D.C. The equivalence of certain comput- ations. Computer Journal, M....._2, !i2....J.., May, 45-52. ( 1966).
  8. Darlington, J. A semantic approach to automatic program improvement. Ph.D. thesis. Department of Machine Intelligence, University of Edinburgh. (1972).
  9. Ernst, G.W. and Newell, A. Generality and GPS. Carnegie Institute of Technology, Pittsburgh, Pennsylvania. (1967).
  10. Simon, H.A. The heuristic compiler, in Re reaentation and Meani (eda. H.A. Simon and L. Siklossy Prentice Hall, New Jersey. (1972).
  11. Burstall, R.M. and Topor, R.W. Private communication. (1972).
  12. Boyer, R.S. and Moore, J.S. Proving theorems abou t LISP functions. Memo 60, Department of Computational Logic, University of Edinburgh. (1973).
  13. Sheridan, P.B. The ar~etic translator- compiler of the IBM Fortran automatic coding system.
  14. C.A.C.M., Vol. 2, No. 2, 9. (1959).
  15. Rohl, J.S. and Lin, J.A. A note on compiling arithmetic expressions. Comyuter Journal, Vol. 15, No.1, February, 13-14. (1972.
  16. Hopgood, F.R.A. Compiling techniques. Computer Monographs. Macdonald: London and American Elsevier Inc: New York. (1969).

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards