[Pugs] Writing tests that run pugs ($^X or equivalent would seem handy)

2005-03-22 Thread Andrew Savige
Unless I hear any objections, I plan to add: t/examples/golf.t to automate running of tsanta.p6, so as to verify both my original and rg0now's Santa golf solutions. I notice there is an existing (unfinished?) t/examples/examples.t. I could add my new tests there, it's just that I personally prefe

Re: [perl #34483] [PATCH] Doc : Build with MinGW

2005-03-22 Thread Matt Diephouse
via RT François PERRAD <[EMAIL PROTECTED]> wrote: > # New Ticket Created by François PERRAD > # Please include the string: [perl #34483] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/rt3/Ticket/Display.html?id=34483 > > > Following patch on mswin

Perl 6 Summary for 2005-03-07 through 2005-03-22

2005-03-22 Thread Matt Fowles
Perl 6 Summary for 2005-03-07 through 2005-03-22 All~ Welcome to yet another fortnights summary. I believe this is the highest volume I have ever seen the three lists at simultaneously. Hopefully they will keep it up, because good work is being done. To aid in the epic endeavou

make test failures

2005-03-22 Thread William Coleda
ghc of 6.2 on OS X 10.3 with pugs svn-latest. Failed Test Stat Wstat Total Fail Failed List of Failed --- t/builtins/goto.t1 256?? ?? % ?? t/builtins/grep.t

[perl #34548] [TODO] Replace classes/pmc2c.pl with classes/pmc2c2.pl

2005-03-22 Thread Bernhard Schmalhofer via RT
> [mdiep - Di 22. MÃr 2005, 14:35:02]: > > pmc2c2.pl is the new pmc2c.pl. Both currently exist in Parrot CVS. > Either pmc2c.pl should be deleted or pmc2c2.pl should be renamed to > pmc2c.pl. A better location might be 'build_tools/pmc2c.pl*, as the script is also used in 'dynclasses/build.pl'.

Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Michael G Schwern
On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote: > PS "O'Reilly will have a small book soon" ? Oh yeah, that's the developer's testing notebook Ian Langworth and chromatic are working on.

[perl #34548] [TODO] Replace classes/pmc2c.pl with classes/pmc2c2.pl

2005-03-22 Thread via RT
# New Ticket Created by Matt Diephouse # Please include the string: [perl #34548] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34548 > pmc2c2.pl is the new pmc2c.pl. Both currently exist in Parrot CVS. Either pmc2c.pl s

Pugs Bugs

2005-03-22 Thread Stevan Little
Hello all, I found another bug, this one to do with single quoted stings. Basically, pugs does not seem to correctly parse the single quoted string 'test\' See t/pugsbugs/string_escaping.t for a test. - Stevan

Re: pugscc --runparrot -e "'Hello, Parrot'.say"

2005-03-22 Thread Aaron Sherman
On Tue, 2005-03-22 at 15:43, Autrijus Tang wrote: > (Cc'ing this post to p6i and p6l, as this is likely to concern folks > from all three mailing lists.) I'm restricting the distribution back down so that I'm not creating a followup wave. > As of Pugs revision 1024, this works: > > % pugscc

pugscc --runparrot -e "'Hello, Parrot'.say"

2005-03-22 Thread Autrijus Tang
(Cc'ing this post to p6i and p6l, as this is likely to concern folks from all three mailing lists.) As of Pugs revision 1024, this works: % pugscc --runparrot -e "'Hello, Parrot'.say" And yes, it does what you think it does. Pugs takes that Perl 6 source code, produce an AST, triggers the Co

Re: Fearless leadership...

2005-03-22 Thread Chip Salzenberg
According to Chip Salzenberg: > Therefore, in the spirit of the Hindmost: If you're out ahead of me, > who are you and what are you doing? It's been suggested to me on IRC that my previous message was a bit opaque. Let me try again: What design issues are crying for attention right now? I know

Fearless leadership...

2005-03-22 Thread Chip Salzenberg
It seems to me that the most productive things to worry about, from a design point of view, are the things that interest the hubristic and/or impatient people. Therefore, in the spirit of the Hindmost: If you're out ahead of me, who are you and what are you doing? -- Chip Salzenberg-

Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Michael G Schwern
On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote: > I can't believe you didn't stick a reference to the perl-qa list there > :-) The audience was not Perl programmers. Primarily Haskell and Java. A few people expressed interest in Perl afterwards but mostly in the form of "so why d

Re: Talk: Why You Really Want To Write Tests

2005-03-22 Thread Adrian Howard
On 4 Mar 2005, at 17:15, Michael G Schwern wrote: [snip] There's not nearly enough references, particularly when I expect the audience to go out and work things out on their own. I still can't think of a decent testing book nor tutorial to recommend. Test::Tutorial leaves the reader at a dead

Re: Passing on the hat

2005-03-22 Thread Dan Sugalski
At 12:27 PM -0500 3/22/05, MrJoltCola wrote: At 06:55 PM 3/21/2005, Chip Salzenberg wrote: According to Dan Sugalski: As such, I'd like to say a big thanks to Chip Salzenburg who's agreed to take the hat. I thank you for your kind words, and for giving me the opportunity again to work long hours

Re: Passing on the hat

2005-03-22 Thread MrJoltCola
At 06:55 PM 3/21/2005, Chip Salzenberg wrote: According to Dan Sugalski: > As such, I'd like to say a big thanks to Chip Salzenburg who's agreed > to take the hat. I thank you for your kind words, and for giving me the opportunity again to work long hours and explain difficult and arbitrary design

ceil and floor in the core?

2005-03-22 Thread Ingo Blechschmidt
Hi, a quick question: Will ceil and floor be in the core of Perl 6? I vaguely remember that being in the case, but it's not in the Synopses. (For comparision, in Perl 5 they're in POSIX.pm.) --Ingo

Re: Slices

2005-03-22 Thread Thomas Sandlaß
Rod Adams wrote: multi sub postcircumflex::<[ ]>(MyArray $obj : [EMAIL PROTECTED]) is rw {...} but I'll wait for S14 before speculating further. Will that ever be written? And if yes, will it be like S13 which is basically saying that overloading is subsumed by A12/S12? I see the 'does' operator a

md5 (was: [perl #34501] Segfault in stress test)

2005-03-22 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > My hero. Thanks! Welcome. > Has anyone had a chance to try it on 64 bit, or swapped > endian? This is a PPC: $ ./parrot examples/assembly/md5sum.imc MANIFEST This appears to be a big endian processor: Please verify the MD5 checksum b3ff04e9aa28c79baa

Another Perl Task: review PMC compiler

2005-03-22 Thread Leopold Toetsch
Investigating some recent dynclass/py*.t I found another problem in the PMC compiler (classes/pmc2c2.pl, lib/Parrot/Pmc2c.pm). On one computer I have in dynclasses/pylong.c temp_base_vtable Parrot_default_destroy, on the second I got: Parrot_BigInt_destroy, The latter is cor

Re: [perl #34501] Segfault in stress test

2005-03-22 Thread Nick Glencross
Leopold Toetsch via RT wrote: Nick Glencross <[EMAIL PROTECTED]> wrote: I've been checking that my md5sum library still works after a few months, I've now checked in the whole MD5 stuff, slightly modifed (whitespace, cosmetics, converted to a library, fix error with files > 2MB) and a bit f

Re: [perl #34531] [PATCH] t/pmc/perlstring.t - exluded tests of t/pmc/pmc.t included

2005-03-22 Thread Leopold Toetsch
Steven Schubiger <[EMAIL PROTECTED]> wrote: >> The test file t/pmc/pmc.t is full of Perl* tests. >> These should be factored out into t/pmc/perl*.t. [ patches ] #34527 ignored #34528 - #34531 applied, thanks. Some more todo ;) Thanks, leo $ perl -Ilib t/pmc/pmc.t 1..51 ok 1 - newpmc ok 2 - il

Re: Passing on the hat

2005-03-22 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > [ ...] , it's time to pass on the responsibility to someone > who actually has the time. (Though I'll be wading through some of the > recent backlog anyway, since I can't help but meddle :) Many thanks for all your time and patience. It'll be great if you

Re: Perl6 and Duff's Device

2005-03-22 Thread TOGoS
> : I believe Perl 6 hasn't changed its policy on > : labels, so you should be > : able to write that in Perl 6. But your behavior > : might be undefined. > : It's weird to jump into the middle of a loop. > : We may only allow you to > : jump outwards from your dynamic scope. > > Perl 5's policy

Re: [Pugs] 6.0.12 make test blew up on Windows with "command line too long"

2005-03-22 Thread Michael G Schwern
On Tue, Mar 22, 2005 at 02:12:58PM +1100, Andrew Savige wrote: > > You use globbing instead of spelling each test out on the command line. > > That's a Module::Install/autrijusism. > > > > If you want to see how MakeMaker specifically deals with it see > > test_harness() in > > > http://search.cpa

[perl #34531] [PATCH] t/pmc/perlstring.t - exluded tests of t/pmc/pmc.t included

2005-03-22 Thread via RT
# New Ticket Created by Steven Schubiger # Please include the string: [perl #34531] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34531 > > The test file t/pmc/pmc.t is full of Perl* tests. > These should be factored out

[perl #34530] [PATCH] t/pmc/perlnum.t - excluded tests of t/pmc/pmc.t included

2005-03-22 Thread via RT
# New Ticket Created by Steven Schubiger # Please include the string: [perl #34530] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34530 > > The test file t/pmc/pmc.t is full of Perl* tests. > These should be factored out

[perl #34529] [PATCH] t/pmc/perlint.t - excluded tests of t/pmc/pmc.t included

2005-03-22 Thread via RT
# New Ticket Created by Steven Schubiger # Please include the string: [perl #34529] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34529 > > The test file t/pmc/pmc.t is full of Perl* tests. > These should be factored out

[perl #34528] [PATCH] t/pmc/pmc.t - tests excluded

2005-03-22 Thread via RT
# New Ticket Created by Steven Schubiger # Please include the string: [perl #34528] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34528 > > The test file t/pmc/pmc.t is full of Perl* tests. > These should be factored out

[perl #34527] [PATCH] t/pmc/pmc.t - tests excluded

2005-03-22 Thread via RT
# New Ticket Created by Steven Schubiger # Please include the string: [perl #34527] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=34527 > > The test file t/pmc/pmc.t is full of Perl* tests. > These should be factored ou

Re: [perl #34501] Segfault in stress test

2005-03-22 Thread Leopold Toetsch
Nick Glencross <[EMAIL PROTECTED]> wrote: > I've been checking that my md5sum library still works after a few > months, I've now checked in the whole MD5 stuff, slightly modifed (whitespace, cosmetics, converted to a library, fix error with files > 2MB) and a bit faster (25 times for bigger files

Re: [CVS ci] builtins

2005-03-22 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 5:19 PM +0100 3/19/05, Leopold Toetsch wrote: >>1) builtin methods are living in a class namespace e.g. >> >> Float."cos" >> ParrotIO."open" # unimplemented > I'm way out of the loop and may have been dealt with in prior mail, > but are we doing re

Re: Namespaces

2005-03-22 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > Since PIR behaviour is ours to define, it can do whatever we want. > I'm inclined to rule that a plain > bar() > is equivalent to: > current_namespace::bar() > and as such the PIR compiler should look up the function by name in > the current na

Re: [Pugs] 6.0.12 make test blew up on Windows with "command line too long"

2005-03-22 Thread Autrijus Tang
On Tue, Mar 22, 2005 at 02:12:58PM +1100, Andrew Savige wrote: > --- Autrijus Tang wrote: > > Later MakeMakers may have fixed that (not sure), but we're targetting > > EU::MM 6.17 currently. > > I asked on perl-qa and Schwern gave a helpful reply, shown below. > I've pushed this thread back to the