Re: --pirate and coroutines

2004-10-11 Thread Sam Ruby
Dan Sugalski wrote: Separate op won't work for Python. Consider: def f(x,y): return x+y print f(5,6) # 11 print f("a","b") # ab Oh, sure it'd work, if you had an ADD_OR_CONCATENATE op with an appropriate MMD table. :) Conceptually, "+" is not an op at all in Python, it is syntatic sugar

Re: --pirate and coroutines

2004-10-11 Thread Dan Sugalski
At 2:03 PM -0400 10/11/04, Sam Ruby wrote: Dan Sugalski wrote: At 4:23 PM -0400 10/9/04, Michal wrote: On Sat, 9 Oct 2004, Sam Ruby wrote: Inheritance can reduce the combinatorial problem, but it can introduce a precendence question. The most interesting case still seems to be: mmd_lookup(MM

Re: --pirate and coroutines

2004-10-11 Thread Aaron Sherman
On Mon, 2004-10-11 at 14:03, Sam Ruby wrote: > Here's a script that will run in both Python and Perl. It simply will > return different results. > >print "1" + "2","\n",; >print "45%s8" % "7","\n",; >print 45 / 7 ,"\n",; >print ['a','b','c'],"\n",; >

Re: --pirate and coroutines

2004-10-11 Thread Sam Ruby
Dan Sugalski wrote: At 4:23 PM -0400 10/9/04, Michal wrote: On Sat, 9 Oct 2004, Sam Ruby wrote: Inheritance can reduce the combinatorial problem, but it can introduce a precendence question. The most interesting case still seems to be: mmd_lookup(MMD_ADD, PerlString, PyString) What if, as

Re: [perl #31765] Failure related to ncurses

2004-10-11 Thread Dan Sugalski
At 1:35 PM +0200 10/8/04, Leopold Toetsch wrote: Andy Dougherty <[EMAIL PROTECTED]> wrote: The biggest problem with the message is that it never tells you exactly *which* file was not found. Is the error message now more informative? In the runtime/parrot/library/ directory, the string 'libncur

Re: tinderbox

2004-10-11 Thread Dan Sugalski
At 12:01 AM +0200 10/10/04, Jens Rieks wrote: Hi, does anyone know what happend with http://tinderbox.perl.org? It is offline for quite some time now :-( It died as part of the meltdown of onion a while back. It's on the list 'o things to get back, but it hasn't gotten there yet. I'll go nudge an

Re: --pirate and coroutines

2004-10-11 Thread Dan Sugalski
At 4:23 PM -0400 10/9/04, Michal wrote: On Sat, 9 Oct 2004, Sam Ruby wrote: Inheritance can reduce the combinatorial problem, but it can introduce a precendence question. The most interesting case still seems to be: mmd_lookup(MMD_ADD, PerlString, PyString) What if, as a fallback mechanism,

Re: Pathological Register Allocation Test Generator

2004-10-11 Thread Dan Sugalski
At 4:58 PM -0700 10/2/04, Gregor N. Purdy wrote: Dan et al. -- I made a new version of the script that creates gen.cpp and gen.imc (attached). You can run it like this: perl gen-pra.pl 1000 1 (for 1000 labels and 1 variables) and it will create equivalent gen.imc and gen.cpp files. You ca

Lightweight Languages 2004 (LL4) CFP

2004-10-11 Thread Jeremy Hylton
Lightweight Languages 2004 (LL4) = http://ll4.csail.mit.edu/ Saturday, Dec. 4, 2004 MIT Stata Center, Cambridge MA Call for Presentations LL4 will be an intense, exciting, one-day forum bringing together the best programming language implementors and researchers, from bot

[perl #31932] [PATCH] t/pmc/signal.t (more accuracy finding process to HUP)

2004-10-11 Thread via RT
# New Ticket Created by Jeff Clites # Please include the string: [perl #31932] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31932 > Just a slight improvement in the logic used to find the PID of the process to signal.

[perl #31930] [PATCH] Use shared libparrot in src tests, if available

2004-10-11 Thread via RT
# New Ticket Created by Jeff Clites # Please include the string: [perl #31930] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31930 > This patch causes src tests to use the shared libparrot, if it exists. This speeds th

[perl #31928] [PATCH] fix warning in config/gen/platform/darwin/dl.c

2004-10-11 Thread via RT
# New Ticket Created by Jeff Clites # Please include the string: [perl #31928] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31928 > This patch makes scan_paths() copy the passed-in string, since strsep will modify it

[perl #31927] [PATCH] share v. load tweaks for Makefile, etc.

2004-10-11 Thread via RT
# New Ticket Created by Jeff Clites # Please include the string: [perl #31927] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31927 > Here is a patch with a few more fixes w.r.t. shared libs v. runtime loadable libs, mo

Re: parrotcode.org: release 0.1.1?

2004-10-11 Thread Dan Sugalski
At 8:37 AM -0400 10/11/04, William Coleda wrote: This is set to go, pending an article on use.perl.org. If Leo's comfortable that things are Working Fine, then push it out to parrotcode.org. Dan Sugalski wrote: At 3:41 PM +0200 10/10/04, Jerome Quelin wrote: Hey guys, We should update http://www.

Re: parrotcode.org: release 0.1.1?

2004-10-11 Thread William Coleda
This is set to go, pending an article on use.perl.org. Dan Sugalski wrote: At 3:41 PM +0200 10/10/04, Jerome Quelin wrote: Hey guys, We should update http://www.parrotcode.org to reflect the latest version since 0.1.1 is out! Is it something underway waiting for sync, or is it a forgetting? Probab

Re: [CVS ci] runtime prefix

2004-10-11 Thread Leopold Toetsch
Nicholas Clark wrote: The convention for perl5's tests isn't quite settled yet, but it seems to be evolving to PERL_CORE being in the environment for the test scripts Parrot now checks the env var PARROT_TEST. If it's defined, the runtime --prefix is ignored. leo

Re: [CVS ci] runtime prefix

2004-10-11 Thread Leopold Toetsch
Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Thu, Oct 07, 2004 at 11:25:49AM +0200, Leopold Toetsch wrote: >> Short version: an installed Parrot is now able to locate its ICU data. >> >> The longer story: During "make" a new file src/parrot_config.c is >> created holding currently just one entry:

Re: [perl #31920] Win32 nci test failure - tests 35-37 42-43

2004-10-11 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > # cb didnt run Yep. Callbacks are all considered being asynchronous. That means: running callbacks need the event loop running, which isn't the case for Windows. These tests should be skipped on Win32 and moved to event.t or similar. Additionally it woul