Lukas Georgieff lukas.georgieff@hotmail.com writes:
Hi,
I am new to ABCL and have a question to it's capabilities: My goal is to load an exsting part of a system coded in lisp into Java and to use the lisp code as basic library for a java application.
Currently my approach is to load the lisp code with: Interpreter interpreter = Interpreter.createInstance(); interpreter.eval("(load "my-lisp-code.lisp")"); ...
So the lisp code must be present in the project every time it is running. Is there any chance to translate the lisp code to a Java source file by using ABCL? So it would not be necessary to provide the lisp code in the java application after it is translated once.
Once compiled, the lisp code is provided as a .class file. Wouldn't that be enough? Why would you need the java source?
Try: (compile-file "my-lisp-code.lisp")