freenode/#abcl - IRC Chatlog
Search
1:54:27
charles`
Can someone help me with calling Lisp functions (that have parameters) from Java, TYPE-ERROR The value #<java.lang.Integer 9 {2881C04A}> is not of type NUMBER.
2:08:11
no-defun-allowed
I presume you are expected to box the results for Lisp. Let me check what you need to do, but you'd need to do something like new org.abcl.<some stuff>.Fixnum(9) from memory.
2:09:18
charles`
I got it actually. I need to do Fixnum.getInstance and LispObject.getInstance for other stuff
2:09:58
charles`
I still haven't solved my compiling thing though, where I want to compile an asdf system at java compile time
2:11:51
charles`
I think it is supposed to work for anything, but is doesn't seem to be working for my LinkedList to list
2:55:35
pjb
charles`: you would have to add rules in ant or whatever build system you use to compile java, to invoke abcl to run (asdf:oos 'asdf:compile-op :your-system).
2:56:19
pjb
charles`: furthermore, you may have to add configuration to asdf to generate the .class where your java build system expects them, instead of ~/.cache/common-lisp/asdf-*/