2013-04-28 6 views
0

Je veux lire l'aide pour la fonction clisp de REPL ou juste de shell. fonction J'ai trouvé (symbole-plist) pour ce qui donne ceci:Manuel pour CLISP

(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)))) 

mais c'est pas des informations utiles afin de comprendre comment (bit) fonctionne?

Alors y a-t-il des manuels et de la documentation pour la fonction Clisp quelque chose comme man in shell?

Répondre

1
[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)) 
0

Ici, cela peut être intéressant. Voici un court extrait:

[fonction] bit bit tableau & reste des indices SBIT simple bit gamme & reste indices

bit est exactement comme Aref, mais nécessite un tableau de bits, qui est , un de type (bit de matrice). Le résultat sera toujours 0 ou 1. sbit est comme bit mais nécessite en plus que le premier argument soit un simple tableau (voir section 2.5). Notez que bit et sbit, contrairement à char et schar, permettent au premier argument d'être un tableau de n'importe quel rang.

Bit Function clisp

En outre, this est un énorme index de liens vers la section appropriée (s) du manuel de clisp.

+0

Merci pour le lien, mais je voudrais lancer cette aide de shell si c'est possible. – edem

+2

Common Lisp la langue est remplacée par la norme ANSI Common Lisp. Utilisez l'Hyperspec ou similaire. –