Penguin

Differences between version 8 and predecessor to the previous major change of PolyGlot.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 8 Last edited on Wednesday, September 11, 2002 12:08:53 pm by JohnMcPherson Revert
Older page: version 7 Last edited on Wednesday, September 11, 2002 12:32:19 am by CraigBox Revert
@@ -81,4 +81,18 @@
  C * ) pop showpage (( 
  C *) 
  end .(* ) 
  C)pop% program polyglot. *){*/} 
+  
+To compile (as C code) and run on linux:  
+ $ gcc -xc polyglot.src -o polyglot && ./polyglot  
+(The -xc switch forces the language to be c).  
+  
+Or you can view it as postscript:  
+ $ gv polyglot.src  
+  
+Run as a shell script:  
+ $ sh < polyglot.src  
+or:  
+ $ chmod +x polyglot.src ; ./polyglot.src  
+  
+I think you get the idea...