Skip to content

Instantly share code, notes, and snippets.

@L3n41c
Created April 22, 2012 18:15
Show Gist options
  • Save L3n41c/2465884 to your computer and use it in GitHub Desktop.
Save L3n41c/2465884 to your computer and use it in GitHub Desktop.
Polyglot
// #|
#/*
"""
#*/
#include <stdio.h>
#define print puts
int quote,(*princ)(const char *) //|#
// (set-macro-character #\+ #'(lambda (s c) (read s t nil t)))
;int main() { " """; princ=print; quote='\0';
(princ (quote + "Hello World")); """ ";}//"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment