Artifact a24dac532a8f1b7664fccc7c37bbfe2c46392a24e1ef9ffb34a349a48dd97b8a:
- File
psl-1983/3-1/util/clcomp1.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1689) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/util/clcomp1.sl
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1689) [annotate] [blame] [check-ins using]
% % CLCOMP.SL - Incompatible Common Lisp compatibility % % Author: Eric Benson % Symbolic Computation Group % Computer Science Dept. % University of Utah % Date: 12 April 1982 % Copyright (c) 1982 University of Utah % % These are Common Lisp compatiblity definitions that cause Standard Lisp % to break. Changes character definitions and redefines functions. (imports '(useful common fast-vector)) (defmacro prog2 (first second . others) `(progn ,first (prog1 ,second ,@others))) (remprop 'prog2 'compfn) (defun char (s i) (igets s i)) (put 'char 'cmacro '(lambda (s i) (igets s i))) % NTH is a problem, hasn't been dealt with yet % Also MAP functions... (comment "make backslash the escape character") (setf IDEscapeChar* #\!\) (setf (elt lispscantable* #\!\) 14) (comment "Make percent a letter") (setf (elt lispscantable* #\!%) 10) (comment "Make semicolon start comments") (setf (elt lispscantable* #\;) 12) (comment "make bang a letter") (setf (elt lispscantable* #\!!) 10) (comment "Make colon the package character") (setf PackageCharacter* #\:) (setf (elt lispscantable* #\:) 16) (comment "Add vertical bars for reading IDs") (setf (elt lispscantable* #\|) 21) (comment "#M and #Q mean if_maclisp and if_lispm") (defun throw-away-next-form (channel qt) (ChannelReadTokenWithHooks channel) (ChannelReadTokenWithHooks channel)) (put '!#M 'LispReadMacro 'throw-away-next-form) (put '!#Q 'LispReadMacro 'throw-away-next-form) (push '(M . !#M) (get '!# (getv LispScanTable* 128))) (push '(Q . !#Q) (get '!# (getv LispScanTable* 128))) (comment "So we can add #+psl to maclisp code") (push 'psl system_list*)