[perl #48971] Parrot build failure "no such instruction: `trap'"

2007-12-21 Thread James Keenan via RT
On Thu Dec 20 21:34:41 2007, [EMAIL PROTECTED] wrote: > On a PPC with OSX 10.5.1 I didn't know you could run 10.5.1 on PPC; I thought it only worked on x86. Could you attach the output from 'perl -V'? It may help us diagnose this problem better. Thank you very much.

Re: Status of docs/embed.pod and Parrot::Embed?

2007-12-21 Thread Tim Bunce
On Mon, Dec 10, 2007 at 04:37:31PM +0200, Allison Randal wrote: > Tim Bunce wrote: > > >> I meant docs/pdds/draft/pdd10_embedding.pod > >> > >> I could trying hacking on it to at least mention all the functions in > >> embed.h > >> with a few words on each. I'd be fumbling in the dark mostly but i

Re: writing mod_perl6 in perl 6

2007-12-21 Thread Andy Lester
On Dec 21, 2007, at 10:50 AM, Jeff Horwitz wrote: This just went up in my blog, but I think it's interesting enough to post to the list as well. URL? I'll post it to Mechanix. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

[perl #49001] [PROPOSAL][DOCS] Change word "compilation_unit" into something else (like "sub")

2007-12-21 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #49001] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49001 > IMCC's top level non-terminal rule looks something like: program: compilation_unit

writing mod_perl6 in perl 6

2007-12-21 Thread Jeff Horwitz
This just went up in my blog, but I think it's interesting enough to post to the list as well. -jeff One of the goals of the mod_parrot project is to provide the infrastructure for running the Perl 6 version of mod_perl, a.k.a. mod_perl6. I've already demonstrated that mod_perl6 works, so tha

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread jerry gay
On Dec 21, 2007 8:50 AM, Klaas-Jan Stol <[EMAIL PROTECTED]> wrote: > On Dec 21, 2007 3:53 PM, Allison Randal <[EMAIL PROTECTED]> wrote: > > > Klaas-Jan Stol via RT wrote: > > > On Sun Dec 16 21:11:34 2007, coke wrote: > > >> From PDD 19: > > >> > > >> NOTE: The use of C<::> in identifiers is deprec

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread Klaas-Jan Stol
On Dec 21, 2007 3:53 PM, Allison Randal <[EMAIL PROTECTED]> wrote: > Klaas-Jan Stol via RT wrote: > > On Sun Dec 16 21:11:34 2007, coke wrote: > >> From PDD 19: > >> > >> NOTE: The use of C<::> in identifiers is deprecated. > >> > > what exactly does this mean? > > > > I take it that "::" can stil

Re: Trying to write a oo :method that isn't automatically inserted in a namespace.

2007-12-21 Thread Allison Randal
Kevin Tew wrote: :method subs should not be added to the namespace unless they have a :namespace flag. Yes. So we should fix set_pmc_keyed_str to not add :methods unless the :namespace flag is present. Sort of. The thing is, 'set_pmc_keyed_str' isn't just storing subs in the namespace, i

Re: Trying to write a oo :method that isn't automatically inserted in a namespace.

2007-12-21 Thread Kevin Tew
Yeah, I spent an hour trying to figure out how 'set_pmc_keyed_str' vtable function in src/pmc/namespace.pmc precluded :methods from the namespace before I tested it and found out that it didn't. What do we want the final behavior to be? I'm going to take a guess, correct me as needed. :method

Re: Trying to write a oo :method that isn't automatically inserted in a namespace.

2007-12-21 Thread Allison Randal
On Fri, Dec 21, 2007 at 01:30:42AM -0700, Kevin Tew wrote: I've added parsing of :namespace to imcc, now I'm trying to figure out what I'm suppose to do differently when :namespace is present in a methods prototype. I thought I was suppose to add the :method to a namespace, but that seems to al

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-21 Thread Patrick R. Michaud
Kevin Tew started investigating this ticket, and he discovered that :method subs are already being placed as entries in the namespace by default, which is the behavior I was looking for. So, the issue turns out to be a non-issue (for me at least), unless we decide to make it one. Apologies fo

Re: Trying to write a oo :method that isn't automatically inserted in a namespace.

2007-12-21 Thread Patrick R. Michaud
On Fri, Dec 21, 2007 at 01:30:42AM -0700, Kevin Tew wrote: > I'm working on http://rt.perl.org/rt3/Ticket/Display.html?id=48631 > I've added parsing of :namespace to imcc, now I'm trying to figure out > what I'm suppose to do differently when :namespace is present in a > methods prototype. > I th

Re: [perl #48631] [RFE] oo - allow :method to also enter sub in namespace

2007-12-21 Thread Allison Randal
Patrick R. Michaud wrote: Optional string parameter to C<:namespace> : Anytime there's a namespace or class parameter, I think we have to consider the possibility of a keyed argument, since the general case is that namespaces are given by keys, not strings. Ah, you're reading :namespace as s

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread Allison Randal
François Perrad wrote: In Lua, I started to replace (see r23367) : [ 'Lua::io' ] by [ 'Lua'; 'io' ] Also a good change. This gains you the benefits of true hierarchical namespaces, and means that different languages that use different characters as class name separators can use your

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread Allison Randal
Klaas-Jan Stol via RT wrote: On Sun Dec 16 21:11:34 2007, coke wrote: From PDD 19: NOTE: The use of C<::> in identifiers is deprecated. what exactly does this mean? I take it that "::" can still appear in typenames, as in "PAST::Op" Yes, that's still fine. In fact, any character that can b

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread François Perrad
Klaas-Jan Stol via RT wrote: On Sun Dec 16 21:11:34 2007, coke wrote: From PDD 19: NOTE: The use of C<::> in identifiers is deprecated. what exactly does this mean? In Lua, I started to replace (see r23367) : [ 'Lua::io' ] by [ 'Lua'; 'io' ] François I take it that "::

Trying to write a oo :method that isn't automatically inserted in a namespace.

2007-12-21 Thread Kevin Tew
I'm working on http://rt.perl.org/rt3/Ticket/Display.html?id=48631 I've added parsing of :namespace to imcc, now I'm trying to figure out what I'm suppose to do differently when :namespace is present in a methods prototype. I thought I was suppose to add the :method to a namespace, but that see