Skip to content

Instantly share code, notes, and snippets.

@Abica
Created March 27, 2010 09:05
Show Gist options
  • Save Abica/345849 to your computer and use it in GitHub Desktop.
Save Abica/345849 to your computer and use it in GitHub Desktop.
some really hilarious looking ruby that syntactically looks like lisp
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; :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