Higher-order matching for program transformation

Citation
O. De Moor et G. Sittampalam, Higher-order matching for program transformation, THEOR COMP, 269(1-2), 2001, pp. 135-162
Citations number
25
Categorie Soggetti
Computer Science & Engineering
Journal title
THEORETICAL COMPUTER SCIENCE
ISSN journal
03043975 → ACNP
Volume
269
Issue
1-2
Year of publication
2001
Pages
135 - 162
Database
ISI
SICI code
0304-3975(20011028)269:1-2<135:HMFPT>2.0.ZU;2-Y
Abstract
We present a simple, practical algorithm for higher-order matching in the c ontext of automatic program transformation. Our algorithm finds more matche s than the standard second order matching algorithm of Huet and Lang, but i t has an equally simple specification, and it is better suited to the trans formation of programs in modern programming languages such as Haskell or ML . The algorithm has been implemented as part of the MAG system for transfor ming functional programs. (C) 2001 Elsevier Science B.V. All rights reserve d.