Created
March 27, 2010 09:05
-
-
Save Abica/345849 to your computer and use it in GitHub Desktop.
some really hilarious looking ruby that syntactically looks like lisp
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; :RAZZLE_DAZZLE | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(def #'generate-faux-lisp | |
method_missing (*lol, &block) | |
((block. call) unless | |
(block. nil?)) | |
end) | |
(you :know, i | |
(def bet | |
"you" | |
(thought do | |
(that 'this' do | |
(actually was) | |
(lisp | |
(even :though) | |
(it was, not!)) | |
(return :ha!, :ha!) end) end) end)) | |
(kinda | |
(sorta :pretty | |
(ridiculous | |
(just how, bored, i, am)))) | |
(func= :bet) | |
(until | |
((func= | |
(method func). call). kind_of? Array) | |
"expecting something different?" end) | |
(p (func.* (era= (Time).now.year))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment