Partial Evaluation of the Euclidean Algorithm, Revisited |
| |
Authors: | C.S. Lee |
| |
Affiliation: | (1) Department of Computer Science, University of Western Australia, Nedlands, Western Australia, 6009 |
| |
Abstract: | The usual formulation of the Euclidean Algorithm is not well-suited to be specialized with respect to one of its arguments, at least when using offline partial evaluation. This has led Danvy and Goldberg to reformulate it using bounded recursion. In this article, we show how The Trick can be used to obtain a formulation of the Euclidean Algorithm with good binding-time separation. This formulation of the Euclidean Algorithm specializes effectively using standard offline partial evaluation. |
| |
Keywords: | Euclidean Algorithm binding-time separation offline partial evaluation The Trick |
本文献已被 SpringerLink 等数据库收录! |
|