aboutsummaryrefslogtreecommitdiff
path: root/buzzard/buzzard.2.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
committerDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
commita76977af62010a392c16010c367185e61e856ffe (patch)
tree56cf4177d5bc0e3ead781d1c60818c13b1df0f3c /buzzard/buzzard.2.c
parentc0165d167d7cb40d80028bcf7a4a6b160b5a7e83 (diff)
mv to docs
Diffstat (limited to 'buzzard/buzzard.2.c')
-rw-r--r--buzzard/buzzard.2.c61
1 files changed, 0 insertions, 61 deletions
diff --git a/buzzard/buzzard.2.c b/buzzard/buzzard.2.c
deleted file mode 100644
index 4765458..0000000
--- a/buzzard/buzzard.2.c
+++ /dev/null
@@ -1,61 +0,0 @@
-#define c m[m[0]++] =
-#define z;break;case
-
-char s[5000];
-int m[20000]={32},L=1,I,T[500],*S=T,t=64,w,f;
-
-a(x)
-{
- c L;
- L= *m-1;
- c t;
- c x;
- scanf("%s",s+t);
- t+=strlen(s+t)+1;
-}
-
-r(x)
-{
- switch(m[x++]){
- z 5: for(w=scanf("%s",s)<1?exit(0),0:L;strcmp(s,&s[m[w+1]]);w=m[w]);
- w-1 ? r(w+2) : (c 2,c atoi(s))
- z 12: I=m[m[1]--]
- z 15: f=S[-f]
- z 1: c x
- z 9: f *=* S--
- z 7: m[f]= *S--;
- f= *S--
- z 0: *++S=f;
- f=m[I++]
- z 8: f= *S --- f
- z 2: m[++m[1]]=I;
- I=x
- z 11: f=0>f
- z 4: *m-=2;c 2
- z 6: f=m[f]
- z 10: f= *S--/f
- z 3: a(1);
- c 2
- z 13: putchar(f);
- f= *S--
- z 14: *++S=f;
- f=getchar();
- }
-}
-
-main()
-{
- a(3);
- a(4);
- a(1);
- w= *m;
- c 5;
- c 2;
- I= *m;
- c w;
- c I-1;
- for(w=6;w<16;)
- a(1),c w++;
- m[1]= *m;
- for(*m+=512;;r(m[I++]));
-}