[psoc-2008] GSoC 2008 Week 9 Report: S04 and S05 (Regexes and Rules)

Adrian Kreher ak10864 at gmail.com
Mon Jul 28 20:48:42 UTC 2008


This week, I finished up work on S04 and began working on S05, regexes and 
rules. I also added a handful of tests in S09 (data structures), which still 
has quite a few easy areas that I may revisit.

S05 is probably the most complicated synopsis that I've encountered so far. It 
requires a very large amount of testing. There are 3000+ tests written for 
regexes outside of spec, and I've been moving them into spec while verifying 
that they are still correct. In addition, there are also around a thousand 
Parser Grammar Engine tests in the Parrot repository. PGE implements Perl 6 
rules, so these tests can be easily reused. There is bound to be some 
overlap, but simplifying them can be done when verifying that they are up to 
date.

In reorganization news, I am continuing to move tests from t/ into t/spec, and 
we're right at 11000 tests that aren't in spec by my script that does a rough 
count. We have around 6000 tests in spec now by the same rough count.

One issue that I am encountering is organizing the tests. I'm trying to 
organize them by heading when possible and reference the spec and other tests 
files whenever possible.

I finished 78 tests this week. I didn't expect this week to be as productive, 
but somehow it worked out. Next week is more S05 testing, and there's a lot 
more there, especially in the reorganization area. Week after that is 
vacation, then I finish up the summer with S06 in the final week. 
-- 
Adrian Kreher


More information about the psoc-2008 mailing list