Go Back   Rhinocerus > Newsgroup > Newsgroup comp.lang.* 2 > Newsgroup comp.lang.oberon

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-18-2011, 03:03 AM
Rugxulo
Guest
 
Posts: n/a
Default polyglot (C, Oberon)

Similar to my just-posted (ISO) Pascal version, here's a polyglot for
Oberon:

(*doy)();main(){ puts("Hello, C"); return 0; } /* *)
MODULE polyglot; IMPORT Out; BEGIN Out.String("Hello, Oberon");
Out.Ln END polyglot.
(* */
#define DOY *)
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 07:49 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.