Termination Analysis for Mercury. Speirs, C., Somogyi, Z., & Søndergaard, H. In Static Analysis: Proceedings of the Fourth International Symposium, volume 1302, of Lecture Notes in Computer Science, pages 157–171, 1997. Springer.
doi  abstract   bibtex   
Since the late eighties, much progress has been made in the theory of termination analysis for logic programs. However, the practical significance of much of this work is hard to judge, since experimental evaluations rarely get published. Here we describe and evaluate a termination analyzer for Mercury, a strongly typed and moded logic-functional programming language. Mercury's high degree of referential transparency and the guaranteed availability of reliable mode information simplify termination analysis. Our analyzer uses a variant of a method developed by Plümer. It deals with full Mercury, including modules and I/O. In spite of these obstacles, it produces state-of-the-art termination information, while having a negligible impact on the running time of the compiler of which it is part, even for large programs.
@Inproceedings{Spe-Som-Son_SAS97,
  author    = {Chris Speirs and 
		Zoltan Somogyi and 
		Harald S{\o}ndergaard},
  title     = {Termination Analysis for {Mercury}},
  editor    = {P. {Van Hentenryck}},
  booktitle = {Static Analysis: 
		Proceedings of the Fourth International Symposium},
  series    = {Lecture Notes in Computer Science},
  volume    = {1302},
  pages     = {157--171},
  publisher = {Springer},
  year      = {1997},
  doi       = {10.1007/bfb0032740},
  abstract  = {Since the late eighties, much progress has been made in the 
		theory of termination analysis for logic programs. However, the
		practical significance of much of this work is hard to judge, 
		since experimental evaluations rarely get published. Here we 
		describe and evaluate a termination analyzer for Mercury, a 
		strongly typed and moded logic-functional programming language.
		Mercury's high degree of referential transparency and the 
		guaranteed availability of reliable mode information simplify 
		termination analysis. Our analyzer uses a variant of a method 
		developed by Plümer. It deals with full Mercury, including 
		modules and I/O. In spite of these obstacles, it produces 
		state-of-the-art termination information, while having a 
		negligible impact on the running time of the compiler of which
		it is part, even for large programs.},
  keywords  = {Logic programming, Mercury, Termination analysis},
}

Downloads: 0