Opened 16 years ago

Closed 16 years ago

#88 closed enhancement (fixed)

Predicate to distinguish between functions implemented directly in Java vs. Lisp

Reported by: trittweiler Owned by: nobody
Priority: minor Milestone: 0.22
Component: java Version:
Keywords: bite-size Cc:
Parent Tickets:

Description

For Slime, we need a predicate to distinguish between
functions implemented in Java, and functions compiled
from Lisp. The reason is because we use different
mechanism to get at the definition: for Java functions,
we'll use TAGS, whereas for Lisp functions we will
use source-location information stored by the ABCL
compiler.

Compiled Lisp functions also end up to be of type Primitive,
so just making the Primitive class available to Lisp
won't cut it.

Change History (8)

comment:1 by ehuelsmann, 16 years ago

Keywords: bite-size added

comment:2 by ehuelsmann, 16 years ago

Milestone: 0.20

comment:3 by ehuelsmann, 16 years ago

Proposed solution: Add a CompiledPrimitive class;
add a function which returns T if the argument passed in is either of type CompiledClosure or CompiledPrimitive.

That should address this request.

comment:4 by ehuelsmann, 16 years ago

Resolution: fixed
Status: newclosed

(In [12587]) Fix #88: Add the thread name to the debugger-printed message and

bind a restart which allows gracefully exiting a thread.

comment:5 by ehuelsmann, 16 years ago

Resolution: fixed
Status: closedreopened

That was ticket #86 being fixed. Reopening.

comment:6 by Mark Evenson, 16 years ago

See SourceLocation for additional proposal on how to improve the source location information in ABCL.

comment:7 by Mark Evenson, 16 years ago

Milestone: 0.200.22

Status of proposed implementation unclear; re-analyze with Tobias.

comment:8 by ehuelsmann, 16 years ago

Resolution: fixed
Status: reopenedclosed

(In [12932]) Fix #88: "We need SYS:COMPILED-LISP-FUNCTION-P" to distinguish
Java-defined and Lisp-defined functions (for SLIME).

Note: See TracTickets for help on using tickets.