Re: compiler-faq

2004-05-31 Thread William Coleda
I should have said there was no Idocumented PIR syntax help =-). I found a test for C.flatten_arg after I saw it on the list, but it wasn't in the IMCC docs. That would have saved me some time... (That wording, btw, wasn't in there when I wrote my version. Must have missed a sync) I'm an edge

Re: compiler-faq

2004-05-31 Thread Leopold Toetsch
William Coleda wrote: I think it's worth mentioning C.flatten_arg in the first answer, and the wording of the second answer needs a bit more explanation, perhaps: Added a C.flatten_arg examples as well as your Cfoldup snippets from the previous mail. Thanks, leo

[CVS ci] aio test

2004-05-31 Thread Leopold Toetsch
I've added a test for AIO to the config system. You can watch this config step by running: perl Configure.pl ... --verbose-step=AIO I don't know, how linux-specific it is. Success/failure reports and patches for other posixish platforms welcome. leo

Re: $ENV{ICU_DATA_DIR}

2004-05-31 Thread Steve Fink
On May-30, Leopold Toetsch wrote: Steve Fink [EMAIL PROTECTED] wrote: Anyone mind if I commit this? The patch is fine. ... One thing I'm not sure of, though -- I try to behave myself and use Parrot_getenv rather than a plain getenv(), but I'm not convinced the API is complete --

Q: MMD splice

2004-05-31 Thread Steve Fink
The Perl6 compiler often appends on array onto another. Right now, it does this by iterating over the source array. I would like to just use the Csplice op, but I am now getting a mixture of PerlArrays (from Perl6) and Arrays (from Cfoldup), and the Csplice vtable entry only works if the types of

Re: Layering PMCs

2004-05-31 Thread Dan Sugalski
At 10:23 PM +0200 5/29/04, Stéphane Payrard wrote: You are considering read-ony PMC versus others. Another issue is properties. Many PMCs classes will support properties that will alter their behavior. But most PMC instances will have no property attached to them. Or just default values of them

Re: $ENV{ICU_DATA_DIR}

2004-05-31 Thread Nicholas Clark
On Sat, May 29, 2004 at 11:03:12PM -0700, Steve Fink wrote: +/* DEFAULT_ICU_DATA_DIR is configured at build time, or it may be + set through the $ICU_DATA_DIR environment variable. Need a way + to specify this via the command line as well. */ +data_dir =

Re: $ENV{ICU_DATA_DIR}

2004-05-31 Thread Steve Fink
On May-31, Nicholas Clark wrote: On Sat, May 29, 2004 at 11:03:12PM -0700, Steve Fink wrote: +/* DEFAULT_ICU_DATA_DIR is configured at build time, or it may be + set through the $ICU_DATA_DIR environment variable. Need a way + to specify this via the command line as well.

Re: Layering PMCs

2004-05-31 Thread Brent 'Dax' Royal-Gordon
Leopold Toetsch wrote: Combinatorial explosion. This already requires four variants (normal, const, threadsafe, const threadsafe), and we haven't even seen what real users will want to do with PMCs yet. Not quite. A const PMC is already thread-safe. Hmm, good point. (I guess you can't set

Re: Layering PMCs

2004-05-31 Thread chromatic
On Mon, 2004-05-31 at 21:26, Brent 'Dax' Royal-Gordon wrote: Can this be done with special subclasses? Sure. But if we do it with a true layering system, we get an incredible amount of power essentially for free. That sounds suspiciously like Perl 6 roles. -- c