Re: ***SPAM*** Re: perl 6 grammar

2007-12-04 Thread Miroslav Silovic
cdumont wrote: > In japanese it could even be : > > wa { > '' no baai ni { ... } > } > > Getting rid off the thema or I guess here taking $_ as the default. > > is this possible : > > given $operator { > '' {} > '' {} > } > > ? > > If Larry doesn't mind me elbowing into th

parrotsketch

2007-12-04 Thread Will Coleda
Reminder, parrotsketch is today at the usual time; lurkers welcome. Anyone using their commit bits should consider presenting a report on their status. From http://www.parrotcode.org/misc/parrotsketch.html : "This meeting currently occurs each Tuesday at 18:30 UTC, in the #parrotsketch channe

Re: Pair notation for number radix

2007-12-04 Thread Larry Wall
On Sun, Oct 07, 2007 at 03:01:06PM -0600, David Green wrote: > On 10/6/07, brian d foy wrote: >> That looks like it might mean that these are corresponding forms: >>8 => 377:8<377>:8(377) >> >> Now, if I can do that, what happens to the pair form in a hash composer >> when I want the ke

Re: perl 6 and web open source projects

2007-12-04 Thread brian d foy
[[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <[EMAIL PROTECTED]>, cdumont <[EMAIL PROTECTED]> wrote: > oh, it might not be relevant in many ways but : > > http://iamseb.com/seb/2007/12/perl-on-rails-why-the-bbc-fails-at-th

[perl #48108] [BUG] downcase opcode fails on unicode strings w/o icu

2007-12-04 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #48108] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48108 > If ICU isn't present, Parrot's C opcode always throws an exception. It does this

Re: Pair notation for number radix

2007-12-04 Thread Andy Armstrong
On 4 Dec 2007, at 15:39, Larry Wall wrote: It's kinda caught between two other notions. On the one hand, we're trying to reserve ` for user definition, in part because it's so difficult to tell from ' in many fonts so we're avoiding it for standard usage. On the other hand, it's not clear that

Re: Pair notation for number radix

2007-12-04 Thread Andy Armstrong
On 4 Dec 2007, at 16:19, Andy Armstrong wrote: my $amp = '&'; # No unit, plain text my $body = "$amp"html; # gets & Per http://search.cpan.org/~andya/String-Smart/ I should say. -- Andy Armstrong, Hexten

Re: Pair notation for number radix

2007-12-04 Thread brian d foy
In article <[EMAIL PROTECTED]>, Larry Wall <[EMAIL PROTECTED]> wrote: > : Later in the "Literals" section of S02, there's a chart of the > : corresponding forms for fat arrow, pair, and paren notation. It has > : > :a => 'foo' :a :a() > : > : That looks like it might mean that thes

Re: perl 6 grammar

2007-12-04 Thread Jonathan Lang
Another thing to note about given ... when: you don't have to use them together. All that "given" does is to set $_ to the variable provided; this can be used in a manner similar to "with" statements in other languages. And "when" doesn't have to be inside a "given" block, either: it can be used

[perl #48112] [BUG] cloning a hash also clones its values

2007-12-04 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #48112] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48112 > Cloning a Hash also causes its values to be cloned. Perhaps this is the desired be

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

2007-12-04 Thread Allison Randal
Kevin Tew wrote: The logic was present in FIA, before PCC was written. It was reused in an attempt to "don't repeat yourself". Probably would be better as a literal key than a string that has to be parsed. Allison

Re: Pair notation for number radix

2007-12-04 Thread Larry Wall
On Tue, Dec 04, 2007 at 08:28:48AM -0800, brian d foy wrote: : In article <[EMAIL PROTECTED]>, Larry Wall : <[EMAIL PROTECTED]> wrote: : : > : Later in the "Literals" section of S02, there's a chart of the : > : corresponding forms for fat arrow, pair, and paren notation. It has : > : : > :a

Re: Pair notation for number radix

2007-12-04 Thread Ryan Richter
On Tue, Dec 04, 2007 at 07:39:16AM -0800, Larry Wall wrote: > On Sun, Oct 07, 2007 at 03:01:06PM -0600, David Green wrote: > > What happened to the suggestion of using ` to designate units? > > It's kinda caught between two other notions. On the one hand, > we're trying to reserve ` for user defi

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

2007-12-04 Thread Allison Randal
Francois PERRAD wrote: 'new_from_string' is widely used by .const, for example : .const .String key_print = "print" That's the one case I consider a valid use of 'new_from_string', actually creating a string constant during initialization. Other hackery has been piled on top of the featu

[perl #47924] [BUG] test failures in t/oo/mro-c3.t

2007-12-04 Thread Allison Randal via RT
Resolved in r23461.

[perl #47890] [BUG] t/oo not part of 'make test'

2007-12-04 Thread Patrick R. Michaud via RT
Resolved in r23462. Pm

[perl #48112] [BUG] cloning a hash also clones its values

2007-12-04 Thread Patrick R. Michaud via RT
On Tue Dec 04 08:40:12 2007, pmichaud wrote: > Cloning a Hash also causes its values to be cloned. > Perhaps this is the desired behavior, but if so, it's > inconsistent with cloning other aggregates. After thinking about it a bit more, I'm not sure I want Hash's behavior with clone to change -- p

[perl #48118] [PATCH] Replace additional instances of '$/'

2007-12-04 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #48118] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48118 > The patch replaces Perl special variable $/ with \n in 8 locations in modules under con

[perl #45479] [CAGE] config/gen/PodText.pm: Find better location

2007-12-04 Thread James Keenan via RT
No one has spoken up for retaining this module in the distribution. I searched anew for references to it and found them only in the MANIFEST and the file itself. We have other means of generating plain-text documentation. I therefore recommend deleting the file from trunk. Index: MANIFEST ==

[perl #45479] [CAGE] config/gen/PodText.pm: Find better location

2007-12-04 Thread Will Coleda via RT
On Tue Dec 04 13:00:10 2007, [EMAIL PROTECTED] wrote: > No one has spoken up for retaining this module in the distribution. I > searched anew for references to it and found them only in the MANIFEST > and the file itself. We have other means of generating plain-text > documentation. I therefore

[perl #48120] [TODO] [C] Remove nonportable signbit code from perlnum.pmc

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48120] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48120 > In languages/perl5/src/pmc/perlnum.pmc:get_string() there is the todo item: /* XXX sig

[perl #48122] [TODO] [C] PerlInt should extend PerlAny or PerlScalar in perlint.pmc (?)

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48122] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48122 > In languages/perl5/src/pmc/perlint.pmc there is the todo item: /* TODO extends PerlAny

[perl #48124] [TODO] [C] Fix arithmetic ops in perlarray.pmc

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48124] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48124 > In languages/perl5/src/pmc/perlarray.pmc there is the todo item: """ Fix the arithmeti

[perl #48128] [TODO] [dotnet] Does a null first byte need special handling in dotnetsignature.pmc?

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48128] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48128 > In languages/dotnet/pmc/dotnetsignature.pmc:read_compressed() there is the todo item:

[perl #48130] [TODO] [dotnet] Why does sig_token have to be set to 0xFFFF in make_bytecde_pmc()?

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48130] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48130 > In languages/dotnet/pmc/dotnetassembly.pmc:make_bytecode_pmc() there is the todo item (

[perl #48132] [TODO] [cardinal] Need to throw an exception about invalid boolean type in get_bool()

2007-12-04 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #48132] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48132 > In languages/cardinal/src/pmc/rubystring.pmc:get_bool() there is the todo item: /* XXX

PGE & Multiple grammar associations

2007-12-04 Thread istarex
Is it possible to compile a single PGE grammar against multiple sets of actions to get multiple different parsers? This would be good for Lisp-like languages where you have one parser that spits out PIR code and a parser that is invoked for "(read)" calls and spits out s-expression objects. Both

Re: PGE & Multiple grammar associations

2007-12-04 Thread Patrick R. Michaud
On Tue, Dec 04, 2007 at 12:54:43PM -0500, istarex wrote: > Is it possible to compile a single PGE grammar against multiple sets > of actions to get multiple different parsers? This would be good for > Lisp-like languages where you have one parser that spits out PIR code > and a parser that is invo

[perl #45479] [CAGE] config/gen/PodText.pm: Find better location

2007-12-04 Thread James Keenan via RT
On Tue Dec 04 13:04:05 2007, coke wrote: > > If there are no references to it anywhere, +1; we have more than enough > desirable items in the repository, and no need to cling to relics. [parrot] 504 $ fns . | xargs grep -l PodText ./config/gen/PodText.pm ./MANIFEST

[perl #48134] [BUG][PATCH]interp->current_args overwritten in callmethodcc

2007-12-04 Thread Mehmet Yavuz Selim Soyturk
# New Ticket Created by "Mehmet Yavuz Selim Soyturk" # Please include the string: [perl #48134] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48134 > Next code segfaults because callmethodcc does another method call, which

[perl #48138] [BUG] t/native_pbc/integer.t, t/native_pbc/number.t fail on Darwin

2007-12-04 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #48138] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48138 > In the course of preparing the patch submitted in r23472 to config/ auto/pmc.pm this ev

[perl #48138] [BUG] t/native_pbc/integer.t, t/native_pbc/number.t fail on Darwin

2007-12-04 Thread James Keenan via RT
I note that the same two tests are failing in this smoke report today from FreeBSD: http://tinyurl.com/2cb7c9

[perl #48142] [DEPRECATED] class_type vtable

2007-12-04 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #48142] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48142 > From PDD17: =item class_type INTVAL class_type(INTERP, PMC* self) Return the integ

[perl #48144] [DEPRECATED] pmc_namespace vtable

2007-12-04 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #48144] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48144 > >From PDD17: =item pmc_namespace [deprecated] PMC* pmc_namespace(INTERP, PMC* self)

[svn:parrot-pdd] r23476 - in trunk: . docs/pdds

2007-12-04 Thread coke
Author: coke Date: Tue Dec 4 21:02:17 2007 New Revision: 23476 Modified: trunk/docs/pdds/pdd17_pmc.pod Changes in other areas also in this revision: Modified: trunk/DEPRECATED.pod Log: [docs] open tickets for deprecated items in pdd17; note them in DEPRECATED also. Modified: trunk/docs

[perl #48150] [BUG] pdd23 doesn't document obtaining thrown exception object

2007-12-04 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #48150] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48150 > PDD23 doesn't provide much information about how an exception handler gets access

[perl #48152] [TODO] document (pdd19) or deprecate .get_results directive

2007-12-04 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #48152] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=48152 > Many exception handlers in the repository use a ".get_results" directive to obtain