Artifact 06d1a89250c4ea9d83ffb8b373384724e25ea4b579b2f190472d6e79580ea5ad:
- File
perq-pascal-lisp-project/pas2.bld
— 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: 1256) [annotate] [blame] [check-ins using] [more...]
DEF s: <SCRATCH> DEF DSK: DSK:,SYS: DEF SYS: DSK:,SYS: pas:PASCMP OFF SYSLISP$ OFF MSG$ OFF NOUUO$ OFF DOMOVE$ % Can't have BOTH DOMOVE and FXFRM OFF NOFIXFRM; % Reduce ALLOCS ON MACECHO$ %OFF Cuts down size of output file. REMPROP('W,'STAT); REMPROP('PLIST,'STAT); IN PAS1.SYM$ % Perhaps the following lines should really be in POLY.RED, but they % don't work correctly inside body of text being compiled. PUT('CAR,'ANYREG,'T)$ PUT('CDR,'ANYREG,'T)$ PUT('VALUE,'OPENCOD,'(" R[1] := idspace[info_of(R[1])].val;")); PUT('PLIST,'OPENCOD,'(" R[1] := idspace[Info_of(r[1])].plist;")); PUT('FUNCELL,'OPENCOD,'(" R[1] := idspace[Info_of(r[1])].funcell;")); PUT('SETVALUE,'OPENCOD,'(" idspace[Info_of(r[1])].val := R[2];")); PUT('SETPLIST,'OPENCOD,'(" idspace[Info_of(r[1])].plist := R[2];")); PUT('SETFUNCELL,'OPENCOD,'(" idspace[Info_of(r[1])].funcell := R[2];")); PUT('CHAR2ID,'OPENCOD,'(" set_tag(R[1], idtag);")); PUT('CODEP, 'OPENCOD, '(" tag_of(r[1]) = codetag;")); OUT PAS2.PAS$ DRT1('PAS2,PAS1IDS,PAS1CSTS,PAS1LITS,PAS1FNS)$ IN PAS2.RED$ DRT2()$ SHUT PAS2.PAS$ OUT PAS2.SYM$ DUMPSYMS('PAS2)$ SHUT PAS2.SYM$ OUT PAS2.SLI$ DRT3()$ % S-expressions and Declarations SHUT PAS2.SLI$ QUIT$