<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title><![CDATA[Perl 6: STD.pm]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?std_pm</link>
<description></description>
<pubDate>Sun, 26 Sep 2010 12:23:02 -0000</pubDate>
<webMaster>synedra@gmail.com</webMaster>
<generator>Socialtext Workspace v2.14.7.2</generator>

<item>
<title><![CDATA[STD.pm]]></title>
<link>http://www.perlfoundation.org/perl6/index.cgi?std_pm</link>
<description><![CDATA[<div class="wiki">
<p>
is the Standard Perl 6 grammar and more or less part of the <a href="http://www.perlfoundation.org/perl6/index.cgi?specification" title="(39 months) Unless Perl 5, where the interpreter IS the de-facto specification, Perl 6 has the advantage of clea...">specs<!-- wiki-renamed-link Specification --></a>. Its a program, written in a subset of Perl 6 and by <a href="http://www.perlfoundation.org/perl6/index.cgi?larry_wall" title="(39 months) aka TimToady Inventor of Perl http perl.org , patch, rn and some other very useful stuff. He receive...">Larry Wall</a>, that defines how Perl 6 should be parsed. It uses the parser engine <a target="_blank" title="(external link)" href="http://svn.pugscode.org/pugs/src/perl6/Cursor.pmc">Cursor<!-- wiki-renamed-hyperlink "Cursor"<http://svn.pugscode.org/pugs/src/perl6/Cursor.pmc> --></a>.</p>
<p>
Unfortunately no implementation can fully parse STD.pm yet, let alone build a compiler or interpreter based on it. However, by means of the &quot;viv&quot; tool described next, Perl 6 source code can be parsed by a near equivalent running in Perl 5.</p>
<p>
Anyone can try <a href="http://www.perlfoundation.org/perl6/index.cgi?std_pm" title="(32 months) is the Standard Perl 6 grammar and more or less part of the specs [Specification]. Its a program, wr...">STD.pm</a> online. Join the #perl6 channel on irc.freenode.net, then address your command to the std: nick. For example:</p>
<blockquote>
std: say &quot;hello&quot;;</blockquote>
<br /><p>
The output is either an awesome error message, or the status 'ok' followed by the amount of time and megabytes of memory that 'viv' took to parse the source. The actual work is done by the 'tryfile' script, also in the src/perl6 directory of the pugs repository.</p>
<ul>
<li><a target="_blank" title="(external link)" href="http://github.com/perl6/std/blob/master/STD_P5.pm6">read STD.pm<!-- wiki-renamed-hyperlink "read STD.pm"<http://github.com/perl6/std/blob/master/STD_P5.pm6> --></a></li>
</ul>
</div>
]]></description>
<author>Tore H</author>
<guid isPermaLink="true">http://www.perlfoundation.org/perl6/index.cgi?std_pm</guid>
<pubDate>Sun, 26 Sep 2010 12:23:02 -0000</pubDate>
</item>

</channel>
</rss>