compile goops
authorAndy Wingo <wingo@pobox.com>
Thu, 30 Oct 2008 23:07:04 +0000 (00:07 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 30 Oct 2008 23:07:04 +0000 (00:07 +0100)
commit7d38f3d819aba904c44a7e48197a43729083f808
treed62fbf83d7f4e4373a541ff7769c473f8183addd
parent41a2772c5c234407c991f97ce08e34fba372e6c5
compile goops

The pending task is to make the accessors compiled too, and also to
compile compile.scm and dispatch.scm, and to integrate dispatch into the
VM.

* oop/Makefile.am (SOURCES): VM-ify the makefile, so we compile goops.scm
  by default.

* oop/goops.scm (load-toplevel): Load goops builtins when compiling too.
  (method): Fix a literal #<unspecified> in the generated procedure (for
  an empty body).
  (internal-add-method!): Cleverness when bootstrapping add-method!.
  Neat!
  (initialize for <generic>): Use the `method' macro so we get
  compilation support.

* oop/goops/dispatch.scm (cache-methods): Don't assume entries are pairs.
oop/Makefile.am
oop/goops.scm
oop/goops/compile.scm
oop/goops/dispatch.scm