Adding blocks

Ovid publiustemp-tapx at yahoo.com
Tue Nov 27 14:51:51 EST 2007


--- Andy Armstrong <andy at hexten.net> wrote:
 
> Now we have to put folds in it.
> 
> It seems to me that we could either
> 
> 1) Add an extra attribute on each result that provides its context
> 
>     $result->number  ==> 7
>     $result->context ==> ( 3, 2 )
> 
>     The context is a path down the TAP hierarchy to this result - so 

> we might present the test
>     number as 3.2.7
> 
> 2) We build nested parsers for each nesting in the TAP. So we'd end
> up  
> with a hierarchy of
>     TAP::Parser objects.

I think the number and context are a better choice.  As people build
more sophisticated tools, they're going to want to have all information
like this available.  Click on a result in a GUI and see its place in
the hierarchy.

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/


More information about the tapx-dev mailing list