Optimizing Compilation for CLP(R). Marriott, K., Søndergaard, H., Stuckey, P. J., & Yap, R. In Proceedings of the 17th Australian Computer Science Conference, volume 16, of Australian Computer Science Communications, pages 551–560, 1994.
abstract   bibtex   
Constraint Logic Programming (CLP) is a recent innovation in programming language design. CLP languages extend logic programming by allowing constraints from different domains such as real numbers or Boolean functions. This gives considerable expressive power and flexibility and CLP programs have proven to be a high-level programming paradigm for applications based on interactive mathematical modelling. These advantages, however, are not without cost. Implementations of CLP languages must include expensive constraint solving algorithms tailored to the specific domains. Indeed, performance of the current generation of CLP compilers and interpreters is one of the main obstacles to the widespread use of CLP. Here we outline the design of a highly optimizing compiler for CLP(R), a CLP language which extends Prolog by allowing linear arithmetic constraints. This compiler is intended to overcome the efficiency problems of the current implementation technology. The main innovation in the compiler is a comprehensive suite of program optimizations and associated global analyses which determine applicability of each optimization. We describe these optimizations and report very promising results from preliminary experiments.
@Inproceedings{Mar-Son-Stu-Yap_ACSC94,
  author    = {Kim Marriott and 
		Harald S{\o}ndergaard and 
		Peter J. Stuckey and 
		Roland Yap},
  title	    = {Optimizing Compilation for {CLP(R)}},
  editor    = {G. Gupta},
  booktitle = {Proceedings of the 17th Australian Computer Science Conference},
  series    = {Australian Computer Science Communications},
  volume    = {16},
  number    = {1},
  pages     = {551--560},
  year	    = {1994},
  abstract  = {Constraint Logic Programming (CLP) is a recent innovation in
		programming language design. CLP languages extend logic
		programming by allowing constraints from different domains
		such as real numbers or Boolean functions. This gives
		considerable expressive power and flexibility and CLP
		programs have proven to be a high-level programming
		paradigm for applications based on interactive mathematical
		modelling. These advantages, however, are not without cost.
		Implementations of CLP languages must include expensive
		constraint solving algorithms tailored to the specific
		domains. Indeed, performance of the current generation of
		CLP compilers and interpreters is one of the main obstacles
		to the widespread use of CLP. Here we outline the design
		of a highly optimizing compiler for CLP(R), a CLP
		language which extends Prolog by allowing linear arithmetic
		constraints. This compiler is intended to overcome the
		efficiency problems of the current implementation
		technology. The main innovation in the compiler is a
		comprehensive suite of program optimizations and associated
		global analyses which determine applicability of each
		optimization. We describe these optimizations and report
		very promising results from preliminary experiments.},
  keywords  = {Constraint programming, Logic programming, Compilation, Static analysis},
}

Downloads: 0