From cd0b79ab8e934dbc44f7d7284b5e80f5e239d645 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Sun, 21 Apr 2024 19:27:40 -0700 Subject: [PATCH] improve layout of 1991/westley/index.html Improved indenting source code block. Ran `bin/readme2index.sh -v 1 1991/westley` to perform the above. --- 1991/westley/README.md | 6 +++--- 1991/westley/index.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/1991/westley/README.md b/1991/westley/README.md index 590999556..04281b531 100644 --- a/1991/westley/README.md +++ b/1991/westley/README.md @@ -82,7 +82,7 @@ The final might look like: ``` a(X){/*/X=- a(X){/*/X=- - X -1;F;X=- -1;F;X=- + X -1;F;X=- -1;F;X=- -1;F;}/*/ -1;F;}/*/ char z[][100]={"char z[][100]={","a(X){/*/X=-","-1;F;X=-","-1;F;}/*/","1999999999 :-) ", "int q,i,j,k,X,O=0,H;S(x)int*x;{X+=X;O+=O;*x+1?*x+2||X++:O++;*x=1;}L(n){for(*", @@ -94,7 +94,7 @@ The final might look like: ",O),R(),O|=1<<--i:J[*J-48+(X=O=0)]--;L(q=0);for(s(i=0);q=i<12;)s(i++),i>4&&N", ";s(q=12);P(48);P('}');P(59);N;q=0;L(1);for(i=5;i<13;)s(i++),N;L(2);}",0}; b(X){/*/X=- b(X){/*/X=- - X -1;F;X=- -1;F;X=- X + X -1;F;X=- -1;F;X=- X -1;F;}/*/ -1;F;}/*/ int q,i,j,k,X,O=0,H;S(x)int*x;{X+=X;O+=O;*x+1?*x+2||X++:O++;*x=1;}L(n){for(* z[i=1]=n+97;i<4;i++)M(256),s(i),M(128),s(i),M(64),N;X*=8;O*=8;}s(R){char*r=z @@ -105,7 +105,7 @@ The final might look like: ,O),R(),O|=1<<--i:J[*J-48+(X=O=0)]--;L(q=0);for(s(i=0);q=i<12;)s(i++),i>4&&N ;s(q=12);P(48);P('}');P(59);N;q=0;L(1);for(i=5;i<13;)s(i++),N;L(2);} c(X){/*/X=- c(X){/*/X=- - 0 -1;F;X=- 0 -1;F;X=- 0 + 0 -1;F;X=- 0 -1;F;X=- 0 -1;F;}/*/ -1;F;}/*/ ttt: I win! diff --git a/1991/westley/index.html b/1991/westley/index.html index b8a3aa41e..e59ea966e 100644 --- a/1991/westley/index.html +++ b/1991/westley/index.html @@ -191,7 +191,7 @@ loss). The ttt script has two other modes:

./ttt 6

The final might look like:

                    a(X){/*/X=-         a(X){/*/X=-
-            X   -1;F;X=-                -1;F;X=-
+            X       -1;F;X=-            -1;F;X=-
                     -1;F;}/*/           -1;F;}/*/
     char z[][100]={"char z[][100]={","a(X){/*/X=-","-1;F;X=-","-1;F;}/*/","1999999999  :-) ",
     "int q,i,j,k,X,O=0,H;S(x)int*x;{X+=X;O+=O;*x+1?*x+2||X++:O++;*x=1;}L(n){for(*",
@@ -203,7 +203,7 @@ loss). The ttt script has two other modes:

",O),R(),O|=1<<--i:J[*J-48+(X=O=0)]--;L(q=0);for(s(i=0);q=i<12;)s(i++),i>4&&N", ";s(q=12);P(48);P('}');P(59);N;q=0;L(1);for(i=5;i<13;)s(i++),N;L(2);}",0}; b(X){/*/X=- b(X){/*/X=- - X -1;F;X=- -1;F;X=- X + X -1;F;X=- -1;F;X=- X -1;F;}/*/ -1;F;}/*/ int q,i,j,k,X,O=0,H;S(x)int*x;{X+=X;O+=O;*x+1?*x+2||X++:O++;*x=1;}L(n){for(* z[i=1]=n+97;i<4;i++)M(256),s(i),M(128),s(i),M(64),N;X*=8;O*=8;}s(R){char*r=z @@ -214,7 +214,7 @@ loss). The ttt script has two other modes:

,O),R(),O|=1<<--i:J[*J-48+(X=O=0)]--;L(q=0);for(s(i=0);q=i<12;)s(i++),i>4&&N ;s(q=12);P(48);P('}');P(59);N;q=0;L(1);for(i=5;i<13;)s(i++),N;L(2);} c(X){/*/X=- c(X){/*/X=- - 0 -1;F;X=- 0 -1;F;X=- 0 + 0 -1;F;X=- 0 -1;F;X=- 0 -1;F;}/*/ -1;F;}/*/ ttt: I win!