Like Perl Wasn't Obtuse Enough...

Dec 9

Like Perl Wasn't Obtuse Enough...

In case you find Perl programs too easy to follow, Damian Conway has come up with a way for you to write Perl in Latin

This paper describes a Perl module — Lingua::Romana::Perligata — that makes it possible to write Perl programs in Latin. A plausible rationale for wanting to do such a thing is provided, along with a comprehensive overview of the syntax and semantics of Latinized Perl. The paper also explains the special source filtering and parsing techniques required to efficiently interpret a programming language in which the syntax is (largely) non-positional.

I know you want a code snippet:

    meo varo haec da.         # my $var = @_;
    meis varo haec da.        # my ($var) = @_
    meis varis haec da.       # my @var = @_;

(Thanks for the link, Noel.)


Comments

dz dz
by dz,   December 9, 2004 3:11 PM  

That is the most horrible thing I've ever heard of.

I wonder if Jim knows Latin?


blkstrat blkstrat
by blkstrat,   December 9, 2004 3:19 PM  

I believe Damian wrote this to demonstrate some basics of syntax and computer languages. If you ever have the chance to hear him speak, his talk on this often morphs into programming in Klingon. Then the screen turns red and the sound crew has to deal with Damian's throat-rending readings of the code.

A beautiful and yet scary performance that I would highly recommend. In fact, any time you have a chance to hear Damian speak it's worth your time.


Joe Joe
by Joe,   December 9, 2004 5:16 PM  

Programming in Klingon? Behold, the true pinnacle of geekdom!


Josh Josh
by Josh,   December 9, 2004 7:58 PM  

That is one of the more interesting things I've seen in a while.

As close as you're going to come to programming in a "natural" language anytime soon.


Jonathan M. Hollin Jonathan M. Hollin
by Jonathan M. Hollin,   December 10, 2004 6:25 AM  

It seems strange to see the words "Perl" and "obtuse" in the same sentence. ;-)



Add Comment