Prev Up Next
Go backward to 2.5.1 Reflection and Metalevel Computation
Go up to 2.5 Reflection and the META-LEVEL
Go forward to 2.5.3 Representing Terms

2.5.2 The Module META-LEVEL

In Maude, key functionality of a metalevel theory M with several descent functions has been efficiently implemented in a functional module META-LEVEL, by using as the interpreter function I Maude's own interpreter. Furthermore, several other useful functions of the universal theory U are also built-in for efficiency reasons.

We summarize below the key functionality provided by META-LEVEL. We recall that Maude's functional modules are equational theories that are assumed to be Church-Rosser and terminating modulo some axioms for which matching algorithms are available in the implementation, and that system modules are rewrite theories whose equational part satisfies the same requirements as a functional module, and where the equations and the rules are assumed to be weakly coherent [61, 60] modulo the axioms (see Section 4.3). In META-LEVEL:

META-LEVEL imports the module QID-LIST (lists of quoted identifiers) from the standard library of predefined modules, which contains in turn the modules QID, MACHINE-INT, and BOOL. We first introduce the syntax used in META-LEVEL for representing terms; then we explain how modules are represented; and finally we discuss the different built-in functions, namely, the descent functions, and the parsing and sort functions.


Prev Up Next