Re: [svn:parrot] r23307 - trunk/examples/sdl

2007-12-03 Thread Paul Cochrane
On 02/12/2007, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sun, Dec 02, 2007 at 10:44:08AM +0100, Paul Cochrane wrote: > > ... and I only > > needed to switch off the warnings about a lack of C > strict/warnings>. At present, this isn't a maintanence burden, but as > > soon as we get lots o

perl 6 grammar

2007-12-03 Thread cdumont
I found some of the perl 6 new features really neat: - creating your own type - type casting - junctions - multidispatch - :r:w:a shortcuts - hyper operators - some kind of oop keywords But there are some changes in the grammar which benefits aren't that obvious : 1- $str1 ~ $str2 2- $life = (!

Re: perl 6 grammar

2007-12-03 Thread cdumont
Moritz Lenz wrote: cdumont wrote: 1- $str1 ~ $str2 The '+' suggests numerical addition (and requires disambiguation in the case of $str + $number - should $str be interpreted as a number, or $number as a string?). The . is already taken by method calls (used far more often), and is e

Re: perl 6 grammar

2007-12-03 Thread Smylers
cdumont writes: > there are some changes in the grammar which benefits aren't that > obvious : Hi there. For some of these the benefit is indirect: it isn't that it makes the feature in question easier to use; instead it enables _other_ features. > 1- $str1 ~ $str2 > I do not really understand

[perl #48074] [PATCH] fix for pcre test if libpcre installed in non-standard location

2007-12-03 Thread Devin Heitmueller
# New Ticket Created by "Devin Heitmueller" # Please include the string: [perl #48074] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48074 > The attached patch will address a parrot test failure in the PCRE module (t/libra

Re: perl 6 grammar

2007-12-03 Thread cdumont
Smylers wrote: cdumont writes: there are some changes in the grammar which benefits aren't that obvious : Hi there. For some of these the benefit is indirect: it isn't that it makes the feature in question easier to use; instead it enables _other_ features. 1- $str1 ~ $str2 I d

Re: Standards bearers (was "Re: xml and perl 6")

2007-12-03 Thread Peter Scott
On Fri, 30 Nov 2007 03:57:58 -0700, David Green wrote: > Part of a solution is search.cpan.org -- if you can figure out which > of the 870 XML modules will be useful to you. Another part is asking > on newsgroups or lists -- if you can figure out which of the 870 > opinions offered is knowledge

Re: Standards bearers (was "Re: xml and perl 6")

2007-12-03 Thread Smylers
Peter Scott writes: > I do feel strongly that we need some sort of solution to this so that > Perl 6 is not merely an outstanding framework that leaves all > domain-specific extensions to the end user. OK. > Can we find a way to make and maintain some recommendations in a way > that people can f

Re: perl 6 grammar

2007-12-03 Thread Smylers
cdumont writes: > Smylers wrote: > > > cdumont writes: > > > > The given ... when doesn't seem to bring that much from switch ... > > > case given ... > > > > Surely it brings all of it? Plus much more as well. Much of the > > power is in the smart-matching, which enables many different sort

Re: perl 6 grammar

2007-12-03 Thread Patrick R. Michaud
On Mon, Dec 03, 2007 at 12:20:02PM +, Smylers wrote: > cdumont writes: > > I don't really think using the column in a ternary means that you > > cannot use it else where. > > We started off with that, and it was changed specifically because it was > causing a problem; I can't remember exactly

Parrot Bug Summary

2007-12-03 Thread Parrot Bug Summary
Parrot Bug Summary http://rt.perl.org/rt3/NoAuth/parrot/Overview.html Generated at Mon Dec 3 14:00:01 2007 GMT --- * Numbers * New Issues * Overview of Open Issues * Ticket Status By Version * Requestors with mo

[perl #48090] plumhead smoke test presents prompt

2007-12-03 Thread B. Estrade
# New Ticket Created by "B. Estrade" # Please include the string: [perl #48090] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48090 > --- osname= freebsd osvers= 7.0-current arch= i386-freebsd-64int cc= cc --- Flags:

Re: [perl #48090] plumhead smoke test presents prompt

2007-12-03 Thread Bernhard Schmalhofer
B. Estrade (via RT) schrieb: # New Ticket Created by "B. Estrade" # Please include the string: [perl #48090] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48090 > --- osname= freebsd osvers= 7.0-current arch= i386-free

Re: perl 6 grammar

2007-12-03 Thread Larry Wall
On Mon, Dec 03, 2007 at 07:30:53PM +0900, cdumont wrote: > Moritz Lenz wrote: > >> cdumont wrote: >> >>> 1- $str1 ~ $str2 >>> >> >> The '+' suggests numerical addition (and requires disambiguation in the >> case of $str + $number - should $str be interpreted as a number, or >> $number as a st

Re: [perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-12-03 Thread Allison Randal
Will Coleda via RT wrote: Hunt down existing use of 'new_i_s' and either replace or remove the functionality. The FixedIntegerArray is an example of where 'new_from_string' is used. 'new_i_s' was experimental and can die. Any PMC's using the behavior can instead pass a hash argument to 'new'.

Re: Pair notation for number radix

2007-12-03 Thread Larry Wall
On Sat, Oct 06, 2007 at 04:00:18PM -0500, brian d foy wrote: : This is basically the same question I had about file test operators : earlier : (http://www.nntp.perl.org/group/perl.perl6.language/2007/04/msg27415.htm : l). I never got an answer on my syntax question and the discussion went : off to

Re: [perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-12-03 Thread jerry gay
On Dec 3, 2007 11:25 AM, Allison Randal <[EMAIL PROTECTED]> wrote: > Creating a hash is expensive, but then new_from_string was also quite > rare (only implemented on 4 PMCs), so isn't a huge target for optimization. > careful... one of these PMCs is FixedIntegerArray. FIA is used to set the flags

Re: [perl #47998] r23293: Make smoke "invalid format" failure

2007-12-03 Thread Andy_Bach
Hey, I believe I've found it. There was an update to lib/Parrot/Revision.pm (#23179) to add "--xml" to the snv info request used to get the current Parrot checkedout revision. However, on svn v1.2 (1.2.1) that fails and you get a revision of zero which nobody likes. So, while upgrading svn

Re: [perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-12-03 Thread Allison Randal
jerry gay wrote: careful... one of these PMCs is FixedIntegerArray. FIA is used to set the flags for parrot calling conventions, so it's constructed every time a subroutine is entered or exited. i'd prefer to see new_from_string go away, but it seems to me benchmarks are in order due to the amo

Re: [perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-12-03 Thread Kevin Tew
The logic was present in FIA, before PCC was written. It was reused in an attempt to "don't repeat yourself". Kevin Allison Randal wrote: jerry gay wrote: careful... one of these PMCs is FixedIntegerArray. FIA is used to set the flags for parrot calling conventions, so it's constructed every

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

2007-12-03 Thread larry
Author: larry Date: Mon Dec 3 15:55:10 2007 New Revision: 14470 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S05.pod Log: Mention that Int assumes 2's complement semantics when viewed via bitops. Modified: doc/trunk/design/syn/S02.pod ==

Re: [perl #47998] r23293: Make smoke "invalid format" failure

2007-12-03 Thread Andy_Bach
Yes, up upgrading svn does it. I had noticed that the configure listing *wasn't* showing the revision number (D'oh!) and now it does Determining whether (exuberant) ctags is installed.yes. Running CPU specific stuffdone. Determini

[perl #43307] [TODO] config/auto/aio.pm: Write unit tests

2007-12-03 Thread James Keenan via RT
I haven't completely sorted through the above issues, but here's a somewhat refactored module and two test files. Because of issues discussed in RT 48070, I'm suggesting the use of IO::CaptureOutput rather than Parrot::IO::Capture::Mini for capturing verbose output. I've enclosed the relevant tes

[perl #44171] [TODO] config/auto/attributes.pm: Write unit tests

2007-12-03 Thread James Keenan via RT
Have heard no complaints; resolving ticket.

[perl #41597] [PATCH] replacing explicit access to $^O in Configure

2007-12-03 Thread James Keenan via RT
Patches applied to trunk in r23427 Dec 03 2007.

[perl #47902] [PATCH] Confine calls to Perl 5 %Config to init::defaults

2007-12-03 Thread James Keenan via RT
Patches applied to trunk in r23427 Dec 03 2007.

PDD16 details

2007-12-03 Thread pancake
I have been looking a bit inside PDDs and parrot source and find no way to load a pointer to a function as a PMC inside the VM. What I want to do is to embed parrot into a C program and make some of the functions of this C program available via NCI to the vm. I have achieved this by using the tip

[perl #47313] [BUG] config/auto/va_ptr.pm delivering surprising result

2007-12-03 Thread James Keenan via RT
No complaints heard; resolving ticket.

[perl #48036] [PATCH] Add --silent option to Parrot configuration

2007-12-03 Thread James Keenan via RT
Patches committed to trunk in r23430 Dec 03 2007.

Re: perl 6 grammar

2007-12-03 Thread cdumont
Patrick R. Michaud wrote: On Mon, Dec 03, 2007 at 12:20:02PM +, Smylers wrote: cdumont writes: I don't really think using the column in a ternary means that you cannot use it else where. We started off with that, and it was changed specifically because it was causing a prob

Re: perl 6 grammar

2007-12-03 Thread cdumont
Smylers wrote: cdumont writes: Smylers wrote: cdumont writes: The given ... when doesn't seem to bring that much from switch ... case given ... Surely it brings all of it? Plus much more as well. Much of the power is in the smart-matching, which enables many diff

Re: perl 6 grammar

2007-12-03 Thread cdumont
Larry Wall wrote: >On Mon, Dec 03, 2007 at 07:30:53PM +0900, cdumont wrote: > > >>Moritz Lenz wrote: >> >> >> >>>cdumont wrote: >>> >>> >>> 1- $str1 ~ $str2 >>>The '+' suggests numerical addition (and requires disambiguation in the >>>case of $str + $numb

perl 6 and web open source projects

2007-12-03 Thread cdumont
oh, it might not be relevant in many ways but : http://iamseb.com/seb/2007/12/perl-on-rails-why-the-bbc-fails-at-the-internet/ http://www.bbc.co.uk/blogs/radiolabs/2007/11/perl_on_rails.shtml There's one thing I would like perl6 to shine in, is web and open source. I know it's not the purpose o

Re: perl 6 and web open source projects

2007-12-03 Thread Trey Harris
In a message dated Tue, 4 Dec 2007, cdumont writes: oh, it might not be relevant in many ways but : http://iamseb.com/seb/2007/12/perl-on-rails-why-the-bbc-fails-at-the-internet/ http://www.bbc.co.uk/blogs/radiolabs/2007/11/perl_on_rails.shtml There's one thing I would like perl6 to shine in,

Re: perl 6 and web open source projects

2007-12-03 Thread cdumont
Trey Harris wrote: In a message dated Tue, 4 Dec 2007, cdumont writes: oh, it might not be relevant in many ways but : http://iamseb.com/seb/2007/12/perl-on-rails-why-the-bbc-fails-at-the-internet/ http://www.bbc.co.uk/blogs/radiolabs/2007/11/perl_on_rails.shtml There's one thing I would

Re: perl 6 and web open source projects

2007-12-03 Thread Darren Duncan
At 2:51 PM +0900 12/4/07, cdumont wrote: Sorry. Where can I find a mailing list that is about Perl 6 in general then? Thank you. I would recommend that [EMAIL PROTECTED] is the best place to talk about these things, out of the official Perl 6 lists that I know of. -- Darren Duncan

Re: perl 6 and web open source projects

2007-12-03 Thread cdumont
Darren Duncan wrote: At 2:51 PM +0900 12/4/07, cdumont wrote: Sorry. Where can I find a mailing list that is about Perl 6 in general then? Thank you. I would recommend that [EMAIL PROTECTED] is the best place to talk about these things, out of the official Perl 6 lists that I know of. --

Re: perl 6 and web open source projects

2007-12-03 Thread cdumont
Trey Harris wrote: The very notions of "enterprise" use and "open source" use and "web" use are so amorphous that it is hard to imagine core language features that would foster or discourage them. A language is an ecosystem, and it's hard to argue that Perl has done poorly in any of the thr

Re: [perl #47011] [DEPRECATED] VTABLE entry 'new_from_string'

2007-12-03 Thread Francois PERRAD
Will Coleda via RT wrote: On Mon Oct 29 11:11:03 2007, bernhard wrote: In pdd17_pmc.pod it is stated that 'new_from_string' is deprecated. The existing use of 'new_from_string' can probably be achieved with 'init' or 'set_string_native'. TODO: Hunt down existing use of 'new_i_s' and either re