Opened 12 years ago

Closed 11 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 Changed 12 years ago by ehuelsmann

Keywords: bite-size added

comment:2 Changed 12 years ago by ehuelsmann

Milestone: 0.20

comment:3 Changed 12 years ago by ehuelsmann

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 Changed 12 years ago by ehuelsmann

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 Changed 12 years ago by ehuelsmann

Resolution: fixed
Status: closedreopened

That was ticket #86 being fixed. Reopening.

comment:6 Changed 12 years ago by Mark Evenson

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

comment:7 Changed 11 years ago by Mark Evenson

Milestone: 0.200.22

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

comment:8 Changed 11 years ago by ehuelsmann

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.