Artifact d93d89617a2c0f444789fb198c434b74a6aab9c1493a72b41998876d8c993dea:
- File
psl-1983/3-1/glisp/glhead.psl
— 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: 1412) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/glisp/glhead.psl
— 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: 1412) [annotate] [blame] [check-ins using]
% % GLHEAD.PSL.13 16 FEB. 1983 % % HEADER FOR GLISP FOR COMPATIBILITY WITH PORTABLE STANDARD LISP (PSL) % G. NOVAK 20 OCTOBER 1982 % (GLOBAL '(GLQUIETFLG GLSEPBITTBL GLUNITPKGS GLSEPMINUS GLOBJECTNAMES GLTYPENAMES GLBREAKONERROR GLUSERSTRNAMES GLLASTFNCOMPILED GLLASTSTREDITED GLCAUTIOUSFLG GLLISPDIALECT GLBASICTYPES GLOBJECTTYPES GLTYPESUSED)) (FLUID '(TTLIST SPECS SOURCE GLGLOBALVARS DOMAINNAME ARGTYPES NOTFLG GLAMBDAFN ADDISATYPE PAIRLIST PROGG BITTBL KEY Y TYPES CONTEXT EXPR VALBUSY FAULTFN GLSEPATOM GLSEPPTR *GL* *GLVAL* GLTOPCTX RESULTTYPE RESULT GLNATOM FIRST OPNDS OPERS GLEXPR DESLIST EXPRSTACK GLTYPESUBS GLPROGLST TYPE GLNRECURSIONS GLFNSUBS GLEVALSUBS)) % CASEQ MACRO FOR PSL (DM CASEQ (L) (PROG (CVAR CODE) (SETQ CVAR (COND ((ATOM (CADR L))(CADR L)) (T 'CASEQSELECTORVAR))) (SETQ CODE (CONS 'COND (MAPCAR (CDDR L) (FUNCTION (LAMBDA (X) (COND ((EQ (CAR X) T) X) ((ATOM (CAR X)) (CONS (LIST 'EQ CVAR (LIST 'QUOTE (CAR X))) (CDR X))) (T (CONS (LIST 'MEMQ CVAR (LIST 'QUOTE (CAR X))) (CDR X))))))))) (RETURN (COND ((ATOM (CADR L)) CODE) (T (LIST 'PROG (LIST CVAR) (LIST 'SETQ CVAR (CADR L)) (LIST 'RETURN CODE)))))))