small brain fuck interpreter in c
//it interprets the brainfuck programming language from stdin.
//as you can see, this program itself is also brain fucked.
//i found this from here http://esoteric.sange.fi/brainfuck/impl/interp/small.c
//very nice
char m[9999],*n[99],*r=m,*p=m+5000,**s=n,d,c;main(){for(read(0,r,p)
;c=*r++;c-93?c-91?d?0:c-43&~2?c-44?c-46?p+=c&~2^60?0:c%4-1:write(1,
p,1):read(2,p,1):(*p-=c-44):d++||(*++s=r):d&&—d?0:*p?r=*s:—s);}
- Uncategorized | Time: 8:02 pm (UTC+8) No Comments »

