When researching The Lighter Side of Perl Culture (Part III): Obfu, I found some
golden oldies: P(ython|erl) (suck|rule)s!, C is Perl,
Perl is C. Oh, and I made a feeble attempt in
TPR(0,0):
#include <stdio.h>
#include <stdlib.h>
#define strtol(a,b) strtol(a,0,b)
#define $ /*
use POSIX;$argv[1]=pop;"*/
main(int argc,char *argv[]) //";
{
printf("%ld\n",strtol($ argv[1],36));
}
Lyon's Jerome Quelin showcased
an octo-lingual (perl, c, c++, befunge, brainf**k, python, ook, html/javascript) program that computed the Fibonacci series in his YAPC::Europe 2003 talk.
Sorry, I don't have a link
(and I tried to find one), so if anyone knows of a link
to Jerome's amazing feat, please let me know.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.