[b20a97]: mop.xmlf Maximize Restore History

Download this file

mop.xmlf    79 lines (62 with data), 3.1 kB

<?xml version="1.0"?><!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<book lang="en">
 <chapter id="ext.mop">
  <title>Meta-Object Protocol (MOP)</title>

  <section id="ext.mop.intro">

   <para>The Meta-Object Protocol is an extension to &CommonLisp; which
   provides rules, functions and a type structure to handle the object
   system. It is a reflective system, where classes are also objects and can be
   created and manipulated using very well defined procedures.</para>

   <para>The Meta-Object Protocol associated to &CommonLisp;'s object system
   was introduced in a famous book, The Art of the Metaobject Protocol &AMOP;,
   which was probably intended for the &ANSI; specification but was drop out
   because of its revolutionary and then not too well tested ideas.</para>

   <para>The &AMOP; is present, in one way or another, in most &CommonLisp;
   implementations, eithr using proprietary systems or because their
   implementation of &CLOS; descended from &PCL; (Portable CommonLoops). It has
   thus become a de facto standard and &ECL; should not be without it.</para>

   <para>Unfortunately &ECL;'s own implemention originally contained only a
   subset of the &AMOP;. This was a clever decision at the time, since the
   focus was on performance and on producing a stable and lean implementation
   of &CommonLisp;. Nowadays it is however not an option, specially given that
   most of the &AMOP; can be implemented with little cost for both the
   implementor and the user.</para>

   <para>So &ECL; has an almost complete implementation of the &AMOP;. However,
   since it was written from scratch and progressed according to user's request
   and our own innovations, there might still be some missing functionality
   which we expect to correct in the near future. Please report any feature you
   miss as a bug through the appropriate channels.</para>

   <para>When considering the Metaobject Protocol, the book itself should be
   the main reference. The following sections contain only further extensions
   or improvements over the paragraphs which were either conflicting or less

  <section id="ext.mop.classes">

   <para>[TODO: Document the class initialization / finalization protocol]</para>

  <section id="ext.mop.slots">

   <para>[TODO: Document the slot descriptions and parameters.]</para>


  <section id="ext.mop.generic">
   <title>Generic functions and methods</title>

   <para>[TODO: Document the calling convetions for method functions.]</para>

  <section id="ext.mop.slots.sealed">
   <title>Sealed slots and classes</title>
   <para>[TODO: Document sealed slots]</para>
<!-- Keep this comment at the end of the file
     Local variables:
     mode: nxml
     sgml-parent-document: "ecl.xml"
     sgml-indent-step: 1
     nxml-child-indent: 1
     nxml-outline-child-indent: 1
     fill-column: 79