Scary project - I mean ... wow?!

So it’s old news sure, but awib is a scary project; a brainfuck compiler, writen in brainfuck. Look at the C backend.

# output remainder of this define statement
[->+>+<<]>[-<+>]+>-[-[-[-[-[-[-[-[-[<->[-]]
 
<[-
% 10 60 35 100 110 120 9 *0 0 (code) 0 M m
<<<<<+++++++.>>++.--<<<+.>++++++.-------------<--.+<.>>>>>>>
]>]
 
<[-
% 10 60 35 100 110 120 8 *0 0 (code) 0 M m
<<+++++.----->++.-->
]>]

Brainfuck

Why?

Sometimes, because you can, might be the only answer.

blog comments powered by Disqus