Search code examples
common-lispclispmanpage

Manual for CLISP


I want to read help for clisp function from REPL or just from shell. I found (symbol-plist) function for this which give this:

(symbol-plist 'bit)
(SYSTEM::TYPE-SYMBOL #<COMPILED-FUNCTION SYSTEM::TYPE-SYMBOL-BIT>
 SYSTEM::SETF-EXPANDER SYSTEM::STORE SYSTEM::DOC
 (CLHS "Body/any_bit.html" SYSTEM::FILE
  ((DEFSETF #P"/build/buildd/clisp-2.49/debian/build/places.fas" 941 941))))

but it's not so useful info in order to understand how does (bit) works?

So are there any manuals and documentation for clisp function something like man in shell?


Solution

  • [7]> (describe 'bit)
    
    BIT is the symbol BIT, lies in #<PACKAGE COMMON-LISP>, is accessible in 9 packages CLOS, COMMON-LISP, COMMON-LISP-USER, EXPORTING, EXT,
    POSIX, REGEXP, SCREEN, SYSTEM, names a function, names a type, has 3 properties SYSTEM::TYPE-SYMBOL, SYSTEM::SETF-EXPANDER, SYSTEM::DOC.
    ANSI-CL Documentation is at
    "http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/any_bit.html"
    For more information, evaluate (SYMBOL-PLIST 'BIT).
    
     #<PACKAGE COMMON-LISP> is the package named COMMON-LISP. It has 2 nicknames LISP, CL.
     It imports the external symbols of 1 package CLOS and exports 978 symbols to 8 packages REGEXP, POSIX, EXPORTING, SCREEN, CLOS,
     COMMON-LISP-USER, EXT, SYSTEM.
    
     #<SYSTEM-FUNCTION BIT> is a built-in system function.
     Argument list: (#:ARG0 &REST SYSTEM::OTHER-ARGS)
     For more information, evaluate (DISASSEMBLE #'BIT).
    
    Documentation:
    CLHS:
    "Body/any_bit.html"
    SYSTEM::FILE:
    ((DEFSETF #P"/Lisp/clisp/clisp-2.49/src/places.fas" 941 941))