reduce2.update.uu.3 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. %DELETE '00000020'
  2. OPEN (COMPILE SYSFILE INPUT) RESTORE (COMPILE)
  3. %DELETE '00000056'
  4. $$$15-SEP-72 (UM 1-JUNE-73)$
  5. %AFTER '00000220'
  6. (DEFEXPR (LAMBDA (U)
  7. (DEF1 U (QUOTE FEXPR))))
  8. %DELETE '00000480'
  9. ((AND V (GET U (QUOTE SPECIAL)))
  10. %DELETE '00000570'
  11. ((AND V (EQ (CAR U) (QUOTE SETQ))
  12. %DELETE '00000670' '00000740'
  13. (T (CONS (TRANS (CAR U) V)
  14. %DELETE '00001240'
  15. (**ESC $$$?$)
  16. %DELETE '00001472'
  17. %DELETE '00001740'
  18. %DELETE '00002170' '00002190'
  19. %DELETE '00002270' '00002281'
  20. %AFTER '00002330'
  21. DEFINE ((
  22. (MKSTRING (LAMBDA (U)
  23. (LIST (QUOTE QUOTE) (COMPRESS (DELETE **SMARK (CDR U))))))
  24. ))
  25. COMMENT ((FUNCTIONS FOR MTS IMPLEMENTATION ONLY))
  26. DEFLIST (((PAUSE NORLIS) (CONT NORLIS)) STAT)
  27. DEFINE ((
  28. (PAUSE (LAMBDA NIL
  29. (PROG (Y Z)
  30. (COND ((BATCH) (RETURN NIL)))
  31. (PRINM (QUOTE ($$$CONT?$)))
  32. (COND ((YORN) (RETURN NIL)))
  33. (COND ((AND IFL* (NOT (EQ IFL* (CAR IPL*))))
  34. (SETQ IPL* (CONS IFL* IPL*))))
  35. (SETQ IFL* NIL)
  36. (SETQ Y *INT)
  37. (SETQ *INT T)
  38. (SETQ Z *ECHO)
  39. (SETQ *ECHO NIL)
  40. (RDS (OPEN (QUOTE GUSER) (QUOTE INPUT)))
  41. (BEGIN1 T)
  42. (SETQ *INT Y)
  43. (SETQ *ECHO Z)
  44. )))
  45. (REDMSG1 (LAMBDA (U V)
  46. (PROG NIL
  47. (PRINM (LIST (QUOTE SHOULD) U (QUOTE BE)
  48. (QUOTE DECLARED) V (QUOTE $$$?$)))
  49. (RETURN (YORN)) )))
  50. (PRINM (LAMBDA (U)
  51. (PROG (V)
  52. (WRS (OPEN (QUOTE SERCOM) (QUOTE OUTPUT)))
  53. (SETQ V U)
  54. A (PRINC (CAR V))
  55. (PRINC **BLANK)
  56. (COND ((SETQ V (CDR V)) (GO A)))
  57. (TERPRI)
  58. (WRS OFL*) )))
  59. (READM (LAMBDA NIL
  60. (PROG (U)
  61. (CLOSE (QUOTE GUSER))
  62. (RDS (OPEN (QUOTE GUSER) (QUOTE INPUT)))
  63. (SETQ U (READ))
  64. (RDS IFL*)
  65. (RETURN U) )))
  66. (YORN (LAMBDA NIL
  67. (PROG (U)
  68. A (SETQ U (READM))
  69. (COND ((EQ U (QUOTE Y)) (RETURN T))
  70. ((EQ U (QUOTE N)) (RETURN NIL)))
  71. (PRINM (QUOTE (ILLEGAL $$$RESPONSE.$ ENTER Y OR N)))
  72. (GO A) )))
  73. ))
  74. %DELETE '00002440' 2
  75. (SETQ *INT (NULL (BATCH)))
  76. (SETQ *ECHO (BATCH))
  77. (*WRS NIL)
  78. %DELETE '00002520'
  79. (EXITERR (BATCH))
  80. %DELETE '00002570'
  81. (RETURN (BEGIN1 NIL)))))
  82. %DELETE '00002701' '00002702'
  83. %DELETE '00002935' '00002950'
  84. (*OPEN (LAMBDA (U V) (PROG2 (OPEN U NIL V) U)))
  85. %DELETE '00003010' '00003030'
  86. (*WRS (LAMBDA (U)
  87. (PROG NIL
  88. (WRS (QUOTE LISPOUT))
  89. (COND (U (PROG2 (ASA NIL) (WRS U))))
  90. (OTLL (OTLLNG))
  91. (PTS (QUOTE LLENGTH*) (DIFFERENCE (OTLLNG) 7)))))
  92. %DELETE '00003060'
  93. LOSE ((ASSOC* REMK*))
  94. %BEFORE '00004110'
  95. (COND ((NOT (ATOMLIS U)) (REDERR (QUOTE (ILLEGAL FILE NAME)))))
  96. %DELETE '00004230'
  97. F (BEGIN1 T)
  98. %DELETE '00004370'
  99. (SETQ *INT (NOT (BATCH)))
  100. (SETQ *ECHO (BATCH))
  101. (GO F)
  102. %AFTER '00004840'
  103. ($$$&$ NIL AND NIL)
  104. ($$$|$ NIL OR NIL)
  105. ($$$~$ $$$=$ NOT UNEQ)
  106. %AFTER '00011890'
  107. (SETQ POSN* 0)
  108. (COND ((NULL FORTVAR*) (GO A)))
  109. %AFTER '00011900'
  110. (SETQ POSN* 6)
  111. %DELETE '00011910'
  112. (PRINC* FORTVAR*)
  113. %DELETE '00011930'
  114. (PRINC* FORTVAR*)
  115. %DELETE '00011941'
  116. %AFTER '00013690'
  117. ((EQ CRCHAR* **EOF) (GO EOF))
  118. %DELETE '00013800'
  119. D (COND ((OR ECHO* *NAT) (SYMPRI CURSYM*)))
  120. %DELETE '00014170'
  121. (COND ((OR ECHO* *NAT) (MAPRIN CURSYM*)))
  122. %DELETE '00014180'
  123. (GO D1)
  124. EOF (SETQ CURSYM* (QUOTE END))
  125. (SETQ CRCHAR* **SEMICOL)
  126. (GO D) )))
  127. %DELETE '00014820' '00014840'
  128. (SETQ U (AND (NOT (EQ *MODE (QUOTE SYMBOLIC)))
  129. (OR PRI* (EQ U (QUOTE TOP)) (EQ U (QUOTE PRI)))))
  130. %DELETE '00014940'
  131. A (COND ((AND U (OR PRI* (EQ SEMIC* **SEMICOL)))
  132. %DELETE '00016740'
  133. (REMFLAG (LIST NAME) (QUOTE FNC))
  134. %DELETE '00020010'
  135. (RETURN (COMMAND1 (QUOTE PRI)))))
  136. %DELETE '00020290'
  137. (PROG (X Y Z)
  138. %DELETE '00020300'
  139. (SETQ X ECHO*)
  140. %DELETE '00020380'
  141. LOOP (COND ((EQ CRCHAR* **EOF) (GO RET))
  142. ((NULL U) (GO L1))
  143. %DELETE '00020440'
  144. L1 (COND ((NULL X) (GO L3)))
  145. (COND ((NULL U) (PRINC* CRCHAR*))
  146. ((BREAKP CRCHAR*) (GO L2))
  147. (T (PROG2 (RLIT CRCHAR*) (SETQ Z T))))
  148. L3
  149. %DELETE '00020590' '00020600'
  150. L2 (COND (Z (PRINC* (MKATOM))))
  151. (SETQ Z NIL)
  152. (PRINC* CRCHAR*)
  153. (COND ((NOT (EQ CRCHAR* **BLANK)) (GO L3))
  154. ((EQ U (QUOTE END)) (SETQ Y NIL)))
  155. L4 (COND ((EQ (READCH*) **BLANK) (GO L4)))
  156. (GO LOOP)
  157. RET (COND ((AND X Z) (PROG2 (PRINC* (MKATOM)) (SETQ Z NIL))))
  158. (SCAN)
  159. RET1 (COND ((AND X Z) (PRINC* (MKATOM))))
  160. (RETURN (COND (X (TERPRI*)) (T NIL)))
  161. %DELETE '00021240'
  162. (*APPLY (CONVRT (CDR X) T) NIL)))
  163. %DELETE '00021485'
  164. (FUNCTION REVAL))))) (PROG2 (ERRPRI2 X) (ERROR*))))
  165. %DELETE '00021680'
  166. (BEGIN1 (LAMBDA (U)
  167. %DELETE '00021730'
  168. (SETQ ECHO* (AND *ECHO (NOT (AND OFL* (OR *FORT (NULL *NAT))))))
  169. %AFTER '00021840'
  170. ((EQ (CAR PROGRAM*) (QUOTE CONT)) (GO C))
  171. %DELETE '00021852'
  172. B (TERPRI*)
  173. %DELETE '00021890'
  174. (ERRORSET (CONVRT (GTS (QUOTE PROGRAM*)) T) T))
  175. %DELETE '00021960'
  176. (COND ((NULL (OR *INT OFL* *FORT)) (PRINTTY **STAR)))
  177. %AFTER '00021970'
  178. C (COND ((NOT U) (GO A)))
  179. (COND (IFL* (GO ND1)))
  180. (SETQ IFL* (COND (IPL* (CAR IPL*)) (T NIL)))
  181. (RDS IFL*)
  182. (TERPRI*)
  183. (RETURN NIL)
  184. %DELETE '00022010'
  185. (RETURN (FINF U))
  186. %AFTER '00022040'
  187. (SETP)
  188. %DELETE '00022070'
  189. (LPRIE (QUOTE (COMMAND TERMINATED *****)) T)))
  190. %DELETE '00022100'
  191. (COND (IFL* (PAUSE)))
  192. %DELETE '00022130'
  193. (FINF (LAMBDA (U)
  194. %DELETE '00022150'
  195. (COND (U (GO A)))
  196. %AFTER '00022160'
  197. (SETQ IFL* NIL)
  198. %DELETE '00022220' '00022222'
  199. A (COND ((NOT IFL*) (RETURN NIL)))
  200. (SHUT (LIST IFL*))
  201. %AFTER '00022570'
  202. (MTS NORLIS)
  203. %DELETE '00023960' '00023980'
  204. THE COMPUTING CENTER
  205. %DELETE '00031230'
  206. %DELETE '00032150'
  207. (PROG (V W X Y Z Q)
  208. %DELETE '00032190'
  209. A (SETQ Q (CAR W))
  210. (COND ((NULL W) (GO D))
  211. %DELETE '00032210'
  212. ((NOT (ATOM (CAR U))) (GO A3))
  213. %AFTER '00032231'
  214. A3 (COND ((NOT (ATOM (CAAR W))) (GO A1))
  215. ((AND (MEMBER (CDAR W) FRLIS*)
  216. (EQ (CAAR U) (QUOTE EXPT))
  217. (SETQ W (CONS (CONS (LIST (QUOTE EXPT) (CAAR W)
  218. (CDAR W)) 1) (CDR W))))
  219. (GO A1))
  220. ((MEMBER (CAAR W) FRLIS*) (GO A2))
  221. (T (GO D)))
  222. %DELETE '00032380'
  223. (DELETE Q (CAR V)))
  224. %AFTER '00034000'
  225. (RMSUBS)
  226. %DELETE '00034670'
  227. ((ATOM P) (MKFR (TIMES P (CADDR Q)) (CADR Q)))
  228. ((ATOM Q) (MKFR (CADR P) (TIMES Q (CADDR P))))
  229. (T (MKFR (TIMES (CADR P) (CADDR Q))
  230. (TIMES (CADR Q) (CADDR P)))) ))
  231. %DELETE '00035880'
  232. ((AND *ALLFAC (NOT (EQUAL X (CAR U)))) (GO B))
  233. %DELETE '00037220' '00037221'
  234. D (COND ((NULL (OR W (EQ POSN* 0))) (PROG2 (SETQ POSN* 0)
  235. (TERPRI))))
  236. (COND ((EQ POSN* 0) (SETQ COUNT* 1)))
  237. (SETQ FORTVAR* NIL)
  238. (COND ((OR W (ATOM V) (NOT (EQ POSN* 0))) (GO A)))
  239. %DELETE '00037270'
  240. (SETQ POSN* 6)
  241. (PRINC* FORTVAR*)
  242. %DELETE '00037281'
  243. %BEFORE '00037670'
  244. (SETQ ERFG* T)
  245. %AFTER '00042660'
  246. (REMPROP X (QUOTE ARRAY))
  247. %DELETE '00043411' '00043412'
  248. %DELETE '00043860'
  249. (PROG2 (LET1 U (MK*SQ (CONS (CDR (SIMP *ANS)) 1)))
  250. (SETQ MCOND* (SETQ FRASC* NIL)))))
  251. %DELETE '00043880'
  252. (NUMER* (LAMBDA (U)
  253. %DELETE '00043920'
  254. (PROG2 (NUMER* U) (DENOM V))))
  255. (NUMER (LAMBDA (U)
  256. (PROG2 (NUMER* U) (SETQ MCOND* (SETQ FRASC* NIL)))))
  257. %DELETE '00045321' '00045322'
  258. %DELETE '00054950'
  259. ((AND (NOT (FLAGP L (QUOTE NOSPUR)))
  260. %DELETE '00059381'
  261. %DELETE '00060145'
  262. %BEFORE FILEMARK