Wednesday, October 11, 2006

Obfuscated TeX

I just came accross the following TeX program:
`\let~\catcode~`76~`A13~`F1~`j00~`P2jdefA71F~`7113jdefPALLFPA''FwPA;;FPAZZFLaLPA//71F71iPAHHFLPAzzFenPASSFthP;A\$\$FevPA@@FfPARR717273F737271P;ADDFRgniPAWW71FPATTFvePA**FstRsamPAGGFRruoPAqq71.72.F717271PAYY7172F727171PA??Fi*LmPA&&71jfiFjfi71PAVVFjbigskipRPWGAUU71727374 75,76Fjpar71727375Djifx:76jelse&U76jfiPLAKK7172F71l7271PAXX71FVLnOSeL71SLRyadR@oLRrhC?yLRurtKFeLPFovPgaTLtReRomL;PABB71 72,73:Fjif.73.jelseB73:jfiXF71PU71 72,73:PWs;AMM71F71diPAJJFRdriPAQQFRsreLPAII71Fo71dPA!!FRgiePBt'el@ lTLqdrYmu.Q.,Ke;vz vzLqpip.Q.,tz;;Lql.IrsZ.eap,qn.i. i.eLlMaesLdRcna,;!;h htLqm.MRasZ.ilk,%s\$;z zLqs'.ansZ.Ymi,/sx ;LYegseZRyal,@i;@ TLRlogdLrDsW,@;GLcYlaDLbJsW,SWXJW ree @rzchLhzsW,;WERcesInW qt.'oL.Rtrul;edoTsW,Wk;Rri@stW aHAHHFndZPqpa.rtMRrgeLinZ.irLtYer.W,:jbye`

You'd never guess by looking at it that it prints the entire song of the 12 Days of Christmas. Amazing.