Re: [OT] TDD + Pair Programming

2006-04-17 Thread Adrian Howard
Hi all, On 2 Apr 2006, at 01:04, Jeffrey Thalhammer wrote: I have never actually had an opportunity to practice this, but I've always felt that the most obvious way to combine test-driven development with pair programming was to have one person write test code while the other person writes appl

Re: [svn:perl6-synopsis] r8724 - doc/trunk/design/syn

2006-04-17 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > Author: autrijus > Date: Sun Apr 16 18:24:04 2006 > New Revision: 8724 > > Modified: >doc/trunk/design/syn/S06.pod >doc/trunk/design/syn/S09.pod > > Log: > * more typo cleanups promted by Dr. Ruud. I love tradition: s/mt/mpt ;) > -The unary prefix operator C<

Re: [perl #38931] [RFE] Double-quoted strings automatically determine string type

2006-04-17 Thread Leopold Toetsch
On Apr 17, 2006, at 0:02, Nicholas Clark wrote: I think Dan was thinking that internally everything should be fixed width, and for practical reasons pick the smallest of 8 bit, UCS-16 and UCS-32 internally. Convert variable width to fixed width (losslessly) the first time you need to do anyt

Re: Namespaces TODO list, April 16 '06

2006-04-17 Thread Leopold Toetsch
On Apr 17, 2006, at 8:02, chromatic wrote: What should the syntax for creating new objects be? That is, if I define an object with its methods in the namespace [ 'PAST'; 'Node' ], how do I create a new instance of that class? .local pmc node node = new ??? .namespace ['PAS

Re: Variable-length PMC - level of need

2006-04-17 Thread Leopold Toetsch
On Apr 17, 2006, at 1:34, Chip Salzenberg wrote: But: I see extensive use of PMC_(struct|pmc|int|num|str)_val() in *.pmc. Sure. There are just these 1 or 2 data items in the PMC and these are of course heavily used. But e.g. a ResizableArray would need 3 items: n_first_elem, n_elements,

Re: Non-Perl TAP implementations

2006-04-17 Thread Andy Lester
Test.Simple—JavaScript. It looks and acts just like tap, although in reality it's tracking test results in an object rather than scraping them from a print buffer. http://openjsan.org/doc/t/th/theory/Test/Simple/ Can you please give me a short couple of sentences on it for someone who h

Re: Non-Perl TAP implementations

2006-04-17 Thread Andy Lester
How non-Perl do you want? Does the Perl 6 version of Test.pm or Test::Builder/Test::More count? How about the Parrot versions? Sure, lemme have 'em. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Non-Perl TAP implementations

2006-04-17 Thread Geoffrey Young
Andy Lester wrote: > > I'm adding a section to Test::Harness::TAP on non-Perl TAP. > > http://svn.perl.org/modules/Test-Harness/trunk/lib/Test/Harness/TAP.pod > > If you know of one, please send me some text to add. all the big PHP players now produce TAP o phpt (outputs TAP by default as

[svn:parrot-pdd] r12286 - trunk/docs/pdds

2006-04-17 Thread particle
Author: particle Date: Mon Apr 17 06:40:33 2006 New Revision: 12286 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: [PDD21] remove redundant 'end' from PIR examples Modified: trunk/docs/pdds/pdd21_namespaces.pod =

Re: Namespaces TODO list, April 16 '06

2006-04-17 Thread Leopold Toetsch
chromatic wrote: What should the syntax for creating new objects be? That is, if I define an object with its methods in the namespace [ 'PAST'; 'Node' ], how do I create a new instance of that class? .local pmc node node = new ??? Thinking a bit more about it (and discussin

Namespaces TODO list, April 17 '06 addenda

2006-04-17 Thread Chip Salzenberg
TODOs, part 2 ("todenda"?): [[ NAMESPACE PMC ]] * The .name() method is being renamed to get_name() for consistency, and to allow for the possibility of set_name(). * The return value of .get_name(), the parameter to .get_namespace(), and the parameter to the get_namespace opcode should al

Re: Non-Perl TAP implementations

2006-04-17 Thread David Wheeler
On Apr 17, 2006, at 06:03, Andy Lester wrote: Can you please give me a short couple of sentences on it for someone who has no idea how/why you'd use TAP outside of Perl? It's a direct port of Test::Builder, ::Simple, and ::More, along with a harness for showing test results in a browser. Wh

Re: Namespaces TODO list, April 16 '06

2006-04-17 Thread Chip Salzenberg
On Mon, Apr 17, 2006 at 04:44:10PM +0200, Leopold Toetsch wrote: > Thinking a bit more about it (and discussing this issue with pmichaud) > on #parrot - it seems that we really want hierarchical class names too, > the more that a Perl6 class isa NameSpace too. > > That means: > > * newclass, su

[svn:parrot-pdd] r12289 - trunk/docs/pdds

2006-04-17 Thread chip
Author: chip Date: Mon Apr 17 08:35:24 2006 New Revision: 12289 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: Rename name() method to get_name() for consistency and to allow for eventual possibility of set_name(). Modified: trunk/docs/pdds/pdd21_namespaces.pod ==

[svn:perl6-synopsis] r8741 - doc/trunk/design/syn

2006-04-17 Thread autrijus
Author: autrijus Date: Mon Apr 17 08:52:55 2006 New Revision: 8741 Modified: doc/trunk/design/syn/S04.pod Log: * S04: Capture ~~ Signature can test for bindableness. Modified: doc/trunk/design/syn/S04.pod == --- doc/t

S05.pod

2006-04-17 Thread Sean Sieger
from There are no C or C modifiers (changes to the meta-characters replace them - see below). to There are no C or C modifiers (change to the meta-characters that replace them - see below).

[svn:parrot-pdd] r12290 - trunk/docs/pdds

2006-04-17 Thread coke
Author: coke Date: Mon Apr 17 08:44:43 2006 New Revision: 12290 Modified: trunk/docs/pdds/pdd21_namespaces.pod Log: fix docu typo Modified: trunk/docs/pdds/pdd21_namespaces.pod == --- trunk/docs/pdds/pdd21_namespace

Re: [svn:parrot] r12294 - trunk/languages/perl6/lib

2006-04-17 Thread Nicholas Clark
On Mon, Apr 17, 2006 at 10:15:40AM -0700, [EMAIL PROTECTED] wrote: > * grammar_rules.pge - support for POD sections. > > Modified: trunk/languages/perl6/lib/grammar_rules.pge > == > --- trunk/languages/perl6/lib/grammar_r

Re: S05.pod

2006-04-17 Thread Trey Harris
In a message dated Mon, 17 Apr 2006, Sean Sieger writes: from There are no C or C modifiers (changes to the meta-characters replace them - see below). to There are no C or C modifiers (change to the meta-characters that replace them - see below). I don't think so There are no meta-char

prove users: Please test P/PE/PETDANCE/Test-Harness-2.57_04.tar.gz

2006-04-17 Thread Andy Lester
I'm about to release T::H 2.58, but I have a pretty big difference in how globbing is done in prove, per Audrey. Please download and try it out on your box and make sure it's all good. Thanks! xoox, Andy Begin forwarded message: From: PAUSE <[EMAIL PROTECTED]> Date: April 17, 2006 1:53:40 P

Capture Object: why no verb?

2006-04-17 Thread Dave Whipp
Reading about capture objects, I see that they represent an arglist, and the the object to which you going to send those args. What is doesn't capture is the method name (the verb) that's being called. This feels like a slightly strange ommission. Compare: $message = &Shape::draw.prebind( x

Namespace bug?

2006-04-17 Thread Will Coleda
Not sure if this is a bug or a misunderstanding on my part wrt the current namespace situation. I expect this to print out the number 3.14. (This is a very pared down version of what Tcl in my sandbox is currently trying to do, going between 'Tcl' and '_Tcl'. $ cat foo.pir .HLL 'cromulent

Re: Namespace bug?

2006-04-17 Thread Leopold Toetsch
On Apr 17, 2006, at 23:33, Will Coleda wrote: Not sure if this is a bug or a misunderstanding on my part wrt the current namespace situation. I expect this to print out the number 3.14. (This is a very pared down version of what Tcl in my sandbox is currently trying to do, going between 'Tc

Re: Namespace bug?

2006-04-17 Thread Chip Salzenberg
On Mon, Apr 17, 2006 at 11:57:43PM +0200, Leopold Toetsch wrote: > The problem here is the ':anon' sub. It doesn't have a name, so it > isn't stored in any namespace. Now executing this sub doesn't set the > default namespace to 'eek' either. Therefore the symbol '$whee' ends up > in the default

Re: Namespace bug?

2006-04-17 Thread Leopold Toetsch
On Apr 18, 2006, at 0:09, Chip Salzenberg wrote: On Mon, Apr 17, 2006 at 11:57:43PM +0200, Leopold Toetsch wrote: The problem here is the ':anon' sub. It doesn't have a name, so it isn't stored in any namespace. Now executing this sub doesn't set the default namespace to 'eek' either. Therefor

Re: Namespace bug?

2006-04-17 Thread Chip Salzenberg
On Tue, Apr 18, 2006 at 01:15:45AM +0200, Leopold Toetsch wrote: > Yeah. Many thanks for the 'easy workaround.' > This is fixed now in r12310. Thanks. -- Chip Salzenberg <[EMAIL PROTECTED]>

Re: [perl #38931] [RFE] Double-quoted strings automatically determine string type

2006-04-17 Thread Larry Wall
On Mon, Apr 17, 2006 at 01:52:43PM +0200, Leopold Toetsch wrote: : : On Apr 17, 2006, at 0:02, Nicholas Clark wrote: : : >I think Dan was thinking that internally everything should be fixed : >width, : >and for practical reasons pick the smallest of 8 bit, UCS-16 and UCS-32 : >internally. Conver

Re: prove users: Please test P/PE/PETDANCE/Test-Harness-2.57_04.tar.gz

2006-04-17 Thread David H. Adler
On Mon, Apr 17, 2006 at 01:55:59PM -0500, Andy Lester wrote: > I'm about to release T::H 2.58, but I have a pretty big difference in > how globbing is done in prove, per Audrey. > > Please download and try it out on your box and make sure it's all good. Tests fine on OS X 10.4.6/perl 5.8.7 dha

Re: [svn:parrot] r12294 - trunk/languages/perl6/lib

2006-04-17 Thread Patrick R. Michaud
On Mon, Apr 17, 2006 at 07:25:27PM +0100, Nicholas Clark wrote: > On Mon, Apr 17, 2006 at 10:15:40AM -0700, [EMAIL PROTECTED] wrote: > > * grammar_rules.pge - support for POD sections. > > ## This rule handles whitespace and comments between tokens. > > -## XXX: Add pod directive handling > > >

Re: Non-Perl TAP implementations

2006-04-17 Thread Ovid
--- David Wheeler <[EMAIL PROTECTED]> wrote: > Test.Simple—JavaScript. It looks and acts just like tap, although in > reality it's tracking test results in an object rather than scraping > them from a print buffer. > >http://openjsan.org/doc/t/th/theory/Test/Simple/ Tracking the results in

Re: prove users: Please test P/PE/PETDANCE/Test-Harness-2.57_04.tar.gz

2006-04-17 Thread James E Keenan
Andy Lester wrote: I'm about to release T::H 2.58, but I have a pretty big difference in how globbing is done in prove, per Audrey. Please download and try it out on your box and make sure it's all good. One warning thrown, apparently in t/00compile.t. 37 tests skipped for "various reaso

Re: prove users: Please test P/PE/PETDANCE/Test-Harness-2.57_04.tar.gz

2006-04-17 Thread Andy Lester
On Apr 17, 2006, at 8:14 PM, James E Keenan wrote: Here is a portion of the output of 'prove -vb t/test-harness.t'. Is it what you would expect? The big thing that's a question is in globbing of files on the command line. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:pe

Re: Non-Perl TAP implementations

2006-04-17 Thread Tyler MacDonald
Ovid <[EMAIL PROTECTED]> wrote: > Tracking the results in an object is a better choice than scraping from > a print buffer. One of the frustrating issues with Perl's testing > tools is the limited flexibility we have due to reading the output from > STDOUT. I like that aspect about TAP...

Re: Non-Perl TAP implementations

2006-04-17 Thread chromatic
On Monday 17 April 2006 18:09, Ovid wrote: > Tracking the results in an object is a better choice than scraping from > a print buffer. One of the frustrating issues with Perl's testing > tools is the limited flexibility we have due to reading the output from > STDOUT. ... an object of which TAP-

Re: Non-Perl TAP implementations

2006-04-17 Thread Ovid
--- Andy Lester <[EMAIL PROTECTED]> wrote: > > Since it looks like we're going to stick with reading information > from > > a print buffer, we should at least publish an EBNF grammar for the > > output. > > Patches welcome! OK, I've a bunch of TPF stuff I'm wrapping up, but if I have some tuits

Re: Non-Perl TAP implementations

2006-04-17 Thread Andy Lester
Since it looks like we're going to stick with reading information from a print buffer, we should at least publish an EBNF grammar for the output. Patches welcome! (Interestingly, if we did that, we could potentially incorporate that into Test::Harness and allow folks to provide their own gram

Re: Non-Perl TAP implementations

2006-04-17 Thread Ovid
--- chromatic <[EMAIL PROTECTED]> wrote: > There are a lot of reasons why having separate testing and analysis > processes are very good and there are a lot of reasons why having > file-based communication is very, very good. OK, you raise some good points. Then by relying on the output and scra

Re: Non-Perl TAP implementations

2006-04-17 Thread chromatic
On Monday 17 April 2006 18:50, Ovid wrote: > The only problem I see with that is the occasional buffering errors I > see on my Mac where the STDERR and STDOUT don't line up. Agreed. Is it too late to send everything to STDOUT where it belongs? -- c

Re: Capture Object: why no verb?

2006-04-17 Thread Audrey Tang
Dave Whipp wrote: > Perhaps I'm not fully groking the abstraction of the capture-object, but > it seems to me that there should be a slot in it for the method. For > dispatch, all three things are needed (invocant, method, args); so if > you're going to put two of them in one object, then maybe the

[svn:perl6-synopsis] r8765 - doc/trunk/design/syn

2006-04-17 Thread autrijus
Author: autrijus Date: Mon Apr 17 20:39:37 2006 New Revision: 8765 Modified: doc/trunk/design/syn/S06.pod Log: * S06: Clarified "multidimensional Capture" part by stating that only the positional/named parts gets into *@;x, and the invocant is exempt from it. This allows for method call

Re: Non-Perl TAP implementations

2006-04-17 Thread A. Pagaltzis
* Ovid <[EMAIL PROTECTED]> [2006-04-18 03:15]: > Tracking the results in an object is a better choice than > scraping from a print buffer. If that were universally true, we wouldn’t have plaintext network protocols, would we? And I think making TAP a protocol instead of an API was the right choice