On Mar 8, 2005, at 2:49 PM, Darren Duncan wrote:

At 9:54 AM -0500 3/8/05, Stevan Little wrote:
On Mar 8, 2005, at 2:56 AM, Darren Duncan wrote:
I have just committed the first Perl 6 port of Locale::KeyedText within the Pugs distro, as was the recommended course of action in contrast to releasing to CPAN. This is the very first normal and non-core CPAN module to be translated to Perl 6, afaik.

Actually the Test module was the first official Pugs module. Although it is not a complete re-write of Test::More/Test::Builder/etc. it is based heavily on them.

I didn't say that per se. I said "non-core". As far as I know, Test.pm is a core module.

I read your mail too quickly, I thought you said first module translated, so your are correct. (it was early and I hadn't had enough coffee yet :)



P.S. The test suite for the Perl 5 version was not translated; this will be done later around when Pugs supports the necessary features to execute it.

Actually, I think it might be very useful for you to start porting the test suite now rather than later (assuming you have the time that is). Pugs development is very much test driven and having a module with a complete test suite (especially one ported from perl5) I think would be a good thing.
- Steve

Okay, I can do that. The reason for the delay is that I wanted to be a little confident in my knowledge of what constitutes correct Perl 6, since I can't use the compiler to double check. The test suite is very monotonous and self-similar (and the Perl 5 test count is 102) and I prefer to get a few examples correct and then duplicate that, rather than duplicate a bunch of incorrect ones.

Well, I think that there will always be little tweaks to make here and there since perl6 is not completely speced yet. If you do not want to convert the entire suite, then maybe just add in a few examples so that we can see something working when the appropriate features are implemented.


- Steve


My first goal is to get feedback on what parts of the LKT module itself are incorrect Perl 6 and fix those, so I don't duplicate errors.


I should do the test suite by this Friday.

-- Darren Duncan




Reply via email to