Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Dual language

by eyepopslikeamosquito (Chancellor)
on Sep 22, 2012 at 21:05 UTC ( #995131=note: print w/replies, xml ) Need Help??


in reply to Dual language

From Perl Monks circa 2001: BooK's C is Perl response to Ovid's Perl is C.

Jerome Quelin show-cased an octo-lingual! (perl, c, c++, befunge, brainf**k, python, ook, html/javascript) program that computed the Fibonacci series in a YAPC::Europe 2003 talk. (If anyone has a copy of this program, please let us know).

The above info was got from the "Multi-Lingual" section of The Lighter Side of Perl Culture (Part III): Obfu.

Replies are listed 'Best First'.
Re^2: Dual language
by smeezekitty (Novice) on Sep 22, 2012 at 21:19 UTC
    Wow that is impressive. I discovered the first example also compiles as C++ and the second example also does if I change void to int. I guess that would make it tri-lingual? Would love to see an 8 language code though. BTW I actually created these without seeing the other C/Perl codes. I didn't even know about them. Also in http://www.perlmonks.org/?node_id=133308. I don't understand why use  #ifdef _FSTDIO where a simple #if 1 would also do the same.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995131]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-12-08 16:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.