poem
audreyt
From <a href="http://svn.openfoundry.org/pugs/src/Main.hs">Main.hs</a> in Pugs:
<blockquote>
A ship then new they built for him<br>
Of mithril and of elven-glass<br>
With shining prow; no shaven oar<br>
Nor sail she bore on silver mast;<br>
The Silmaril as lantern light<br>
And banner bright with living flame<br>
To gleam thereon by Elbereth<br>
Herself was set, who thither came...<br>
</blockquote>
<code>
use v6;
for $*Larry {
our Ship $pugs .= new(:of<mithril elven-glass>);
given $pugs {
$.prow does Shine;
Silver $.mast but none(Oar::Shaven, Sail);
Light $.lantern := $*Silmaril;
Bright $.banner := Flame.bless:{};
when $*Elbereth.gleam {
.sail(...);
}
}
}
</code>
<p>
Further updates of this will be available in the Pugs tree as <a href="http://svn.openfoundry.org/pugs/examples/poetry/pugs_main.p6">examples/poetry/pugs_main.p6</a>.