Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add first ideas for Rosetta Code community page; will need discussion…
… and expansion before being linked into rest of site.
  • Loading branch information
Geoffrey Broadwell committed Mar 25, 2012
1 parent 2a5ea1e commit f4744f1
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions source/community/rosetta_code.html
@@ -0,0 +1,77 @@
[% setvar title Perl 6 on Rosetta Code %]

[% menu nav community %]

<div id="subpage-header">
[% include camelia %]

<h2>[% readvar title %]</h2>
<p>
<a href="http://rosettacode.org/wiki/Rosetta_Code">Rosetta Code</a>
is a community site that presents solutions to programming tasks in
many different languages. It is an excellent place to see how various
languages approach the same task, as well as to get a feel for the
style and fluent use of each language across a variety of domains.
</p>

<p>
Perl&nbsp;6 is well represented on Rosetta Code (though we always
welcome new submissions!); there are several hundred Perl&nbsp;6
solutions as of early 2012. Here are a few ways to find what you're
looking for:
</p>
</div>

<div id="col1">
<h3>By Task Name</h3>

<p>
Rosetta Code itself keeps an up-to-date alphabetical list of tasks
already solved in Perl&nbsp;6; you can find this in the lower section
of the Rosetta Code
<a href="http://rosettacode.org/wiki/Perl_6">Perl&nbsp;6 category page</a>.
</p>

<h3>By Category</h3>

<p>
Rosetta Code's category collection is weighted towards language names,
tasks whose solutions where too long and had to be split onto multiple
pages, and so on. To make it easier to find the tasks you're interested
in, here is a shorter category list, with links directly to the Perl&nbsp;6
solutions:
</p>

<dl id="by_category">
<dt>Cellular Automata</dt>
<dd>
<ul id="cellular_automata">
<li><a href="http://rosettacode.org/wiki/Conway%27s_Game_of_Life#Perl_6">Conway's Game of Life</a></li>
<li><a href="http://rosettacode.org/wiki/Forest_fire#Perl_6">Forest Fire</a></li>
<li><a href="http://rosettacode.org/wiki/Langton%27s_ant#Perl_6">Langton's Ant</a></li>
<li><a href="http://rosettacode.org/wiki/One-dimensional_cellular_automata#Perl_6">One-Dimensional Cellular Automata</a></li>
<li><a href="http://rosettacode.org/wiki/Wireworld#Perl_6">Wireworld</a>
</ul>
</dd>
</dl>
</div>

<div id="col2">
<h3>Community Favorites</h3>

<p>
These tasks and solutions were nominated by members of the
Perl&nbsp;6 community as our favorites -- perhaps because the task
fits our collective whimsy, or because the solution struck us as
particularly beautiful. Here then, in no particular order, are the
entries that -Ofun for us:
</p>

<dl id="favorites">
<dt><a href="http://rosettacode.org/wiki/Forest_fire#Perl_6">Forest Fire</a></dt>
<dd>
A 2D cellular automaton simulating fires and forest growth, with 木
trees and a touch of color for the fires.
</dd>
</dl>
</div>

0 comments on commit f4744f1

Please sign in to comment.