Add hooks to the runtime system that are for use by SOS:
authorChris Hanson <org/chris-hanson/cph>
Sun, 7 Mar 1993 20:56:23 +0000 (20:56 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 7 Mar 1993 20:56:23 +0000 (20:56 +0000)
commitddd86259559f5715daebb4f7d78ceb580c523bbf
tree8c3a28a5dedfb9c9a38ca232d015f16a3c0da16e
parent07f978c2a1efbe2227c1c249745d9193fc9d34f9
Add hooks to the runtime system that are for use by SOS:

* Add a slot to record types to hold the class wrapper so that records
  can have classes associated with them, and thus be dispatched on by
  generic procedures.

* Maintain a population of record types so that classes can be added
  to records retroactively when the object system is loaded.

* Add a new unparser hook that overrides the default unparser for
  records that satisfy RECORD? (records with explicit unparsers are
  unaffected).

* Add a new unparser hook that may override the representation of
  procedures, so that generic procedures can have a special
  representation.

* Change the DEFINE-STRUCTURE macro so that record-based structures
  don't have an explicit unparser unless the PRINT-PROCEDURE option is
  used.
v7/src/runtime/defstr.scm
v7/src/runtime/make.scm
v7/src/runtime/record.scm
v7/src/runtime/runtime.pkg
v7/src/runtime/unpars.scm
v8/src/runtime/make.scm
v8/src/runtime/runtime.pkg