Changeset 4578


Ignore:
Timestamp:
10/30/03 18:40:53 (18 years ago)
Author:
piso
Message:

INSPECT-COMMAND

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/top-level.lisp

    r4428 r4578  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: top-level.lisp,v 1.10 2003-10-17 14:06:55 piso Exp $
     4;;; $Id: top-level.lisp,v 1.11 2003-10-30 18:40:53 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    8686  (let ((obj (eval (read-from-string args))))
    8787    (describe obj)))
     88
     89(defun inspect-command (args)
     90  (let ((obj (eval (read-from-string args))))
     91    (inspect obj)))
    8892
    8993(defun macroexpand-command (args)
     
    171175    ("exit" 2 exit-command "exit lisp")
    172176    ("help" 2 help-command "print this help")
     177    ("inspect" 2 inspect-command "inspect an object")
    173178    ("ld" 2 ld-command "load a file")
    174179    ("macroexpand" 2 macroexpand-command "macroexpand an expression")
Note: See TracChangeset for help on using the changeset viewer.