Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Leopold Toetsch
Jonathan Sillito <[EMAIL PROTECTED]> wrote: > This patch converts parrot to a continuation passing style. You seem to be changing current tests WRT invoke - does invoke still work as it did? Or more specifically: Do imcc tests and perl6 test still pass? > I am not satisfied with the time taken t

Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Jerome Vouillon
On Tue, Jun 10, 2003 at 04:59:50PM -0700, Robert Spier wrote: > > > mistral-jerome:/tmp > time python test.py > > > python test.py 2,59s user 0,00s system 100% cpu 2,582 total > > > mistral-jerome:/tmp > ocamlc -o tst test.ml; time ./tst > > > ./tst 0,14s user 0,00s system 106% cp

Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Jerome Vouillon
On Tue, Jun 10, 2003 at 04:00:07PM -0700, Jonathan Sillito wrote: > > -Original Message- > > From: Jerome Vouillon [mailto:[EMAIL PROTECTED] > > > > The python interpreter seems rather slow. I get these numbers with the > > Ocaml bytecode interpreter. > > > > mistral-jerome:/tmp > time

[PATCH] perl 5.005's mkdir required the 'mask' argument

2003-06-11 Thread Andy Dougherty
This patch is necessary to get parrot to build with perl 5.00503 -- the mode argument to mkdir() wasn't optional back then. --- parrot-current/config/gen/makefiles/root.in Fri May 30 11:00:09 2003 +++ parrot-andy/config/gen/makefiles/root.inWed Jun 11 15:26:29 2003 @@ -150,7 +150,7 @@ PERL =

#error "generic platform without memalign"

2003-06-11 Thread Nicholas Clark
I've got a p6i backlog, so I don't know if this is already solved. However, on a fresh CVS checkout on FreeBSD I can't compile: cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused

Re: #error "generic platform without memalign"

2003-06-11 Thread Andy Dougherty
On Wed, 11 Jun 2003, Nicholas Clark wrote: > I've got a p6i backlog, so I don't know if this is already solved. > However, on a fresh CVS checkout on FreeBSD I can't compile: > > cc -Wall -Wstrict-prototypes -Wmissing-prototypes -Winline -Wshadow -Wpointer-arith > -Wcast-qual -Wcast-align -Wwrite

Re: #error "generic platform without memalign"

2003-06-11 Thread Leopold Toetsch
Nicholas Clark <[EMAIL PROTECTED]> wrote: > I've got a p6i backlog, so I don't know if this is already solved. > However, on a fresh CVS checkout on FreeBSD I can't compile: > platform.c:167: #error "generic platform without memalign" > What's the solution? There are some, probably all do involv

RE: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Jonathan Sillito
> -Original Message- > From: Leopold Toetsch [mailto:[EMAIL PROTECTED] > > Jonathan Sillito <[EMAIL PROTECTED]> wrote: > > > This patch converts parrot to a continuation passing style. > > You seem to be changing current tests WRT invoke - does invoke still > work as it did? Or more specifi

Re: #error "generic platform without memalign"

2003-06-11 Thread Leopold Toetsch
Andy Dougherty <[EMAIL PROTECTED]> wrote: > I believe that one possibility is to use the supplied malloc.c file, which > has a memalign implementation. Yep. > It comes from this section of include/parrot/pobj.h: > /* > * arenas are constant sized ~32 byte object size, ~128K objects >

no update to archives in last couple weeks?

2003-06-11 Thread Steven Grady
I don't subscribe to perl6-internals, but I do read the archive regularly. Are people aware that the archive hasn't been updated since May 26? http://archive.develooper.com/[EMAIL PROTECTED]/ Of course, you perl6-internals members probably aren't responsible for this archive, but I don't kno

Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Jonathan Sillito
On Wed, 11 Jun 2003, Leopold Toetsch wrote: > Jonathan Sillito wrote: > > Why not just leave the old behaviour? > IMHO[1]: > - Make a new class based on Continuations > - invokecc and such are based on it [snip] > [1] I don't know too much about all the HL stuff. But anyway, some > languages m

Re: [perl #22633] [PATCH] convert parrot to continuation passing style

2003-06-11 Thread Luke Palmer
Jonathan Sillito writes: > Here is another suggestion (I think I mentioned this in another email) we > could support a few different types of continuations. The simplest > continuation could be just a saved return address (i.e. an opcode_t*). > This would be roughly as lightweight as the current

[perl #22645] IMCC Nested .subs cause segfaults

2003-06-11 Thread Clinton A. Pierce
# New Ticket Created by "Clinton A. Pierce" # Please include the string: [perl #22645] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=22645 > I'm exploring IMCC's ability to have nested subs. The following code: .sub _mai

Re: Current CVS broken?

2003-06-11 Thread Brian Wheeler
Yep, that did it! Thanks! Brian On Mon, 2003-06-09 at 23:11, Paul Fisher wrote: > Brian Wheeler <[EMAIL PROTECTED]> writes: > > > Any thoughts? > > Are you running RHL 9? If so, unset LANG and try rebuilding. > > Default RHL 9 w/ LANG="en_US.UTF-8": > > $ make jit_cpu.c > /usr/bin/perl jit2

Something to pass the time.

2003-06-11 Thread Clinton A. Pierce
If you want something to play with, update the languages/BASIC/compiler tree and run the chess program. perl compile.pl samples\chess.bas ..\..\imcc\imcc.exe TARG_test.imc (modify for your path delimiters, executable extensions, etc... use a recent version of imcc too) I spent t