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 ]

masak (6289)

masak
  (email not shown publicly)
http://masak.org/carl

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)

Sunday June 13, 2010
05:59 PM

Week 3 of GSoC work on Buf -- talk like a Parrot day

[ #40392 ]

Remember that long-term solution for conversions between strings and arrays of bytes that I mentioned last week that the Parrot people were discussing?

No? Well, anyway, NotFound++ wrote one, and he suggested I try it for my Str⇄Buf conversions. It worked!

I thought I would get more than that done this week, but I didn't. Oh well. For next week, there are still a few low-hanging branches of fruit to persue.

  • I want to add postfix:<[ ]> indexing to the Buf class, so it feels a bit more Positional.
  • There's a lot of bounds-checking that needs to be made, both in the constructor and in decoding.
  • I have UTF-8 down pat; need to find a way to convince Parrot to do other encodings, such as ISO-8859-1.
  • There's one test that talks about NFD. Haven't even started looking at that yet.

It's interesting to see where all the effort goes. I've spent most of my time so far on the Str.encode and Buf.decode methods, and almost everything else is trivial in comparison. Feels like some sort of 90%-10% rule at work.

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.