home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
may94
/
util
/
edit
/
jade.lha
/
Jade
/
lisp
/
lisp.jlc
< prev
next >
Wrap
Text File
|
1994-04-20
|
3KB
|
55 lines
(defmacro defvar (symbol init-value &optional doc-string) 56281 (lisp-code "**++*,+*," [progn unless boundp quote symbol setq init-value when doc-string put (quote variable-documentation)] 8))
(defmacro defconst (symbol init-value &optional doc-string) 56465 (lisp-code "**++****,+*-" [progn unless boundp quote symbol setq init-value set-const-variable when stringp doc-string put (quote variable-documentation)] 9))
(setq features nil)
(defun require (feature) (lisp-code "\nÿ\n\t" [member feature features load format-string "%s"] 4))
(defun provide (feature) (lisp-code "\nÿKF\"" [member feature features] 3))
(defun featurep (feature) (lisp-code "\n" [member feature features] 3))
(defun add-hook (hook-sym new-func &optional at-end) 56636 (lisp-code "xÿIFAHü\tIK\nFAû¤\tKFA" [hook-sym at-end nconc symbol-value new-func] 4))
(defun remove-hook (hook-sym old-func) 56873 (lisp-code "\t\nFA" [delete old-func symbol-value hook-sym] 4))
(defun documentation (symbol &optional use-var-doc &aux doc) 56961 (lisp-code "yþàüzF#ûÍ\tF H\tü¦\tF#ûÍLaÿ³Laü¿PF#ûÍJüÌPF#ûÍIHpþÙ\tF#Hqþà" [symbol use-var-doc variable-documentation doc symbol-function subr-p subr-documentation macro special 3 2 get-doc-string] 2))
(defun document-var (symbol doc-string) 57163 (lisp-code "{H" [symbol variable-documentation doc-string] 3))
(defun format-string (&rest args) (lisp-code "IKL" [apply format "" args] 4))
(defun read-from-string (string &optional start) 57264 (lisp-code "püûK\t" [read start 0 string] 3))
(defun autoload (symbol file) 57378 (lisp-code "*FC" [autoload file symbol] 3))
(defmacro setcar (&rest args) (lisp-code "K" [rplaca args] 2))
(defmacro setcdr (&rest args) (lisp-code "K" [rplacd args] 2))
(defmacro eql (&rest args) (lisp-code "K" [eq args] 2))
(defmacro string= (&rest args) (lisp-code "K" [equal args] 2))
(fset (quote string-equal-p) (symbol-function (quote string=)))
(defmacro string< (&rest args) (lisp-code "K" [< args] 2))
(fset (quote string-less-p) (symbol-function (quote string<)))
(defun set-variable nil 57499 (lisp-code "D\t2þ D\t5þ\tF%þFAEE" [prompt-for-variable "Variable name: " var lisp-prompt "Value: " val read-from-string] 3))
(defun show-variable nil 57563 (lisp-code "D\t2þ\tE" [prompt-for-variable "Variable name: " var symbol-value] 2))
(defun error (&rest args) (lisp-code "\n)}" [error apply format-string args] 4))
(defvar command-arg-list nil 57625)
(defun add-command-arg (&optional arg) 57677 (lisp-code "ÿ\n\tUF HþIK\nF&" [arg read-from-string prompt2 prompt-complete-symbol "Enter next argument:" nconc command-arg-list] 4))
(defun clear-command-args nil 57822 (lisp-code "IF " [command-arg-list] 2))
(defun command-prompt (&optional title) 57897 (lisp-code "Düû\t\n5IF$HJ\nHE" [apply prompt-for-function title "Enter command name:" command-arg-list res prin1] 3))