Python and Perl interop (was: --pirate and coroutines)

2004-10-12 Thread Leopold Toetsch
Dan Sugalski wrote: At 2:03 PM -0400 10/11/04, Sam Ruby 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. :) Yes, *but" we have to do t

Re: [perl #31916] [PATCH] minor cvsignore and progclean tweaks

2004-10-12 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > Added win32 cl pdb and ilk files. [ snip ] Thanks, applied. leo

Re: [PATCH] classes/perlint.pmc

2004-10-12 Thread Leopold Toetsch
Sam Ruby <[EMAIL PROTECTED]> wrote: > Fix for a minor problem. Found by inspection. Thanks, applied. leo

Re: parrotcode.org: release 0.1.1?

2004-10-12 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > 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. While there's always more breakage report after a release

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

2004-10-12 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > This patch makes scan_paths() copy the passed-in string, Thanks, applied, as well as #31927 leo

[perl #31938] [PATCH] add missing get_repr() op

2004-10-12 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #31938] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31938 > The get_repr was present in vtable but missing as an op. I added it and added a t

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

2004-10-12 Thread Leopold Toetsch
Jeff Clites <[EMAIL PROTECTED]> wrote: > This patch causes src tests to use the shared libparrot, if it exists. > This speeds them up on my system by almost a factor of 3 (due to less > copying, since the .a is so large). Thanks, applied. #31932 too + a small extension. leo

Re: Link failure on amd64

2004-10-12 Thread Leopold Toetsch
Adam Thomason <[EMAIL PROTECTED]> wrote: > libnci.so fails to build on amd64/Linux because nci_test.o isn't > compiled with -fPIC, which is a requirement of assembling a shared > library on that platform. It's linked with -fPIC [1], but that might be wrong of course. If we've to compile with -fPIC

Re: [perl #31938] [PATCH] add missing get_repr() op

2004-10-12 Thread Leopold Toetsch
Stephane Payrard <[EMAIL PROTECTED]> wrote: > +++ ./ops/pmc.ops 2004-10-11 22:30:10.819391992 +0200 > +op get_repr(out STR, in PMC) { > +$1 = $2->vtable->get_repr(interpreter, $2); > +goto NEXT(); To op or not to op that's again the question. Pie-thon code just does: $Py = $Px."rep

[perl #31949] [TODO] finhish complex PMC

2004-10-12 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #31949] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31949 > The Complex PMC arithmetic MMD vtables (add, subtract, divide) blindly assume tha

Re: Python and Perl interop

2004-10-12 Thread Sam Ruby
Leopold Toetsch wrote: Dan Sugalski wrote: At 2:03 PM -0400 10/11/04, Sam Ruby 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. :) Yes

Re: parrotcode.org: release 0.1.1?

2004-10-12 Thread Will Coleda
Is there an announcement on use.perl.org yet? On Tue, Oct 12, 2004 at 10:39:39AM +0200, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > 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

Re: [perl #31765] Failure related to ncurses

2004-10-12 Thread Andy Dougherty
On Fri, 8 Oct 2004, Leopold Toetsch via RT 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? I can't tell at the moment. The build never g

Re: Python and Perl interop

2004-10-12 Thread Leopold Toetsch
Sam Ruby <[EMAIL PROTECTED]> wrote: > Leopold Toetsch wrote: > In Python terms, __add__ is but one of several methods that strings > have. Other common ones include index, join, lower, replace, and split. I just used __add__ as an example. Of course all (differing) vtables and methods would need

announcement

2004-10-12 Thread Will Coleda
I'll see about getting the announcement out on use.perl.org

[perl #31953] [PATCH] support of multiple identifiers in a .sym directive

2004-10-12 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #31953] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31953 > This patch supports the declaration of multiple identifiers in a single .sym / .

Re: Parrot 0.1.1 "Poicephalus" Released!

2004-10-12 Thread Mathieu Arnold
+-le 10/10/2004 18:41 +0200, Leopold Toetsch a dit : | Mathieu Arnold wrote: |> $ ./test |> ok |> $ ./test |> Illegal instruction (core dumped) | | Can you proivde a patch to use this CPU for random number generation ;) I'd love to :-) | Is the test sane? I don't know much about that, and I don

Re: parrotcode.org: release 0.1.1?

2004-10-12 Thread Dan Sugalski
At 6:35 AM -0700 10/12/04, Will Coleda wrote: Is there an announcement on use.perl.org yet? Not that I see, no. On Tue, Oct 12, 2004 at 10:39:39AM +0200, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 8:37 AM -0400 10/11/04, William Coleda wrote: >>This is set to go, pending

[Fwd: Register stacks again]

2004-10-12 Thread Leopold Toetsch
Didn't get much response last time I came up with this. But as we really have to improve calling speed, here is again the original text. Below are some additional remarks. Original Message Subject: Register stacks again Date: Sat, 08 May 2004 13:29:20 +0200 From: Leopold Toetsc

Re: Python and Perl interop

2004-10-12 Thread Steve Fink
Perl5 has the notion of contexts, where an expression may behave very differently in string, boolean, or list context. Perl6 intends to expand that notion. What if the whole context notion were moved down into Parrot? Every function call and every MMD dispatch could have an additional context param

Re: [perl #31765] Failure related to ncurses

2004-10-12 Thread Andy Dougherty
On Tue, 12 Oct 2004, Andy Dougherty wrote: > On Fri, 8 Oct 2004, Leopold Toetsch via RT 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 i

Am I a part of this world ?

2004-10-12 Thread Pratik Chandra Roy
Hello everyone, I registered myself yesterday, and have recieved a few emails from various people. I believe everyone here is busy with some or the other activity related to the development/testing of perl6/parrot. I was wondering, whether I would just remain a mere spectator, or will I get an o

Re: Am I a part of this world ?

2004-10-12 Thread Matt Diephouse
On Tue, 12 Oct 2004 09:58:12 -0700 (PDT), Pratik Chandra Roy <[EMAIL PROTECTED]> wrote: > I was wondering, whether I would just remain a mere > spectator, or will I get an opportunity to do anything > as well. Please! Jump in! > Since I am a new comer to your group, I would > appreciate if someon

Re: Am I a part of this world ?

2004-10-12 Thread Brent 'Dax' Royal-Gordon
Pratik Chandra Roy <[EMAIL PROTECTED]> wrote: > I was wondering, whether I would just remain a mere > spectator, or will I get an opportunity to do anything > as well. Hello Patrik, Parrot isn't really an environment where people are *assigned* work; they just do something that's necessary. If y

Re: Am I a part of this world ?

2004-10-12 Thread Dan Sugalski
At 10:47 AM -0700 10/12/04, Brent 'Dax' Royal-Gordon wrote: Pratik Chandra Roy <[EMAIL PROTECTED]> wrote: I was wondering, whether I would just remain a mere spectator, or will I get an opportunity to do anything > as well. If you're using Windows, there are several todo items specifically for t

Re: Am I a part of this world ?

2004-10-12 Thread Matt Fowles
All~ I definitely have to agree with that. If I could have this working on VS/.NET (the free version), my level of contribution would probably go up a fair amount... Matt On Tue, 12 Oct 2004 14:00:53 -0400, Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 10:47 AM -0700 10/12/04, Brent 'Dax' Royal

Close ticket "(31026) Fix generation of src/nci.c to be more efficient"?

2004-10-12 Thread Matt Fowles
All~ According to the rt messages and back forth, this is resolved... http://rt.perl.org/rt3//Ticket/Display.html?id=31026 Is it? Matt -- "Computer Science is merely the post-Turing Decline of Formal Systems Theory." -???

Re: Close ticket "(31026) Fix generation of src/nci.c to be more efficient"?

2004-10-12 Thread chromatic
On Tue, 2004-10-12 at 11:20, Matt Fowles wrote: > According to the rt messages and back forth, this is resolved... > > http://rt.perl.org/rt3//Ticket/Display.html?id=31026 > > Is it? It's *more* efficient, yes, but it's not pretty. The interpreter initializes a couple of NCI subs before it cre

non-vtable methods on builtin pmcs

2004-10-12 Thread Sam Ruby
I know that there is no reason why this shouldn't work, but I tried it anyway: I tried adding methods to existing (builtin) PMCs. In this case, I added a "find" method to a PyString (a near clone of PerlString). What I found was that I could add a regular method, but __init methods won't get c

Re: Am I a part of this world ?

2004-10-12 Thread Jonathan Worthington
"Dan Sugalski" <[EMAIL PROTECTED]> wrote: > At 10:47 AM -0700 10/12/04, Brent 'Dax' Royal-Gordon wrote: > >Pratik Chandra Roy <[EMAIL PROTECTED]> wrote: > >> I was wondering, whether I would just remain a mere > >> spectator, or will I get an opportunity to do anything > > > as well. > > > >If y

Re: Am I a part of this world ?

2004-10-12 Thread Brent 'Dax' Royal-Gordon
Jonathan Worthington <[EMAIL PROTECTED]> wrote: > I didn't/don't have VS.NET, so my implementation in icu.pl only works for > VS6. Sorry. The basic problem is that we have to build from the VS6 > project files at the moment. There is, I believe, a way to convert these to > makefiles which we'd s

Re: [perl #31765] Failure related to ncurses

2004-10-12 Thread Nicholas Clark
On Tue, Oct 12, 2004 at 12:47:42PM -0400, Andy Dougherty wrote: > On Tue, 12 Oct 2004, Andy Dougherty wrote: > > > On Fri, 8 Oct 2004, Leopold Toetsch via RT wrote: > > > > > Andy Dougherty <[EMAIL PROTECTED]> wrote: > > > > > > > The biggest problem with the message is that it never tells you exa

[perl #31962] [PATCH] synchronous NCI callbacks

2004-10-12 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #31962] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31962 > Hi, this a hack that should make support for 'libsyck', a YAML Parser in C,

Re: [perl #31938] [PATCH] add missing get_repr() op

2004-10-12 Thread Stéphane Payrard
On Tue, Oct 12, 2004 at 12:14:29PM -, Leopold Toetsch via RT wrote: > Stephane Payrard <[EMAIL PROTECTED]> wrote: > > +++ ./ops/pmc.ops 2004-10-11 22:30:10.819391992 +0200 > > > +op get_repr(out STR, in PMC) { > > +$1 = $2->vtable->get_repr(interpreter, $2); > > +goto NEXT(); > > To

Re: parrotcode.org: release 0.1.1?

2004-10-12 Thread William Coleda
http://www.parrotcode.org/ has been updated (Thanks, ask.) The use.perl.org announcement is at: http://use.perl.org/article.pl?sid=04/10/12/1530208&tid=33&tid=42 Dan Sugalski wrote: At 6:35 AM -0700 10/12/04, Will Coleda wrote: Is there an announcement on use.perl.org yet? Not that I see, no. On T