Skip to content

Instantly share code, notes, and snippets.

@thomcc
Created Dec 6, 2011
Embed
What would you like to do?
just another scheme hacker
(((λ(_)((λ(.#)((λ(!)((λ(~)((λ(--)((λ(%)((λ(*)((λ($)((λ(d)
((λ(f)((λ(>)(f(λ(^)((> >)^))))(λ(>)(f(λ(^)((> >)^))))))(λ
(f)(λ(^)(let ~((< 0))(cond((>= <(_ ^))(void))((eq?(.# ^ <
)#\[)((λ(>)((λ(^)(let ~()(unless(= --(! $ *))(f ^)(~)))(~
(+ > %)))(substring ^(+ % <)>)))((λ(o)((λ(f)(let ~((++ --
)(f(+ f %)))((λ(<)(if(= <(- %))f(~ < (+ f %))))(case(.# o
f)((#\[)(+ % ++))((#\])(- ++ %))(else ++)))))<))^)))(#t(d
(.# ^ <))(~(+ % <)))))))))(λ(>)(cond((assoc >`((#\..,(λ @
(write-byte(! $ *))))(#\,.,(λ()(~ $ *(read-byte))))(#\>.,
(λ .(set! *(+ % *))))(#\<.,(λ()(set! *(- * %))))(#\+.,(λ(
)(~ $ *(+(! $ *)%))))(#\-.,(λ()(~ $ *(-(! $ *)%))))))=>(λ
(>)((cdr >))))))))(make-vector 2 0)))0))1))0))vector-set!
))vector-ref))string-ref))string-length) "[-]>[-]<>++++++
++++[<++++++++++>-]<++++++.>+++[<+++>-]<++.--.+.>++++++++
+[<--------->-]<---.>++++++++[<++++++++>-]<+.>++++[<++++>
-]<---.+.>++[<++>-]<+.>+++[<--->-]<---.---.>++++[<++++>-]
<---.>+++++++++[<--------->-]<-.>+++++++++[<+++++++++>-]<
++.>++++[<---->-]<.>++[<++>-]<+.---.>+++[<+++>-]<-.>+++[<
--->-]<+.>++++++++[<-------->-]<-----.>++++++++[<++++++++
>-]<++++++++.>+++[<--->-]<++.++.>+++[<+++>-]<-.>++[<-->-]
<--.>++++[<++++>-]<---.")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment