This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with macro while compiling


"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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]