This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Problem with macro while compiling
- To: "e.castro" <e dot castro at infonie dot fr>
- Subject: Re: Problem with macro while compiling
- From: Per Bothner <per at bothner dot com>
- Date: 01 Dec 2000 00:07:14 -0800
- Cc: <kawa at sources dot redhat dot com>, <castro at lirmm dot fr>
- References: <000901c05a60$925777e0$524cf2c3@marzhin>
"e.castro" <e.castro@infonie.fr> writes:
> I found problem with Kawa 1.6.71 (downloaded form cvs), while compiling code
> which
> use a macro at top level of .scm files.
There are a couple of problems here. I'm looking into the,.
Note that test1 is *not* supposed to work, because load is a function
that is evaluated at run-time, not compile-time. Thus at compile-time
define-record-type will not have been defined, since test/record.class
has not been loaded yet. This problem could be handled using
something like Common Lisp's eval-when syntax or Emacs's
eval-and-compile syntax - but neither has yet been implemented for
Kawa. (It's on the wish-list, though ...)
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/