From: Peter G. <pe...@ar...> - 2004-01-03 00:56:20
|
OK, so you can already do this: return ((Bignum)function.execute(lispobject)).getValue(); And you want to return a boolean (if I'm understanding the question correctly). So why not something like: LispObject result = function.execute(lispobject); return result != NIL ? true : false; But this is too easy, so I'm sure I've misunderstood the question. Of course I have no idea how to generate that code with ASM; I hope that's not what you're asking... ;) (I believe jvm.lisp dodges this particular issue, but my head is too foggy at the moment to be sure.) -Peter |