[gs-cvs] rev 8145 - tests/ps

alexcher at ghostscript.com alexcher at ghostscript.com
Wed Jul 25 15:05:04 PDT 2007


Author: alexcher
Date: 2007-07-25 15:05:04 -0700 (Wed, 25 Jul 2007)
New Revision: 8145

Added:
   tests/ps/puzzleware.ps
Log:
Add puzzleware.ps - good test of self-delimeted characters in the scanner.


Added: tests/ps/puzzleware.ps
===================================================================
--- tests/ps/puzzleware.ps	2007-07-25 20:06:22 UTC (rev 8144)
+++ tests/ps/puzzleware.ps	2007-07-25 22:05:04 UTC (rev 8145)
@@ -0,0 +1,33 @@
+%!
+% Expert Labyrinth for Postscript printers, Copyright 1992 by David Bau
+
+.00 .15 % line weights (0..1) % This file is free puzzleware.  :)
+   -.70 % tunnel shape(-1..1) % Please distribute it and its output only for
+     40 % twistiness (0..100) %  free, and keep my original comments intact.
+   true % tunnel crossings    % If you like it or if you have a suggestion,
+612 792 % page dimensions     %  send me a postcard from your home town!
+ 18  18 % page margins        % 777 South Avenue; Weston, MA 02193; USA
+     12 % cell size           % davidbau at hotmail.com
+     
+/`/def/*/repeat/~/lineto/!/mod/@/if/#/ifelse/$/dup/^/add/|/stroke/'/put/S/gsave
+/./exit/,/and/&/sub/-/or/_/loop/=/exch/+/eq/Z/ne/"/bind/:/get/;/bitshift/W/exec
+/N/mul/O/translate/P/neg/Q/for/?/moveto/T/grestore/X/showpage/$/dup/V/arc/M/pop
+/Y/setlinewidth/R/div 73 dict begin 35{load def}repeat(,b5;-'/aabaCPbzN^`/bbw4!
+`}{/bb3^4!`}#}_}"WYI$0Z{SXTIYH}{M}#XT)(31)({.}@}_c1eK$G4-'c0eK5'cfdK$G1-'cfdKw5
+'/hfwdK`/a0eK`/b0`{ah+{.}@aGbJ,0Z{caaG)(ge)(gf2R&)(abs)(;`b4+{.}@/abaCPbzNa^`}#
+}_{/eghw`/dghw`de&)(-5)(,k5;-}@'}_caaGk$5;=J--'}{/baG)(lt{15 xor 31)(-6h3)(16)(
+`caaGbJ-'baC{BcaaG)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end


Property changes on: tests/ps/puzzleware.ps
___________________________________________________________________
Name: svn:executable
   + *



More information about the gs-cvs mailing list