Re: Anyone implemented Dylan in Scheme?

israel r t <>
29 Dec 2001 13:26:32 -0500

          From comp.compilers

Related articles
Re: Anyone implemented Dylan in Scheme? (israel r t) (2001-12-29)
| List of all articles for this month |

From: israel r t <>
Newsgroups: comp.lang.scheme,comp.lang.dylan,comp.lang.lisp,comp.compilers
Date: 29 Dec 2001 13:26:32 -0500
Organization: Compilers Central
References: <> <>
Keywords: parse, Scheme, question
Posted-Date: 29 Dec 2001 13:26:32 EST

On 27 Dec 2001 16:25:51 +0100,
(Michael Sperber [Mr. Preprocessor]) wrote:
>Except for the syntax (which was Scheme-like back then), Thomas
>probably a good starting point. I don't know that the software is
>still available, but you might want to contact the authors for more

Of considerable interest is the following message by the authors of
Thomas ( which follows the previous url and may be easily missed )

An extract follows:

"Despite all of the hairy stuff involving keywords, specializers,
multiple inheritance and the rest of it, the generic dispatch system
of Dylan (maybe also CLOS?) was remarkably simple to build and
understand. The key procedure is in the file generic.scm, and is
simplified here (I removed support for multiple values, error
checking, and renamed some functions for clarity):

      (define (generic-dispatch original-args generic-function)
          (let ((applicable-methods
          (generic-function.methods generic-function)
              (let next-method-loop ((remaining-methods applicable-methods)
            (current-args original-args))
  (apply (car remaining-methods)
(if (null? (cdr remaining-methods))
        (lambda (next-method . these-args)
            (next-method-loop (cdr remaining-methods)
(if (null? these-args)

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.