The distinction between Parrot and Perl6 seems really confusing. Is Parrot wasting a lot of effort trying to be a compiler for a host of languages? What benefit would there be to creating such a universal compiler? Would the development of Perl6 itself be faster if Parrot focused only on Perl6?
Parrot is not a compiler. It's a virtual machine. It's an assembly language and environment that compilers can target. Parrot has a few tools for writing compilers though. And I wouldn't say that it is wasted effort.
Perl 6 is a language that has nothing to do with Parrot except that the Rakudo implementation utilizes Parrot as it's back end. There are other Perl 6 implementations that utilize other back ends.
I think that if Parrot only catered to Perl 6, then it would make some things simpler for Rakudo, but many things more complex for other languages. Also, they'd give up one of their main selling points: sharing between languages.
MHO,
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|