Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I expect most of the Perl 5 code reuse to happen by loading Perl 5 modules in Perl 6, not by using (semi)automatic translation.

A prototype for that already exists (search for blizkost), and it works for some frequently-used modules already (CGI.pm, Tk).

Parsing Perl 5 is fragile, and only works if you neglect certain things (like function prototypes). If you do that, you'll arrive add PPI (p5 code) or STD_P5 (p6 code).

Another thing to try is the MAD emitter that Larry hacked into perl5 core before the 5.10.0 release, which uses perl to parse Perl 5 code, and emits an XML-like description of the parse tree.

Perl 6 - links to (nearly) everything that is Perl 6.

In reply to Re^2: Announce: Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6 by moritz
in thread Announce: Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6 by moritz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (11)
    As of 2014-10-02 14:46 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      What is your favourite meta-syntactic variable name?














      Results (62 votes), past polls