This is the core module of mew, a general modal editing engine generator. You can provide Key, Mode, and Concurrent modules to define the real world environment to get the core component of a modal editing engine. The core component supports recursive key mappings associated with user provided modes. After the core component is generated, you may extended it with a translator to interpret user key sequences to get a complete modal editing engine.
For the purpose of submitting this package to Fedora, here is the RPM spec file.