Skip to content

Instantly share code, notes, and snippets.

@thomcc
Created December 6, 2011 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomcc/1436295 to your computer and use it in GitHub Desktop.
Save thomcc/1436295 to your computer and use it in GitHub Desktop.
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