Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ChrisDolan (2855)

ChrisDolan
  (email not shown publicly)
http://www.chrisdolan.net/

Journal of ChrisDolan (2855)

Thursday February 12, 2009
11:04 PM

Rakudo improves!

[ #38469 ]

I haven't really been working on features for my Perl 6 PDF grammar very much, but I have been using it as a tool to follow improvements in the Rakudo implementation of Perl 6.

This week, I went through all of the PDF code and looked for comments I wrote for myself about workarounds for incomplete parts of Rakudo. The exciting news is that I was able to remove about half of my workarounds this week. Considering that most of the rest of the annoyances are features that are on the near-term roadmap (mainly, PGE refactoring), I consider this to be superb progress.

Bravo, Perl 6 developers!

I made a contribution of my own, too, which has made me absurdly happy out of proportion to the size of the patch. I implemented 'make' from S05. This builtin function is shorthand for the following:

# Equivalent code:
  $/.result_object($value);
  make $value;

This, along with other simplifications allowed me to shave about half of the lines of PDF::Grammar::Actions while improving readability. Yay!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.