Language Lua
(5.1, bottled)
Date: | 04/19/09 |
Author: | Peter Cawley |
URL: | http://corsix.org/content/obfuscated-lua |
Comments: | 0 |
Info: | http://www.lua.org/ |
Score: | (3.00 in 49 votes) |
L= {} for k,v in next ,_G ._G do L[#k ]=v end L[10 ](([[p =prin t;for 'q=99, 1,-1'do' gg'q>1' th{n'p( q.."'Bs' {f'!:::'{n 'th{'<114 ,'"..q.." 'Bs'of'!:: [.")gg'q>2't h{n's=(q-1) .."'Bs'{f'[ !::'{n'th{ '<!+$."{lse' s="1'B'{f'$ !::'{n'th{' <onx."{nd; elsegg'q==1' then'p"1'B' {f'x!::'{n' th{'wall,' 1'B'of'[!::. "s="no'mor{ '!::''{n'th e'<'!4!"en d;p("Take'{n {'down,'pas s'it'around ,'"..s)p"- "{nd]]):gsub ("["..[==[$ 4[]==]..[[x ]].."]","" ):gsub([[B]] ,"bottle"): gsub("''?", " "):gsub( "!:+","beer" ):gsub("gg" ,"if"):rep( 3-2):gsub( "<..","wall" ):gsub("{", function(_) B=((B)or(3 ))+1;return( "eooe"):sub (B%4+1,(B+1 +2+9)%4+(# L[1]-13),(B* 2)%7)end))( L[#L]or...)
Download Source | Write Comment
Alternative Versions
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
original version | Philippe Lhoste | 04/20/05 | 1 | |
Examples of metatables in lua 5.1 | Peter Cawley | 06/07/07 | 0 | |
version 5.x | chill | 07/10/05 | 2 |
Download Source | Write Comment
Add Comment
Please provide a value for the fields Name,
Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.
Please don't post large portions of code here! Use the form to submit new examples or updates instead!
Comments