Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Dual language

by eyepopslikeamosquito (Archbishop)
on Sep 22, 2012 at 21:05 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://995131]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found