[its-hackers] Usefull Muddle 56 Hack?? PPRTDSK

Lars Brinkhoff lars at nocrew.org
Sat Mar 27 10:15:51 CET 2021


RRS wrote:
> <DEFINE PPRTDSK (PRTATM ;" PertyPrint to disk file. "
>  		"OPT" (DSKFIL <STRING <PNAME .PRTATM> " MUD">)  
> 		"AUX" (OUTCHAN <OPEN "PRINT" .DSKFIL>))
> 	 #DECL ((PRTATM  VALUE) ATOM
> 		(DSKFIL) STRING (OUTCHAN) <OR CHANNEL FALSE> )
> 	<OR .OUTCHAN <ERROR "BAD FILE / CHANNEL" .OUTCHAN>>     
> 	<PPRINT .PRTATM>                                       
>  	<TERPRI>                                               
>  	<CLOSE .OUTCHAN>                                       
>  	.PRTATM>                                               

Interesting.  It seems to me much Muddle code uses "AUX" to introduce
local variables where Lisp would normally use LET.

Here's my novice attempt at Muddle programming.  I see I should add
declarations for it to be more idiomatic.

https://github.com/PDP-10/its/blob/master/src/imlac/maze.print



More information about the its-hackers mailing list