Slash Boxes
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 ]

masak (6289)

  (email not shown publicly)

Been programming Perl since 2001. Found Perl 6 somewhere around 2004, and fell in love. Now developing November (a Perl 6 wiki), Druid (a Perl 6 board game), pls (a Perl 6 project installer), GGE (a regex engine), and Yapsi (a Perl 6 implementation). Heavy user of and irregular committer to Rakudo.

Journal of masak (6289)

Monday June 28, 2010
04:27 PM

Weeks 4 and 5 of GSoC work on Buf -- chrono-flies

[ #40422 ]

Chrono-flies (Drosophila chronogaster, commonly known as "time-flies") are known for their fondness for arrows. Lately I've been distracted enough (by $DAYJOB, other Perl 6 projects, and other non-Perl 6 projects) to let two weeks pass by with only one commit in my local branch:

  • Buf is now Positional, and you can index it with postcircumfix:<[ ]>.

I merged/pushed that one a few moments ago.

For good measure (pronounced "only one commit! how'd that happen?"), I did some pre-investigation this evening as to how one might read binary data from a file into a Buf. cotto++ outlined how. Haven't finished thinking about this, but it does seem perfectly doable, which is a notch better than I feared. 哈哈

Also, worth noting here: remember how in Week 2, I changed the Buf constructor spec from slurpy array to non-slurpy array? Well, pmichaud wondered why, and it led to an interesting discussion. Will synch up with jnthn to see if it perhaps merits changing back for consistency with other list-y types.

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