Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Dual language

by eyepopslikeamosquito (Canon)
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.


Comment on Re: Dual language
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-08-22 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (146 votes), past polls