Skip to content

Instantly share code, notes, and snippets.

@oskimura
Created December 8, 2010 05:08
Show Gist options
  • Select an option

  • Save oskimura/732915 to your computer and use it in GitHub Desktop.

Select an option

Save oskimura/732915 to your computer and use it in GitHub Desktop.
Symbolic.hs
#define _ 1
#define __ main=print
import Data.Char(chr)
(%%) = chr
--
(&&&) = (_+_+_+_) ^ (_+_+_) -- 64
(@@) = (&&&) + (_+_) ^(_+_+_) -- H
(@@@) = (&&&) + (_+_+_+_+_) -- E
(@@@@) = (&&&) + (_+_+_+_) * (_+_+_) -- L
(@@@@@) = (&&&) + (_+_+_) * (_+_+_+_+_) -- O
(@@@@@@) = (_+_) ^ (_+_+_+_+_) -- [SP]
(@@@@@@@) = (_+_+_)^(_+_+_+_)+(_+_+_)*(_+_)-- W
(@@@@@@@@) = (_+_+_)^(_+_+_+_)+_ -- R
(@@@@@@@@@) = (_+_+_+_) ^ (_+_+_) + (_+_+_+_) * (_*_*_) -- D
(@@@@@@@@@@) = (_+_+_) ^ (_+_+_) + (_+_+_) * (_+_) -- !
__ [(%%)(@@), (%%)(@@@),(%%)(@@@@),(%%)(@@@@),(%%)(@@@@@),(%%)(@@@@@@),(%%)(@@@@@@@),(%%)(@@@@@),(%%)(@@@@@@@@),(%%)(@@@@),(%%)(@@@@@@@@@),(%%)(@@@@@@@@@@)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment