Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

The Doom of the Noldor

by Erudil (Prior)
on Jun 13, 2000 at 16:21 UTC ( [id://17878]=poem: print w/replies, xml ) Need Help??

#!/usr/bin/perl # # The Doom of the Noldor / The Prophecy of the North # J. R. R. Tolkien - Quenta Silmarillion # # Tears unnumbered ye shall shed; # and the Valar will fence Valinor against you, # and shut you out, # so that not even the echo of your lamentation # shall pass over the mountains. # # On the House of Feanor the wrath of the Valar lieth # from the West unto the uttermost East, # and upon all that will follow them # it shall be laid also. # $_= 'The Doom of the Noldor' or 'The Prophecy of the North'; while( /Doom/ ) { shed("tears "); do { $Valar{'fence_of_Valinor'}++ and $shut_out; } until not( $echo_of_lamentation > $mountains ); for( $West..$uttermost_East ) { map{$_ = $Valar{'wrath'}} (@House_of_Feanor, @followers); } } sub shed{print shift}

Replies are listed 'Best First'.
RE: The Doom of the Noldor
by Bourgeois_Rage (Beadle) on Jun 14, 2000 at 18:56 UTC
    I can't try this one on this computer, but I'll be sure to give it a whirl later. I just thought I'd tip a hat to a fellow Tolkien lover!
Re: The Doom of the Noldor
by Scott7477 (Chaplain) on Aug 05, 2006 at 03:42 UTC
    Very nice++! Great way to demonstrate the concept of computer code as a "language". Put another way, you've translated from English to Perl.
Re: The Doom of the Noldor
by amargaritos (Initiate) on Nov 16, 2007 at 15:21 UTC
    thanks for an excellent translation, Erudil. At first I thought the "until not" construction was the wrong logic, but looking again, you got it exactly, evocatively right, of course. Terribly sad in any language. So when do we get the whole tale of the ring translated? But looking at this, maybe poetry is more suited to programming than prose, and prophecy (predictive algorithms?) more than narrative?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://17878]
Approved by root
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-23 10:21 GMT
Find Nodes?
    Voting Booth?

    No recent polls found