Created
August 11, 2010 02:43
-
-
Save ryantenney/518388 to your computer and use it in GitHub Desktop.
209 char brainfuck interpreter written in C. Not a single char of whitespace in the program.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char*S[99],P[999],T[999],**s=S,*p=P,*t=T,c,x;main(){read(0,p,999);for(;c=*p;++p)c^93?x?:c^91?c^62?c^60?c^46?c^45?c^44?c^43?:++*t:(*t=getchar()):--*t:putchar(*t):t--:t++:*t?*(s++)=p:++x:x?--x:*t?p=*(s-1):--s;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
209 char brainfuck interpreter written in C. Not a single char of whitespace in the program :)