Re: If topicalization

2005-08-03 Thread TSa (Thomas Sandlaß)
HaloO, Luke Palmer wrote: I vaguely recall that we went over this already, but I forgot the conclusion if we did. I have a proposal about block owner and block topic pending. But I guess no one noticed it, ... In Damian and Larry's talk here at OSCON, I saw the example: if foo() -> $fo

Re: urgent parrot bug / PR opportunity

2005-08-03 Thread Michal Wallace
On Thu, 4 Aug 2005, Leopold Toetsch wrote: Michal Wallace wrote: And wouldn't you know it... A bug on the parrot side cropped up out of nowhere to break them! ==17366== valgrind's libpthread.so: IGNORED call to: pthread_attr_destroy ==17366== Invalid read of size 4 ==17366==at 0x43D5123

Re: urgent parrot bug / PR opportunity

2005-08-03 Thread Leopold Toetsch
Michal Wallace wrote: And wouldn't you know it... A bug on the parrot side cropped up out of nowhere to break them! ==17366== valgrind's libpthread.so: IGNORED call to: pthread_attr_destroy ==17366== Invalid read of size 4 ==17366==at 0x43D5123E: Parrot_PyTuple_get_iter (in /home/lt/svn/

Re: urgent parrot bug / PR opportunity

2005-08-03 Thread Leopold Toetsch
On Aug 4, 2005, at 5:33, Michal Wallace wrote: Watch closely: [~/pirate]: parrot listcomp.pir [16, 26] [~/pirate]: cp listcomp.pir now_it_works.pir [~/pirate]: parrot now_it_works.pir [15, 25, 16, 26] Which OS & architecture is this? leo

[RELEASE] WWW::Kontent 0.01

2005-08-03 Thread Brent 'Dax' Royal-Gordon
I am happy to announce the release of WWW::Kontent 0.01: File: $CPAN/authors/id/B/BR/BRENTDAX/WWW-Kontent-0.01.tar.gz Size: 27402 bytes MD5 : 1295736bac6b0ef3339998ea47b9ad61 Please note that it may take some time for the d

Re: urgent parrot bug / PR opportunity

2005-08-03 Thread Will Coleda
Suggestions for workarounds given the short time frame: 1) Use the last *released* version of parrot, which is from a month ago. If this is a new issue, just run the slightly older code. (releases are happening once a month now. This will give you fairly recent code with a little more stabi

urgent parrot bug / PR opportunity

2005-08-03 Thread Michal Wallace
Help! :) Sam Ruby is giving a speech at OSCON tomorrow about python on parrot. The pirate tests run hourly against the latest repository versions of pirate and parrot at: http://pirate.tangentcode.com/ And wouldn't you know it... A bug on the parrot side cropped up out of nowhere to break

Re: [perl #36794] [BUG] substr opcode segfault

2005-08-03 Thread Joshua Juran
On Aug 3, 2005, at 2:58 PM, Will Coleda (via RT) wrote: With r8787, the following tcl code: puts \u666 causes a segfault in the substr opcode (from tcl's lib/tclconst.pir), and forces a few tcl-unicode escape tests into TODOs. Duh, because it's *evil*. :-) Josh

Re: Do slurpy parameters auto-flatten arrays?

2005-08-03 Thread Piers Cawley
Luke Palmer <[EMAIL PROTECTED]> writes: > On 8/3/05, Aankhen <[EMAIL PROTECTED]> wrote: >> On 8/3/05, Piers Cawley <[EMAIL PROTECTED]> wrote: >> > So how *do* I pass an unflattened array to a function with a slurpy >> > parameter? >> >> Good question. I would have thought that one of the major

Re: [perl #36755] [PATCH] dynclasses with MinGW32

2005-08-03 Thread Jonathan Worthington
"François PERRAD (via RT)" <[EMAIL PROTECTED]> wrote: With this patch, dynclasses work with MinGW32. (same as r8717 by Jonathan Worthington with MSC) gdbmhash.dll (libgdbm) needs to add Parrot_load_lib in parrot.def Thanks for the patch - I'll check it over and (provided it's OK) commit it i

Re: Do slurpy parameters auto-flatten arrays?

2005-08-03 Thread Miroslav Silovic
[EMAIL PROTECTED] wrote: So how *do* I pass an unflattened array to a function with a slurpy parameter? I don't ~~ @larry, but my guess(es) would be bar([EMAIL PROTECTED]) or bar([EMAIL PROTECTED]) Miro

Re: [perl #36794] [BUG] substr opcode segfault

2005-08-03 Thread Leopold Toetsch
On Aug 3, 2005, at 20:58, Will Coleda (via RT) wrote: causes a segfault in the substr opcode (from tcl's lib/tclconst.pir), and forces a few tcl-unicode escape tests into TODOs. A short PIR test that is equivalent: .sub main @MAIN $S0 = "\\u666" $I0 = 0x666 $S1 = chr $I0 # w

[RELEASE] Pugs 6.2.9 released!

2005-08-03 Thread Autrijus Tang
I am glad to announce Pugs 6.2.9, released during Ingy's OSCON talk: http://pugscode.org/dist/Perl6-Pugs-6.2.9.tar.gz SIZE = 1439642 SHA1 = efd32419dcddba596044a42564936888a28b3c69 Following last month's plan, this release features a Perl6/PIL to javascript code generator, written in

[perl #36794] [BUG] substr opcode segfault

2005-08-03 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #36794] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36794 > With r8787, the following tcl code: puts \u666 causes a segfault in the substr opcode

If topicalization

2005-08-03 Thread Luke Palmer
I vaguely recall that we went over this already, but I forgot the conclusion if we did. In Damian and Larry's talk here at OSCON, I saw the example: if foo() -> $foo { # use $foo } How can that possibly work? If a bare closure { } is equivalent to -> ?$_ is rw { }, then the norm

Re: What role for exceptional types?

2005-08-03 Thread Luke Palmer
On 8/3/05, Nigel Hamilton <[EMAIL PROTECTED]> wrote: > Instead of passing the "buck" from object to object via parameter lists > and type inference (traversing OO hierarchies etc) maybe we could .. > > Model the flow of control through a program as a simple linear queue of > topic changes. A centr

Re: Eliminating &{} and *{}

2005-08-03 Thread TSa (Thomas Sandlaß)
HaloO, Autrijus Tang wrote: All this led us to think about whether (my &foo) can be merely treated the same as (my Code $foo). The mutable form will enable convenient notations such as: I think (my Code $foo) should be an error on the same reason as (my Array $foo) is an error. A $var can onl

Re: Do slurpy parameters auto-flatten arrays?

2005-08-03 Thread Luke Palmer
On 8/3/05, Aankhen <[EMAIL PROTECTED]> wrote: > On 8/3/05, Piers Cawley <[EMAIL PROTECTED]> wrote: > > So how *do* I pass an unflattened array to a function with a slurpy > > parameter? > > Good question. I would have thought that one of the major gains from > turning arrays and hashes into refe

Another month - another release

2005-08-03 Thread Leopold Toetsch
* code freeze starts at 2005.08.04 at 8:00 GMT - no major code changes to trunk after that please - languages/* changes can continue but please check that at release time tests will pass (or fail silently;-) - bug and docu fixes & updates welcome - patches (ci's) to PLATFORMS about cur

[perl #36778] [PATCH] gdbmhash with MinGW32

2005-08-03 Thread Bernhard Schmalhofer via RT
> [EMAIL PROTECTED] - Mi 03. Aug 2005, 00:40:59]: > > With this small patch, gdbmhash works on MinGW. > Thanks, the patch is applied, and thinks look OK under Linux as well. Do you have an explaination why config/auto/gdbm.pl seems to see a gdbm library. I don't see 'gdbm3' mentioned there. Is

What role for exceptional types?

2005-08-03 Thread Nigel Hamilton
I've been reading the Perl6 "type" and method dispatch discussions with some fear and trepidation. Just following the linear flow of control through a program can sometimes be a mind bend. The type inferencing and dispatch system for Perl6 seems very funky. Throw in some autothreading and Junc

This week's summary

2005-08-03 Thread The Perl 6 Summarizer
The Perl 6 Summary for the week ending 2005-08-02 In case you were wondering, Darwin ports didn't work it's magic and I still don't have a working Haskell compiler. Thank Juerd for feather, even if I did have to turn my laptop upside down to read the MOTD. Rot-180: oN hes +snf This

Re: Do slurpy parameters auto-flatten arrays?

2005-08-03 Thread Aankhen
On 8/3/05, Piers Cawley <[EMAIL PROTECTED]> wrote: > So how *do* I pass an unflattened array to a function with a slurpy parameter? Good question. I would have thought that one of the major gains from turning arrays and hashes into references in scalar context is the ability to specify an unflatt

Re: Elimination of Item|Pair and Any|Junction

2005-08-03 Thread Piers Cawley
Autrijus Tang <[EMAIL PROTECTED]> writes: > On Fri, Jul 22, 2005 at 03:40:34PM -0700, Larry Wall wrote: >> I dunno. I'm inclined to say that it should default to Item|Pair, and >> let people say Any explicitly if they really want to suppress autothreading. >> Otherwise conditionals and switches a

Re: Exposing the Garbage Collector (Iterating the live set)

2005-08-03 Thread Piers Cawley
Luke Palmer <[EMAIL PROTECTED]> writes: > On 7/26/05, "TSa (Thomas Sandlaß)" <[EMAIL PROTECTED]> wrote: >> Piers Cawley wrote: >> > I would like to be able to iterate over all the >> > objects in the live set. >> >> My Idea actually is to embedd that into the namespace syntax. >> The idea is that

Re: ANSI escape characters

2005-08-03 Thread Leopold Toetsch
Klaas-Jan Stol wrote: I'm only wondering why Lua writes the string "\027..." to the screen, with the same effect. Can it have something to do with the encoding? (ascii, iso-8859-1, unicode) No. In all these charsets := 27d, 0x1b, 033o. Therefore the reason can only be that Lua doesn't conve

Re: Do slurpy parameters auto-flatten arrays?

2005-08-03 Thread Piers Cawley
Luke Palmer <[EMAIL PROTECTED]> writes: > On 7/26/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: >> Hi, >> >> are the following assumptions correct? >> >> sub foo ([EMAIL PROTECTED]) { @args[0] } >> >> say ~foo("a", "b", "c"); # "a" > > Yep. > >> my @array = ; >> say ~foo(@array);

Re: ANSI escape characters

2005-08-03 Thread Klaas-Jan Stol
Nick Glencross wrote: Nick Glencross wrote: Klaas-Jan, 'Escape' is 27 decimal, or 033 octal. http://www.nntp.perl.org/group/perl.perl6.internals/9381 http://www.nntp.perl.org/group/perl.perl6.internals/9814 Nick I may have been overly concise! What I meant was that \0xx notation is octa

[perl #36778] [PATCH] gdbmhash with MinGW32

2005-08-03 Thread François
# New Ticket Created by François PERRAD # Please include the string: [perl #36778] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36778 > With this small patch, gdbmhash works on MinGW. $ perl t/harness t/dynclass/gdbmha