Skip to content

Instantly share code, notes, and snippets.

@lxfontes
Last active April 22, 2016 02:04
Show Gist options
  • Select an option

  • Save lxfontes/d871ff28e92057722f84399cb5c5f064 to your computer and use it in GitHub Desktop.

Select an option

Save lxfontes/d871ff28e92057722f84399cb5c5f064 to your computer and use it in GitHub Desktop.
// compile with
// gcc -o goodbye goodbye.c
#define w while
typedef char z; typedef z * zz;
z R(z d) { return isalpha(d)?tolower(d)<'n'?d+13:d-13:d; }
char buf[] = "\x59\x6f\x75\x20\x77\x69\x6c\x6c\x20\x68\x61\x76\x65\x20\x74\x6f\x20\x72\x75\x6e\x20\x69\x74\x20\x3b\x29\x00\x72\x66\x79\x72\x20\x72\x61\x62\x6c\x61\x6e\x20\x61\x6e\x75\x67\x20\x65\x72\x67\x67\x72\x6f\x20\x67\x76\x20\x62\x71\x20\x71\x61\x6e\x20\x2c\x74\x61\x76\x75\x67\x20\x72\x61\x62\x20\x65\x68\x62\x6c\x20\x71\x61\x76\x53\x00";
int main() {
z x; zz xx = buf; zz xy;
w(*xx)xx++;xx++;
xy = xx; w(*xx)xx++;
w(xx >= xy) putchar(R(*xx--)); putchar('\n');
}
@CarlosAlcoser

Copy link
Copy Markdown

πŸ‘

@hamsharan

Copy link
Copy Markdown

πŸ‘ πŸ’―

@rvierich

Copy link
Copy Markdown

πŸ‘ 😒

@gabrielhauser

Copy link
Copy Markdown

Can someone explain this to me? I want to know.

@adume

adume commented Apr 21, 2016

Copy link
Copy Markdown

πŸ‘

@imtanmays

Copy link
Copy Markdown

well said πŸ‘πŸ‘πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment