Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

polyglot (C, Pascal)

63 views
Skip to first unread message

Rugxulo

unread,
Sep 17, 2011, 10:55:46 PM9/17/11
to
Well, not a lot of traffic here these days, but I figured this was
better than nothing! Here's a simple polyglot program:

(*doy)();main(){ puts("Hello, C"); return 0; ??> /* *)
program polyglot(output); begin writeln('Hello, Pascal') end.
(* */
#define DOY *)
0 new messages