Re: Semantics for regexes - copy/snapshot

2004-09-09 Thread Steve Fink
On Sep-09, [EMAIL PROTECTED] wrote: On Wed, 8 Sep 2004, Chip Salzenberg wrote: According to [EMAIL PROTECTED]: So how many stores do we expect for ($a = xxx) =~ s/a/b/g and which of the possible answers would be more useful? I think it depends on C($a = aaa) =~ s/a/b/g. I

[perl #31493] Overlapping memory corruption

2004-09-09 Thread via RT
# New Ticket Created by Steve Fink # Please include the string: [perl #31493] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31493 --- osname= linux osvers= 2.4.21-1.1931.2.382.entsmp arch=

Re: [perl #31493] Overlapping memory corruption

2004-09-09 Thread Leopold Toetsch
Steve Fink (via RT) wrote: I won't go through all the details of what I looked at (though I'll post them in my blog eventually), but what's happening is that this line (from perlhash.pmc's clone() implementation) is corrupting the flags field: ((Hash*)PMC_struct_val(dest))-container =

Re: multiple languages clarification - newbie

2004-09-09 Thread Aaron Sherman
On Wed, 2004-09-08 at 18:02, Richard Jolly wrote: Can you really do this: #!/usr/bin/perl6 use __Python::sys;# whatever syntax sys.stdout.write( 'hi there');# perl6 syntax matches python syntax There's some confusion in the responses between syntax merging (not

nci and the running process image

2004-09-09 Thread Jeff Horwitz
okay, i'm bringing back a thread from a year ago. for mod_parrot, i'd like to be able to loadlib the running process image (httpd) and dlfunc the various apache API functions. however, while this works for libc functions, and any other functions from shared libraries, it appears not to work for

Re: No Autoconf, dammit!

2004-09-09 Thread Aaron Sherman
On Wed, 2004-09-08 at 12:40, Larry Wall wrote: have to be careful to separate architectural parameters from policy parameters. An architectural parameter says your integers are 32 bits. A policy parameter says you want to install the documentation in the /foo/bar/baz directory. Cross

Cross compiling (extracting knowlege from autoconf?)

2004-09-09 Thread Aaron Sherman
On Wed, 2004-09-08 at 17:40, Rhys Weatherley wrote: On Thursday 09 September 2004 02:40 am, Larry Wall wrote: An interesting question would be whether we can bootstrap a Parrot cross-compile database using autoconf's *data* without buying into the shellism of autoconf. Or give someone

Re: nci and the running process image

2004-09-09 Thread Dan Sugalski
At 11:02 AM -0400 9/9/04, Jeff Horwitz wrote: okay, i'm bringing back a thread from a year ago. for mod_parrot, i'd like to be able to loadlib the running process image (httpd) and dlfunc the various apache API functions. however, while this works for libc functions, and any other functions from

Re: nci and the running process image

2004-09-09 Thread Jeff Horwitz
I think the problem here is that you need to pass a NULL into dlopen for the filename to get the main image, not a null string. [snip] null $S0 loadlib self_lib, $S0 that's exactly what i was doing -- i should have included more of the actual code in my original mail (i admit,

Re: nci and the running process image

2004-09-09 Thread Jeff Horwitz
i put my old code back in and got apache to segfault. here's a backtrace, which confirms the offending code, but it doesn't offer much explanation. btw, i'm working off a CVS update from last night. #0 0xb713b11a in Parrot_dlfunc_p_p_sc_sc (cur_opcode=0xb52a80d0, interpreter=0x815fc50) at

Re: Probing for Configurations

2004-09-09 Thread Gregory Keeney
Thomas Seiler wrote: Couldn't we split the probing into two phases ? Let's asume for a moment that it's easy to build a miniparrot for ethier the host or the target. The first phase would run on the host and prepare the tests and a miniparrot for the target, but not run them. The seconde phase

Re: multiple languages clarification - newbie

2004-09-09 Thread mAsterdam
Joseph Ryan wrote: macro prolog is parsed(m:w/ \: ([ [^p]+ :: | !before ^^prolog \. ;$$ p ]+) prolog \. ; /) { eval($_, prolog); } But, this is perl6-language stuff anyways. (: Ah yes. Sorry. I try to read both whenever I have some

Parrot 0.1.0 still?

2004-09-09 Thread Joshua Gatcomb
We haven't had a new release since Feb 29th. From what I have seen from the various on-line forums, newcomers aren't aware of the progress since then. The latest round of discussion appears to have resulted in the following guidelines from our fearless leader: 1. Divorce internals from

Constant STRINGs from C source

2004-09-09 Thread Dan Sugalski
These are *real* constant constants -- things that are constant at compile time. The source has a bunch of them scattered around. Leo put in the initial support for these things, and I've added them to some more files. To declare a compile-time STRING constant, use the CONST_STRING macro.

Re: No Autoconf, dammit!

2004-09-09 Thread Brent 'Dax' Royal-Gordon
Robert Schwebel [EMAIL PROTECTED] wrote: sh doesn't run on all platforms that perl has done historically. On which platforms shall perl run _today_ which is not able to run sh? Windows, you insensitive clod. :^P In all seriousness, this is an area where you have to be very careful to

Re: No Autoconf, dammit!

2004-09-09 Thread Brent 'Dax' Royal-Gordon
Timm Murray [EMAIL PROTECTED] wrote: *) Person building runs platform-specific script If that script is going to be platform-specific anyway, why not use Autoconf for the platforms that can handle it? By platform-specific, we mean that on Unix you'll have to run this command: $ export

Re: Semantics for regexes - copy/snapshot

2004-09-09 Thread Chip Salzenberg
According to Larry Wall: I don't claim to follow all this talk about stores Think about tied values. When does STORE get called, precisely, on a tied target of s///? It's good to be explicit about this, down at the C API level, just so we know what to optimize for. The final answer is

Re: Probing for Configurations

2004-09-09 Thread Thomas Seiler
Gregory Keeney wrote: Thomas Seiler wrote: Couldn't we split the probing into two phases ? The problem is that getting stuff on and off your target host is not always trivial. [...] It is especially not true in the embedded world. Until I have parrot IO libraries, I am not going to be getting

Topaz postmortem?

2004-09-09 Thread Matt Fowles
Chip~ I am vaguely familiar with Topaz and a google search turns up a great deal of out of date information. Is there somewhere I can find a postmortem of what went wrong/why the project was abandoned? Thanks, Matt -- Computer Science is merely the post-Turing Decline of Formal Systems Theory.

Re: [perl #31493] Overlapping memory corruption

2004-09-09 Thread Steve Fink
On Sep-09, Leopold Toetsch wrote: Steve Fink (via RT) wrote: I won't go through all the details of what I looked at (though I'll post them in my blog eventually), but what's happening is that this line (from perlhash.pmc's clone() implementation) is corrupting the flags field:

Re: Topaz postmortem?

2004-09-09 Thread mAsterdam
Matt Fowles wrote: I am vaguely familiar with Topaz and a google search turns up a great deal of out of date information. Is there somewhere I can find a postmortem of what went wrong/why the project was abandoned? An article by Allison Randal, Dan Sugalski, Leopold Tötsch (

Re: Config parameter files

2004-09-09 Thread Brent 'Dax' Royal-Gordon
Dan Sugalski [EMAIL PROTECTED] wrote: Step 1: We probe, and build a config file (not config.h, mind) with our results. Step 2: We take the config file and build config.h and choose (or build) the right platform.h/platform.c file. Internally, Configure is a four-step process (initialization,