Re: Some tasks for the interested

2004-07-06 Thread Leopold Toetsch
Dan Sugalski wrote: At 8:42 AM +0200 7/1/04, Leopold Toetsch wrote: Probably. More a set_imaginary than set_compex, though. I don't think that's needed as such for the benchmark, though. (And should it take a BIGNUM or a NUMVAL?) NUMVAL. But for now, I'm using strings, which works fine. Too less

Re: Some tasks for the interested

2004-07-06 Thread Dan Sugalski
At 8:42 AM +0200 7/1/04, Leopold Toetsch wrote: Dan Sugalski <[EMAIL PROTECTED]> wrote: And I'm now thinking that we want to do mmd for assignment. Dammit. :( Don't think so. We need, ehem, probably, set_complex, get_complex and so on vtables. Complex is a basic type like integer, number, or bignu

Re: Some tasks for the interested

2004-07-01 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > And I'm now thinking that we want to do mmd for assignment. Dammit. :( Don't think so. We need, ehem, probably, set_complex, get_complex and so on vtables. Complex is a basic type like integer, number, or bignum. def main(): i = complex(2 + 1j)

Re: Some tasks for the interested

2004-06-28 Thread Ion Alexandru MOREGA
Dan Sugalski wrote: <>Cool, go for it. I'd think that for the set_(integer|number) vtable slots we'd set the real part and make the imaginary part 0, while the string version'd look for the "x + yi" version. And have set_num_keyed set the real and the imaginary part (indexed as strings, say "real

Re: Some tasks for the interested

2004-06-28 Thread Dan Sugalski
On Mon, 28 Jun 2004, Ion Alexandru Morega wrote: > Jonathan Worthington wrote: > > "Leopold Toetsch" <[EMAIL PROTECTED]> wrote: > > > >>1) Python has a complex builtin class. So we'll need one too. > >>* Create a complex PMC. > >>* Parse complex constants '4j' > > > > j? I've always used

Re: Some tasks for the interested

2004-06-28 Thread Ion Alexandru Morega
Jonathan Worthington wrote: "Leopold Toetsch" <[EMAIL PROTECTED]> wrote: 1) Python has a complex builtin class. So we'll need one too. * Create a complex PMC. * Parse complex constants '4j' j? I've always used i as the imaginary unit, though I believe j is used more in engineering fields ('c

Re: Some tasks for the interested

2004-06-27 Thread Jonathan Worthington
"Leopold Toetsch" <[EMAIL PROTECTED]> wrote: > 1) Python has a complex builtin class. So we'll need one too. > * Create a complex PMC. > * Parse complex constants '4j' j? I've always used i as the imaginary unit, though I believe j is used more in engineering fields ('cus they use i for cu

Some tasks for the interested

2004-06-27 Thread Leopold Toetsch
1) Python has a complex builtin class. So we'll need one too. * Create a complex PMC. * Parse complex constants '4j' * Put these constants into the PBC? 2) We need a *array.sort (NCI) method(s) That's kind of a PITA: The fixed/resizable array PMCs don't have push/pop/unshift/shift ..

Re: Some tasks for the interested

2002-06-01 Thread Jason Gloudon
On Thu, Apr 25, 2002 at 01:58:29PM -0400, Dan Sugalski wrote: > 1) We need to have a set of 'new stack frame' ops that close out the > current stack frames and start new ones. Should take an optional size > that presizes the stacks. > 3) The stack chunks need to be decoupled from the chunk hea

Re: Some tasks for the interested

2002-04-28 Thread Melvin Smith
At 12:18 PM 4/28/2002 -0400, Dan Sugalski wrote: >At 8:32 AM -0400 4/26/02, Melvin Smith wrote: >>I might take a look at 3&4 this weekend if I can finish moving. > >I thought you were busy getting married and honeymooning and such? I do >*not* want to be responsible for your SO having to find a c

Re: Some tasks for the interested

2002-04-28 Thread Dan Sugalski
At 3:55 PM -0700 4/28/02, Steve Fink wrote: >On Sun, Apr 28, 2002 at 12:18:19PM -0400, Dan Sugalski wrote: >> As for the closeout thing, what I'm thinking of is a way to say "This >> stack frame is complete" and start a new frame, even if there's still >> space left in the stack chunk. Doing th

Re: Some tasks for the interested

2002-04-28 Thread Steve Fink
On Sun, Apr 28, 2002 at 12:18:19PM -0400, Dan Sugalski wrote: > As for the closeout thing, what I'm thinking of is a way to say "This > stack frame is complete" and start a new frame, even if there's still > space left in the stack chunk. Doing this makes continuations and > co-routines easier.

Re: Some tasks for the interested

2002-04-28 Thread Dan Sugalski
At 8:32 AM -0400 4/26/02, Melvin Smith wrote: >I might take a look at 3&4 this weekend if I can finish moving. I thought you were busy getting married and honeymooning and such? I do *not* want to be responsible for your SO having to find a convenient place to dump your body... :) >Concerning

Re: Some tasks for the interested

2002-04-26 Thread Melvin Smith
TED]> To: [EMAIL PROTECTED] cc: 04/25/2002 01:58 Subject: Some task

Re: Some tasks for the interested

2002-04-25 Thread Steve Fink
On Thu, Apr 25, 2002 at 01:58:29PM -0400, Dan Sugalski wrote: > 2) We need a pure-integer stack I volunteer Brent Dax for that one. Hey, he's done already! :-) rxstacks.c has exactly that. It just needs a rename. Hm. And maybe a memory management checkup.

Some tasks for the interested

2002-04-25 Thread Dan Sugalski
Okay, here are a few tasks for the interested. 1) We need to have a set of 'new stack frame' ops that close out the current stack frames and start new ones. Should take an optional size that presizes the stacks. 2) We need a pure-integer stack 3) The stack chunks need to be decoupled from the