[armedbear-devel] compiling lisp files outside Java and calling it after with abcl

Alessio Stalla alessiostalla at gmail.com
Tue Feb 28 12:58:32 UTC 2012


On Tue, Feb 28, 2012 at 12:32 PM, scarbonell at ono.com <scarbonell at ono.com> wrote:
> Hi,
>
> I'm trying to compile a lisp application and I get a lot of errors with java
> abcl. I thought that if I try to compile this lisp files outside of abcl
> with other systems, perhaps, I could then call this compiled functions lisp
> files from ABCL (look like a jar file of lisp compiled files). Is this
> possible?
>
> How can I compiled this files outside ABCL? Some examples?

You can't do such a thing. Compiled Lisp code is implementation
dependent. In general, you can not even be sure that two different
versions of the same implementation, or the same version on different
platforms, will be able to execute each other's compiled code.

For ABCL specifically, FASLs (compiled files) are portable across
platforms, and are generally compatible with several versions of ABCL
unless something big changed in the compiler between those versions
(in that case, the FASL version number is changed, too).

Cheers,
Alessio




More information about the armedbear-devel mailing list