in reply to Re: Announce: Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6
in thread Announce: Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Announce: Rakudo Star - a useful, usable, "early adopter" distribution of Perl 6
by Anonymous Monk on Aug 04, 2010 at 18:54 UTC | |
by moritz (Cardinal) on Aug 05, 2010 at 06:31 UTC |