[armedbear-devel] Ticket #88: Predicate to distinguish Java-based and lisp-compiled functions
Erik Huelsmann
ehuels at gmail.com
Sat Apr 10 13:24:47 UTC 2010
Regarding ticket 88, I have the following idea:
Lisp functions inherit from either Primitive or CompiledClosure.
CompiledClosure isn't used elsewhere, but Primitive is used everywhere
in Java too.
How about creating an (empty) CompiledPrimitive which isn't used Java-side.
Then, with a simple 'instanceof' test, functions can be tested to have
been compiled from Lisp or created from Java.
How about that?
Bye,
Erik.
More information about the armedbear-devel
mailing list