mirror of
https://github.com/PDP-10/its.git
synced 2026-01-13 23:36:30 +00:00
Added LISP; SHARAB LISP as present in PI distribution.
This is used for dumping out sharable lisps. Partially addresses #251.
This commit is contained in:
parent
6e016ae394
commit
9d2d9625be
38
src/lisp/sharab.lisp
Executable file
38
src/lisp/sharab.lisp
Executable file
@ -0,0 +1,38 @@
|
||||
(comment ) ;;; -*-lisp-*-
|
||||
|
||||
|
||||
(progn
|
||||
;closes init file, if any, or else load file
|
||||
(and (filep uread) (close uread))
|
||||
(and (filep infile) (not (eq infile tyi)) (close infile))
|
||||
(setq infile 't)
|
||||
(setq pure t *pure () )
|
||||
(load '((liblsp) sharab))
|
||||
(fasload (lisp) defmax)
|
||||
(setq pure 1 *pure 'T)
|
||||
(*rset 'T)
|
||||
(pagebporg)
|
||||
(setq putprop (purcopy
|
||||
(append '(STRUCT=INFO SELECTOR CONSTRUCTOR AUTOLOAD VERSION
|
||||
CARCDR |side-effectsp/|| SETF-X
|
||||
GRINDFN GRINDPREDICT GRINDMACRO GRINDFLATSIZE)
|
||||
putprop))
|
||||
pure-putprop putprop)
|
||||
(setq SHBDMP (list (cond ((status feature ITS) '(DSK LSPDMP))
|
||||
('T (+internal-lossage "Not Yet Implemented for Non-ITS systems" 'SHARAB () )
|
||||
'(LISP)))
|
||||
'SHBDMP
|
||||
(implode (nconc (exploden (get 'SHARABLE 'VERSION))
|
||||
(list '|.|)
|
||||
(cdr (exploden (status LISPV)))))))
|
||||
(sstatus
|
||||
TOPLEVEL
|
||||
'((lambda ()
|
||||
(sstatus TOPLEVEL () )
|
||||
(setq - () + () )
|
||||
(pure-suspend "SHARABJ:VP " SHBDMP)
|
||||
(announce-&-load-init-file 'SHARABLE (status JCL)) )))
|
||||
(sstatus feature SHARABLE)
|
||||
(*throw () () ))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user