[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Kawa-commonlisp-dev] [GSoC] Destructuring bind
From: |
Charles Turner |
Subject: |
[Kawa-commonlisp-dev] [GSoC] Destructuring bind |
Date: |
Mon, 30 Jul 2012 23:15:48 +0100 |
This is a follow on from discussions on the previous list.
I am slowly moving code from SBCL. One subtlety of their
implementation is that parse-defmacro uses destructuring-bind and
destructuring-bind use parse-defmacro. I'm told (foom, #sbcl
(freenode)) that parse-defmacro is compiled and that
"a working destructuring-bind macro only needed to exist in the
*compiler* for it to be compiled into the right function."
I didn't fully understand this. Maybe a bootstrapping trick, I don't
know. But for me, it seems like one of these functions will be best
implemented in Java, or else do I need to employ some sort of
bootstrap build? Maybe I can get away with it? The problem is
src/code/destructuring-bind.lisp calls src/code/parse-defmacro.lisp,
and parse-defmacro-lambda-list in parse-defmacro.lisp calls
destructuring-bind.lisp.
Am I misunderstanding something?
Charles.
- [Kawa-commonlisp-dev] [GSoC] Destructuring bind,
Charles Turner <=