Common Lisp Package: SB-ACLREPL

README:

FUNCTION

Public

Undocumented

MAKE-REPL-FUN

Private

>-NUM (X Y)

Return if x and y are numbers, and x > y

ALL-THREADS

Return a list of all threads

ARRAY-INDEX-STRING (INDEX PARTS)

Formats an array index in row major format.

BIGNUM-COMPONENT-AT (BIGNUM OFFSET)

Return the word at offset

BIGNUM-WORDS (BIGNUM)

Return the number of words in a bignum

CMD-TABLE-ENTRY-ABBR-LEN (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CMD-TABLE-ENTRY-DESC (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CMD-TABLE-ENTRY-FUNC (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CMD-TABLE-ENTRY-GROUP (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CMD-TABLE-ENTRY-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CMD-TABLE-ENTRY-PARSING (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COMPILE-FILE-AS-NEEDED (SRC-PATH)

Compiles a file if needed, returns path.

COMPUTE-ELEMENTS-COUNT (PARTS LENGTH SKIP)

Compute the number of elements in parts given the print length and skip.

CONS-SAFE-LENGTH (OBJECT)

Returns (VALUES LENGTH LIST-TYPE) where length is the number of cons cells and LIST-TYPE is :normal, :dotted, or :cyclic

DISPATCH-COMMAND-LINE (INPUT-STREAM)

Processes an input line that starts with *command-char*

FIND-HISTORY-MATCHING-PATTERN (CMD-STRING)

Return history item matching cmd-string or NIL if not found

FIND-PART-ID (OBJECT ID)

COMPONENT-ID can be an integer or a name of a id. Returns (VALUES POSITION PARTS). POSITION is NIL if the id is invalid or not found.

GET-CMD-DOC-LIST (&OPTIONAL (GROUP CMD))

Return list of all commands

INSPECT-OBJECT-STACK (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

INSPECT-SELECT-STACK (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

INSPECTED-ELEMENTS (OBJECT &OPTIONAL LENGTH (SKIP 0))

Returns elements of an object that have been trimmed and labeled based on length and skip. Returns (VALUES ELEMENTS LABELS ELEMENT-COUNT) where ELEMENTS and LABELS are vectors containing ELEMENT-COUNT items. LABELS elements may be a string, number, cons pair, :tail, or :ellipses. This function may return an ELEMENT-COUNT of up to (+ 3 length) which would include an :ellipses at the beginning, :ellipses at the end, and the last element.

LABEL-AT (PARTS POSITION)

Helper function for inspected-elements. Conses the position with the label if the label is a string.

NEWER-FILE-P (FILE1 FILE2)

Is file1 newer (written later than) file2?

OTHER-THREADS

Returns a list of all threads except the current one

PROCESS-CMD-NUMERIC (CMD-STRING CMD-ARGS-STRING)

Process a numeric cmd, such as ':123'

PROCESS-CMD-TEXT (CMD-STRING LINE CMD-ARGS-STRING)

Process a text cmd, such as ':ld a b c'

REP-ONE

Read-Eval-Print one form

STRING-TO-LIST-SKIP-SPACES (STR)

Return a list of strings, delimited by spaces, skipping spaces.

USER-CMD-ARGS (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

USER-CMD-FUNC (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

USER-CMD-HNUM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

USER-CMD-INPUT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

USER-CMD= (C1 C2)

Returns T if two user commands are equal

Undocumented

%ADD-ENTRY (CMD &OPTIONAL ABBR-LEN)

%INSPECT-P (OBJECT)

ADD-CMD-TABLE-ENTRY (CMD-STRING ABBR-LEN FUNC-NAME DESC PARSING)

ADD-TO-HISTORY (CMD)

ALIAS-CMD

APROPOS-CMD (STRING)

ARRAY-LABEL-P (LABEL)

BOTTOM-CMD

BT-CMD (&OPTIONAL (N MOST-POSITIVE-FIXNUM))

CD-CMD (&OPTIONAL STRING-DIR)

CF-CMD (STRING-FILES)

CLOAD-CMD (&OPTIONAL STRING-FILES)

SETFCMD-TABLE-ENTRY-ABBR-LEN (NEW-VALUE INSTANCE)

SETFCMD-TABLE-ENTRY-DESC (NEW-VALUE INSTANCE)

SETFCMD-TABLE-ENTRY-FUNC (NEW-VALUE INSTANCE)

SETFCMD-TABLE-ENTRY-GROUP (NEW-VALUE INSTANCE)

SETFCMD-TABLE-ENTRY-NAME (NEW-VALUE INSTANCE)

CMD-TABLE-ENTRY-P (OBJECT)

SETFCMD-TABLE-ENTRY-PARSING (NEW-VALUE INSTANCE)

COMPONENT-AT (PARTS POSITION)

CONTINUABLE-BREAK-P

CONTINUE-CMD (&OPTIONAL (NUM 0))

COPY-%INSPECT (INSTANCE)

COPY-CMD-TABLE-ENTRY (INSTANCE)

COPY-USER-CMD (INSTANCE)

CURRENT-CMD

DEBUG-LOOP

DESCRIBE-CMD (&REST ARGS)

DESCRIPTION-MAYBE-INTERNALS (FMT OBJECTS INTERNAL-FMT &REST ARGS)

DIRS-CMD

DISPLAY-CURRENT (S LENGTH SKIP)

DISPLAY-INSPECT (OBJECT STREAM &OPTIONAL LENGTH (SKIP 0))

DISPLAY-LABELED-ELEMENT (ELEMENT LABEL STREAM)

DN-CMD (&OPTIONAL (N 1))

ERROR-CMD

EXIT-CMD (&OPTIONAL (STATUS 0))

FIND-CMD (CMDSTR)

FIRST-ELEMENT-ELLIPSES-P (PARTS SKIP)

FOCUS-CMD (&OPTIONAL PROCESS)

FRAME-CMD

GET-HISTORY (N)

HELP-CMD (&OPTIONAL CMD)

HEX-LABEL-P (LABEL &OPTIONAL WIDTH)

HISTORY-CMD

ID-AT (PARTS POSITION)

INSPECT-CMD (ARG)

SETFINSPECT-OBJECT-STACK (NEW-VALUE INSTANCE)

SETFINSPECT-SELECT-STACK (NEW-VALUE INSTANCE)

INSPECTED-DESCRIPTION-OF-NONTRIVIAL-LIST (OBJECT)

INSPECTED-PARTS-OF-NONTRIVIAL-LIST (OBJECT)

INSPECTED-PARTS-OF-SIMPLE-CONS (OBJECT)

INSPECTED-STANDARD-OBJECT-PARTS (OBJECT)

INSPECTED-STRUCTURE-PARTS (OBJECT)

INSPECTOR-FUN (OBJECT INPUT-STREAM OUTPUT-STREAM)

ISTEP (ARGS STREAM)

ISTEP-CMD (&OPTIONAL ARG-STRING)

ISTEP-CMD-HELP (STREAM)

ISTEP-CMD-INSPECT-* (STREAM)

ISTEP-CMD-INSPECT-NEW-FORM (FORM STREAM)

ISTEP-CMD-PARENT (STREAM)

ISTEP-CMD-PRINT (OPTION-STRING STREAM)

ISTEP-CMD-REDISPLAY (STREAM)

ISTEP-CMD-RESET

ISTEP-CMD-SELECT-COMPONENT (ID STREAM)

ISTEP-CMD-SELECT-PARENT-COMPONENT (OPTION STREAM)

ISTEP-CMD-SET (ID-STRING VALUE-STRING STREAM)

ISTEP-CMD-SET-RAW (OPTION-STRING STREAM)

ISTEP-CMD-SET-STACK (FORM STREAM)

ISTEP-CMD-SKIP (OPTION-STRING STREAM)

ISTEP-CMD-TREE (STREAM)

ISTEP-DISPATCH (ARGS OPTION-STRING OPTION STREAM)

KILL-CMD (&REST SELECTED-THREADS)

LAST-PART (PARTS)

LAST-REQUESTED (PARTS PRINT SKIP)

LD-CMD (&OPTIONAL STRING-FILES)

LOCAL-CMD (&OPTIONAL VAR)

MACROEXPAND-CMD (ARG)

MAKE-CMD-TABLE-ENTRY (&KEY ((NAME DUM42) NIL) ((FUNC DUM43) NIL) ((DESC DUM44) NIL) ((PARSING DUM45) NIL) ((GROUP DUM46) NIL) ((ABBR-LEN DUM47) 0))

MAKE-CTE (NAME-PARAM FUNC DESC PARSING GROUP ABBR-LEN)

MAKE-INSPECT (&KEY ((OBJECT-STACK DUM0) NIL) ((SELECT-STACK DUM1) NIL))

MAKE-USER-CMD (&KEY ((INPUT DUM0) NIL) ((FUNC DUM1) NIL) ((ARGS DUM2) NIL) ((HNUM DUM3) NIL))

MAYBE-RETURN-HISTORY-CMD (CMD CMD-ARGS-STRING)

N-WORD-BITS-HEX-FORMAT

NAMED-OR-ARRAY-LABEL-P (LABEL)

NO-OBJECT-MSG (S)

OUTPUT-INSPECT-NOTE (STREAM NOTE &REST ARGS)

PACKAGE-CMD (&OPTIONAL PKG)

PARTS-COMPONENTS (PARTS)

PARTS-COUNT (PARTS)

PARTS-SEQ-HINT (PARTS)

PARTS-SEQ-TYPE (PARTS)

PEEK-CHAR-NON-WHITESPACE (&OPTIONAL STREAM)

POP-CMD (&OPTIONAL (N 1))

POPD-CMD

PROCESS-CMD (USER-CMD)

PROCESSES-CMD

PROMPT-PACKAGE-NAME

PUSHD-CMD (STRING-ARG)

PWD-CMD

READ-CMD (INPUT-STREAM)

REDISPLAY (STREAM &OPTIONAL (SKIP 0))

REF32 (OBJ &OPTIONAL (OFFSET 0))

REF32-HEXSTR (OBJ &OPTIONAL (OFFSET 0))

REMOVE-ALIAS (&REST ALIASES)

REPL (&KEY (BREAK-LEVEL (1+ *BREAK-LEVEL*)) (NOPRINT *NOPRINT*) (INSPECT NIL) (CONTINUABLE NIL))

REPL-PROMPT-FUN (STREAM)

REPL-READ-FORM-FUN (INPUT OUTPUT)

RESET-CMD

RESET-STACK (&OPTIONAL OBJECT LABEL)

SCRUB-CONTROL-STACK

SELECT-DESCRIPTION (SELECT)

SET-CURRENT-INSPECT (INSPECT)

SET-ELEMENT (ELEMENTS LABELS PARTS TO-INDEX FROM-INDEX)

SET-ELEMENT-VALUES (ELEMENTS LABELS INDEX ELEMENT LABEL)

SHELL-CMD (STRING-ARG)

SIMPLE-CONS-PAIR-P (OBJECT)

STACK

STRING-TRIM-WHITESPACE (STR)

TOP-CMD

TRACE-CMD (&REST ARGS)

UNTRACE-CMD (&REST ARGS)

UP-CMD (&OPTIONAL (N 1))

SETFUSER-CMD-ARGS (NEW-VALUE INSTANCE)

SETFUSER-CMD-FUNC (NEW-VALUE INSTANCE)

SETFUSER-CMD-HNUM (NEW-VALUE INSTANCE)

SETFUSER-CMD-INPUT (NEW-VALUE INSTANCE)

USER-CMD-P (OBJECT)

WHITESPACE-CHAR-NOT-NEWLINE-P (X)

WHITESPACE-CHAR-P (X)

ZOOM-CMD

MACRO

Public

Undocumented

ALIAS (NAME-PARAM ARGS &REST BODY)

Private

Undocumented

WITH-NEW-REPL-STATE ((&REST VARS) &BODY FORMS)

GENERIC-FUNCTION

Private

Undocumented

INSPECTED-DESCRIPTION (OBJECT)

INSPECTED-PARTS (OBJECT)

SET-COMPONENT-VALUE (OBJECT COMPONENT-ID VALUE ELEMENT)

VARIABLE

Public

*COMMAND-CHAR*

Prefix character for a top-level command

*EXIT-ON-EOF*

If T, then exit when the EOF character is entered.

*MAX-HISTORY*

Maximum number of history commands to remember

*PROMPT*

The current prompt string or formatter function.

*USE-SHORT-PACKAGE-NAME*

when T, use the shortnest package nickname in a prompt

Private

*BREAK-LEVEL*

current break level

*CMD-NUMBER*

Number of the next command

*CONTINUABLE-BREAK*

boolean: T if break caused by continuable error

*CURRENT-INSPECT*

current inspect

*DEFAULT-PROMPT*

The default prompt.

*DIR-STACK*

The top-level directory stack

*HISTORY*

History list

*INSPECT-BREAK*

boolean: T if break caused by inspect

*INSPECT-LENGTH*

maximum number of components to print

*INSPECT-RAW*

Raw mode for object display.

*NOPRINT*

boolean: T if don't print prompt and output

*REPL-PROMPT-FUN*

A function of one argument STREAM for the toplevel REPL to call: Prompt the user for input.

*REPL-READ-FORM-FUN*

A function of two stream arguments IN and OUT for the toplevel REPL to call: Return the next Lisp form to evaluate (possibly handling other magic -- like ACL-style keyword commands -- which precede the next Lisp form). The OUT stream is there to support magic which requires issuing new prompts.

*SKIP-ADDRESS-DISPLAY*

Skip displaying addresses of objects.

Undocumented

*CMD-TABLE-HASH*

*EOF-CMD*

*EOF-MARKER*

*INSPECT-HELP*

*INSPECT-UNBOUND-OBJECT-MARKER*

*NULL-CMD*

CLASS

Private

Undocumented

%INSPECT

CMD-TABLE-ENTRY

USER-CMD

CONSTANT

Private

Undocumented

+DEFAULT-INSPECT-LENGTH+