Maude: specification and programming in rewriting logic

M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martı́-Oliet, J. Meseguer, J.F. Quesada
2002 Theoretical Computer Science  
Maude is a high-level language and a high-performance system supporting executable speciÿcation and declarative programming in rewriting logic. Since rewriting logic contains equational logic, Maude also supports equational speciÿcation and programming in its sublanguage of functional modules and theories. The underlying equational logic chosen for Maude is membership equational logic, that has sorts, subsorts, operator overloading, and partiality deÿnable by membership and equality conditions.
more » ... Rewriting logic is re ective, in the sense of being able to express its own metalevel at the object level. Re ection is systematically exploited in Maude endowing the language with powerful metaprogramming capabilities, including both user-deÿnable module operations and declarative strategies to guide the deduction process. This paper explains and illustrates with examples the main concepts of Maude's language design, including its underlying logic, functional, system and object-oriented modules, as well as parameterized modules, theories, and views. We also explain how Maude supports re ection, metaprogramming and internal strategies. The paper outlines the principles underlying the Maude system implementation, including its semicompilation techniques. We conclude with some remarks about applications, work on a formal environment for Maude, and a mobile language extension of Maude.
doi:10.1016/s0304-3975(01)00359-0 fatcat:qx6ctc4thbgghje2mqarzxjxdy