Re: Test comments

2005-02-14 Thread Michael G Schwern
On Mon, Feb 14, 2005 at 09:17:54PM -0800, Ovid wrote: > --- chromatic <[EMAIL PROTECTED]> wrote: > > Can you tell I'm wearing my editor's hat? > > Awfully big hat :) Goes with the pants.

Re: Test comments

2005-02-14 Thread Ovid
--- chromatic <[EMAIL PROTECTED]> wrote: > Can you tell I'm wearing my editor's hat? Awfully big hat :) = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test comments

2005-02-14 Thread chromatic
On Mon, 2005-02-14 at 23:04 -0600, Andy Lester wrote: > Darn you and your clear thinking. Truly clear thinking would have realized that Description, Directive, Diagnostics is a very nice mnemonic. (It's doubly nice because "diagnostics" appears in the plural form so much more often than the sing

Re: Test comments

2005-02-14 Thread David Wheeler
On Feb 14, 2005, at 9:01 PM, chromatic wrote: Here's my list of suggestions for each: 1) label, description 2) directive, instruction 3) diagnostic I want to avoid the word "comment" altogether, making the optionalness of #1 and #3 evident in their words, the activeness of #2 evident in its word,

Re: Test comments

2005-02-14 Thread Andy Lester
I want to avoid the word "comment" altogether, making the optionalness of #1 and #3 evident in their words, the activeness of #2 evident in its word, and any comparison to Perl's comments in syntax or name go away. Darn you and your clear thinking. xoa -- Andy Lester => [EMAIL PROTECTED] => www.pe

Re: Test comments

2005-02-14 Thread chromatic
On Mon, 2005-02-14 at 14:38 -0600, Andy Lester wrote: > Anything that starts with # is ignored by the harness. That's very > different from the test comment. Yet Test::Harness::TAP calls them comments and comment lines! Put on my boots for a second. Here's what I'm trying to explain:

Re: Sets vs Junctions

2005-02-14 Thread Damian Conway
Jonathan Lang wrote: Maybe "set" should be an operator akin to "any", "all", "one", and "none", at least in terms of "&" and "|". That is, if junctions are special cases of sets, why not allow for the creation of generic sets in much the same way? Then you could have: # $A and $B are sets, unio

Re: proposal: use \ as none junction delimeter

2005-02-14 Thread Luke Palmer
Thomas Sandlaà writes: > HaloO Luke, > > you wrote: > >if $a \ $b == 3 {...} > > *If A nor B is 3 ... > > What does the * in front of the if mean? Not? "Ungrammatical" > With "grammar reason" I meant the formal grammar of Perl6 not the one > of natural english. Are you aware of such rea

Re: Test comments

2005-02-14 Thread Andy Lester
On Mon, Feb 14, 2005 at 03:32:35PM -0500, Michael G Schwern ([EMAIL PROTECTED]) wrote: > > But it makes explaining the TAP format a pain. The "test comment" is > > everything after the test number or "ok" and before the # comment > > marker or end of the line. Anything that starts with # is ign

Re: Test comments

2005-02-14 Thread Nicholas Clark
On Mon, Feb 14, 2005 at 10:04:44AM -0800, Ovid wrote: > Is this not correct? Where is the TAP protocol documented? http://search.cpan.org/~petdance/Test-Harness-2.46/lib/Test/Harness/TAP.pod (Any Test-Harness distribution 2.46 or later, IIRC) Nicholas Clark

Re: Test comments

2005-02-14 Thread Michael G Schwern
On Mon, Feb 14, 2005 at 09:48:39AM -0800, Ovid wrote: > It makes good enough sense when you're dealing with the call to the > test: > >ok($blah, "This is a test comment"); > > But it makes explaining the TAP format a pain. The "test comment" is > everything after the test number or "ok" and

Re: proposal: use \ as none junction delimeter

2005-02-14 Thread Thomas SandlaÃ
HaloO Luke, you wrote: if $a \ $b == 3 {...} *If A nor B is 3 ... What does the * in front of the if mean? Not? With "grammar reason" I meant the formal grammar of Perl6 not the one of natural english. Are you aware of such reasons? In English it's more like: if \ $a \ $b == 3 {

Re: Test comments

2005-02-14 Thread Peter Masiar
Quoting chromatic <[EMAIL PROTECTED]>: > On Mon, 2005-02-14 at 11:49 -0600, Andy Lester wrote: > > > It's a comment. > > *What* is a comment? Is it the semantically insignificant text that can > contain skip or TODO or the semantically significant text with a > preceding # somewhere? > They're se

Re: The Schizophrenic Parrot

2005-02-14 Thread Ron Blaschke
Leopold Toetsch wrote: > Ron Blaschke <[EMAIL PROTECTED]> wrote: >> Now things boil down to creating the .sym files. These might be >> created by grepping the source for C, C, etc, or >> by whatever script created the compilation unit(s). > Not everything that starts with Parrot_ is an API (e.g.

Re: proposal: use \ as none junction delimeter

2005-02-14 Thread Luke Palmer
Thomas Sandlaà writes: > Luke Palmer wrote: > >That's quite nice, but I've been kind of wanting to go the other way. > >You know, not every operation in Perl 6 needs to have a punctuation > >operator. > > > >I think we should not use \, and also get rid of ^. I'm interested in > >seeing an examp

Pugs 6.0.5 released.

2005-02-14 Thread Autrijus Tang
I'm happy to announce the release of Pugs 6.0.5, now with a better grammar spec merged from Perl6.grammar, as well as a much better Eval monad structure that supports lexical and dynamic scopes, shift/reset, callcc, and pluggable evaluator. It should be on CPAN as Perl6::Pugs in a few hours. I'd

Re: string_init and ICU data directory

2005-02-14 Thread Ron Blaschke
Monday, February 14, 2005, 12:07:51 PM, Leopold Toetsch wrote: > Ron Blaschke <[EMAIL PROTECTED]> wrote: >> I'd like to clean up string_init, because it currently backfires >> (segfaults) on Windows if parrot is installed (empty >> DEFAULT_ICU_DATA_DIR ...). > Why is DEFAULT_ICU_DATA_DIR empty? Wh

Re: Test comments

2005-02-14 Thread Ovid
--- Andy Lester <[EMAIL PROTECTED]> wrote: > On Mon, Feb 14, 2005 at 09:48:39AM -0800, Ovid > ([EMAIL PROTECTED]) wrote: > > It's actually rather important that I have an answer for this, but > I > > really can't go into more detail (sorry). > > It's a comment. There's more than one thing being d

Re: Test comments

2005-02-14 Thread chromatic
On Mon, 2005-02-14 at 11:49 -0600, Andy Lester wrote: > It's a comment. *What* is a comment? Is it the semantically insignificant text that can contain skip or TODO or the semantically significant text with a preceding # somewhere? Is it both? I find that full of explanatory confusion potentia

Re: Test comments

2005-02-14 Thread Andy Lester
On Mon, Feb 14, 2005 at 09:48:39AM -0800, Ovid ([EMAIL PROTECTED]) wrote: > It's actually rather important that I have an answer for this, but I > really can't go into more detail (sorry). It's a comment. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Test comments

2005-02-14 Thread Ovid
What follows are the notes I have from someone else regarding the name "comment" for what was previously considered the "label." It's actually rather important that I have an answer for this, but I really can't go into more detail (sorry). Cheers, Ovid > It's been settled. It's officially a "te

Re: proposal: use \ as none junction delimeter

2005-02-14 Thread Thomas SandlaÃ
Luke Palmer wrote: That's quite nice, but I've been kind of wanting to go the other way. You know, not every operation in Perl 6 needs to have a punctuation operator. I think we should not use \, and also get rid of ^. I'm interested in seeing an example where using ^ is readable enough over on

Re: Pick's randomness (was Re: Fun with junctions (was Sets vs Junctions))

2005-02-14 Thread David Wheeler
On Feb 13, 2005, at 3:54 PM, David Storrs wrote: Ok, so it requires actually overriding the rand function and providing your own implementation. I was hoping for something a bit more automagical (probably involving a property or role, since they seem to be the answer to everything these days), but

Re: Release 0.1.2 ?

2005-02-14 Thread Leopold Toetsch
Will Coleda wrote: ..., I can now think about integrating Dan's string branch into main. I should be able to get this done over the weekend. How does it look like? leo

Re: [perl #32989] Problem in linux ppc

2005-02-14 Thread Leopold Toetsch
Sgala @ Apache . Org <[EMAIL PROTECTED]> wrote: > --- > osname= linux > osvers= 2.6.9-gentoo-r9 > arch= powerpc-linux-thread-multi > trying to compile parrot (cvs) in a linux ppc machine I get the > following error. It looks like the configure process gets confused and > does not compile the pp

Re: Testing What Was Printed

2005-02-14 Thread James E Keenan
David H. Adler wrote: A question: is there any reason that you made this an OO module but still show calls to the methods as functions rather than methods on the object? I.e. why C rather than C<$capture->verify_number_lines> ? This would also remove the need to explicitly export those functions. J

Re: Pick's randomness (was Re: Fun with junctions (was Sets vs Junctions))

2005-02-14 Thread David Storrs
On Mon, Feb 14, 2005 at 10:43:21AM +1100, Damian Conway wrote: > David Storrs OOC'd: > > >OOC, will there be a way to control where C gets its randomness > >from? (e.g. perl's builtin PRNG, /dev/random, egd, etc) > > Sure: > > # Use RBR (Really Bad Randomness) algorithm... > temp *rand

Re: Fun with junctions (was Sets vs Junctions)

2005-02-14 Thread Michele Dondi
On Sat, 12 Feb 2005, Damian Conway wrote: @xyz = uniq @xyz; or better still: @xyz.=uniq; Speaking of which, while I think that methods on the implicit topicalizer and the C<.=> assignement operator are indeed cool, I wonder if any provision will be made for a convenient stand in for "wh

Re: string_init and ICU data directory

2005-02-14 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > I'd like to clean up string_init, because it currently backfires > (segfaults) on Windows if parrot is installed (empty > DEFAULT_ICU_DATA_DIR ...). Why is DEFAULT_ICU_DATA_DIR empty? Where is icu actually and which config variable is pointing at it? Is t

Re: The Schizophrenic Parrot

2005-02-14 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > Now things boil down to creating the .sym files. These might be > created by grepping the source for C, C, etc, or > by whatever script created the compilation unit(s). Not everything that starts with Parrot_ is an API (e.g. opcode functions). I think an

Re: [perl #34039] Build failure on freebsd 4.9-RELEASE (mpz_*)

2005-02-14 Thread Leopold Toetsch
Adriano Ferreira <[EMAIL PROTECTED]> wrote: > The attached patch does only the later. In config/auto/gmp/gmp.in the > problematic function is used and its answer reaches STDOUT too. Then > config/auto/gmp.pl tests for the extended expected output. Thanks, applied. leo

Re: [perl #34121] [NEW] imc http server

2005-02-14 Thread Leopold Toetsch
Markus Amslser <[EMAIL PROTECTED]> wrote: Applied 34117, 34120, 34121, 34126 in a bunch. > Now it's getting funny. I have written a tiny webserver in imc, that can > serve the parrot html documentation. Great, thanks. Some remarks: - served line endings should by "\r\n": lynx doesn't work with "