Jeff Horwitz wrote:
1. can you still dlopen the running image by passing a NULL string to loadlib?
No. Didn't work that way, IIRC
2. can you dlsym (via dlfunc) a statically linked function?
Yes. Pass NULL for the library PMC:
.sub main @MAIN
.local pmc nul
null nul
.local NCI f
.loc
Steve Fink <[EMAIL PROTECTED]> wrote:
> The patch adds an additional target to config/gen/makefiles.pl: instead
> of just converting config/gen/makefiles/dynclasses.in to
> dynclasses/Makefile, it also converts
> config/gen/makefiles/dynclasses.pl.in to dynclasses/build.pl, and
Tiny nit: for consi
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 (initializ
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
( http://www.developer
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:
> >
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.
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 a
Herbert Snorrason <[EMAIL PROTECTED]> writes:
> Since this list has been started, I'd assume that means work on the
> final Perl6 compiler is about to start. (Although, with this crowd,
> you never do know...)
>
> In the interest of a layman's curiosity: What's the current status?
>
> (And I alrea
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 proba
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:
$ expor
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
Aaron Sherman <[EMAIL PROTECTED]> writes:
> On Thu, 2004-09-09 at 13:14, Larry Wall wrote:
>
>> So whereas Ruby's syntax actually tends to push you toward .each
>> iterators, Perl 6's syntax will be fairly neutral on the subject,
>> or maybe biased every so slightly away from method iteration by t
On Thu, 2004-09-09 at 13:14, Larry Wall wrote:
> So whereas Ruby's syntax actually tends to push you toward .each
> iterators, Perl 6's syntax will be fairly neutral on the subject,
> or maybe biased every so slightly away from method iteration by the
> width of about one character:
>
> for @
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. Take
Michele Dondi writes:
> On Thu, 2 Sep 2004, Larry Wall wrote:
>
> > To declare a multidimensional array, you add a shape parameter:
> >
> > my num @nums is shape(3); # one dimension, @nums[0..2]
> > my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
>
> Just a random thou
On Wed, Sep 08, 2004 at 11:00:54PM -0700, Steve Fink wrote:
: I vote for leaving all of these sorts of cases undefined. Well,
: partially defined -- I'd rather we didn't allow ($a = "aaa") =~ s/a/b/g
: to turn $a into "gawrsh". At the very least, define the exact number of
: output and stores for "
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 inter
Joseph Ryan wrote:
macro prolog is parsed(m:w/
\: ([
<[^p]>+ ::
| p
]+)
prolog \. ;
/) {
eval($_, "prolog");
}
But, this is perl6-language stuff anyways. (:
Ah yes. Sorry. I try to read both whenever I have
some time. I did not che
On Thu, Sep 09, 2004 at 09:27:36AM -0700, David Wheeler wrote:
: On Sep 9, 2004, at 9:14 AM, Larry Wall wrote:
:
: >I just borrowed the -> from Perl 5 because I knew it was available,
: >and I thought it read better for C loops than the Ruby approach.
:
: Interestingly, I was at PDX.pm last night
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
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 co
On Sep 9, 2004, at 9:14 AM, Larry Wall wrote:
I just borrowed the -> from Perl 5 because I knew it was available,
and I thought it read better for C loops than the Ruby approach.
Interestingly, I was at PDX.pm last night for a presentation entitled,
"Ruby for Perl Programmers." One of the things t
John Macdonald writes:
> As an array index -1 and 0 give you the 2 ends. The perl5
> code to alternately extract elements from the two eds of an
> array can be something like:
>
> my $end = 0; # -1 to start with right end
>
> while( @array ) {
> my $next = splice( @array, $end
On Thu, Sep 09, 2004 at 03:20:22PM +0200, Michele Dondi wrote:
: I hope not to raise too much the noise/signal level on list, but I have a
: question: I have had a long experience programming my HP28s pocket
: calculator, and its RPN language that AFAIK is mostly the same as that of
: newer models,
On Thu, Sep 09, 2004 at 03:09:47PM +0200, Michele Dondi wrote:
> On Thu, 2 Sep 2004, Larry Wall wrote:
>
> > And yes, an C can store only -1 or 0. I'm sure someone'll think of
> > a use for it...
>
> Probably OT, but I've needed something like that badly today: "working" on
> a japh that turned
At 6:40 PM +0200 9/8/04, Leopold Toetsch wrote:
Dan Sugalski wrote:
At 4:41 PM +0200 9/8/04, Leopold Toetsch wrote:
No. As layed out my scheme doesn't need any register backing stacks.
If you're cloning the context every time someone pushes a register
frame... that's a bit excessive.
There are no
> 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, nu
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
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 som
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 com
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 t
I hope not to raise too much the noise/signal level on list, but I have a
question: I have had a long experience programming my HP28s pocket
calculator, and its RPN language that AFAIK is mostly the same as that of
newer models, supported constructs of the form
-> a b << ... >>
where C<< -> >>
Michele Dondi wrote:
On Thu, 2 Sep 2004, Larry Wall wrote:
To declare a multidimensional array, you add a shape parameter:
my num @nums is shape(3); # one dimension, @nums[0..2]
my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
Just a random thought, and probably a minor poi
On Thu, 2 Sep 2004, Larry Wall wrote:
> And yes, an C can store only -1 or 0. I'm sure someone'll think of
> a use for it...
Probably OT, but I've needed something like that badly today: "working" on
a japh that turned out to require mostly golfing skills (and not that I
have many, I must admit)
On Thu, 2 Sep 2004, Larry Wall wrote:
> To declare a multidimensional array, you add a shape parameter:
>
> my num @nums is shape(3); # one dimension, @nums[0..2]
> my int @ints is shape(4;2); # two dimensions, @ints[0..3; 0..1]
Just a random thought, and probably a minor point: I know
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
app
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 = dest
Nicholas Clark wrote:
On Tue, Sep 07, 2004 at 06:07:24PM +0200, James Mastros wrote:
4. The single-file, platform dependent, machine language executable
(realexe).
Which parrot can already do. (Or at least could, but I don't think that
anyone's been checking on it recently)
Er, right -- I'd meant
# New Ticket Created by Steve Fink
# Please include the string: [perl #31493]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org:80/rt3/Ticket/Display.html?id=31493 >
---
osname= linux
osvers= 2.4.21-1.1931.2.382.entsmp
arch= i386-linux-thread-multi
cc
39 matches
Mail list logo