In a spirit of enquiry and learning I decided to teach myself a bit
more about MOP programming by getting Alexander Repenning's XMLisp to
work with ACL's trial edition. All has gone well and it now works as
expected for the examples, but only if I use the
fi:eval-or-compile-current-buffer function from emacs and then use the
defined XML package! Whenever I try to (compile-file ...) I get an
warning saying that there's no in-package statement, which is
definitely not the case, and when I do a (load ...) of either the
compiled file or the lisp none of the definitions show up in the
package.
I've tried enclosing the (in-package ...) in an (eval-when ...) which
at least made the warnings about deprecated behaviour go away.
I'm pretty certain I must be missing something, anyone care to
enlighten me on what?
I'm trying to get a laptop in time for church camp summer job. Please
help if you can by using my referal link:
http://www.pctech4free.com/default.aspx?ref=59054
Thanks in advance.
It turns out that the compiler works fine in the trial version - it
seems to have been the files themselves. I think something wierd must
have happened when I unpacked them because creating a new set of files
with the same names in a different directory by writing the code into
them from the emacs buffer resulted in files that happily compile and
load. All a bit if a false alarm really.
On Fri, 11 Mar 2005 15:17:14 -0800, Nick B wrote:
> It turns out that the compiler works fine in the trial version - it
> seems to have been the files themselves.
Macintosh line endings? Maybe ACL can't deal with \r line endings
and as a result comments will gobble up all lines that follow?
HTH Ralf Mattes
> I think something wierd must
> have happened when I unpacked them because creating a new set of files
> with the same names in a different directory by writing the code into
> them from the emacs buffer resulted in files that happily compile and
> load. All a bit if a false alarm really.
From: Duane Rettig
Subject: Re: Problem compiling with ACL trial edition
Date:
Message-ID: <4ekekzvv6.fsf@franz.com>
"R. Mattes" <··@mh-freiburg.de> writes:
> On Fri, 11 Mar 2005 15:17:14 -0800, Nick B wrote:
>
> > It turns out that the compiler works fine in the trial version - it
> > seems to have been the files themselves.
>
> Macintosh line endings? Maybe ACL can't deal with \r line endings
> and as a result comments will gobble up all lines that follow?
No, this should not be a problem; Allegro CL allows you to specify
the external format that will automatically convert the returns
to newlines:
CL-USER(1): (find-external-format :e-cr)
; Fast loading from bundle code/ef-e-cr.fasl.
#<EXTERNAL-FORMAT :E-CR @ #x564481a>
CL-USER(2):
Note that this can be done in Allegro CL on any architecture, so
the old #\Return style Mac files can be read on any platform.
--
Duane Rettig ·····@franz.com Franz Inc. http://www.franz.com/
555 12th St., Suite 1450 http://www.555citycenter.com/
Oakland, Ca. 94607 Phone: (510) 452-2000; Fax: (510) 452-0182