[Patch] math.ops

2002-06-13 Thread Josef Höök
I've added a couple of functions to math.ops now. What do you think about adding complex functions? ( complex.h ) /josef diff -urN parrot.orig/MANIFEST parrot/MANIFEST --- parrot.orig/MANIFESTThu Jun 13 00:12:15 2002 +++ parrot/MANIFEST Thu Jun 13 09:31:56 2002 @@ -354,6 +

Globals!

2002-06-13 Thread Dan Sugalski
Folks, We have global variables. (And have for some time, according to the commit logs) I've tweaked core.ops a little, made sure the global symbol table is part of the root set for the GC, and added in a test for it. Anyone got anything else on the todo list that's actually done? :) --

Assembler bug

2002-06-13 Thread Melvin Smith
I'll put this into RT tracker. I noticed this while integrating some code from Angel Faus for the IMCC compiler. The assembler currently does not check if your register is in the correct range. So it allows: set I11, -1 At least I don't think we've implemented unlimited register file size.

IMCC 0.0.3 beefs up

2002-06-13 Thread Melvin Smith
I've just committed the 3rd revision of the Parrot intermediate compiler. Angel Faus has added register spilling to work with the graph-coloring allocator. Currently we spill regs to an array in P31. Given that we don't have random access stacks, this is the only fast way to do this. Much thanks

Re: Assembler bug

2002-06-13 Thread Jeff
Melvin Smith wrote: > > I'll put this into RT tracker. > > I noticed this while integrating some code from Angel Faus for > the IMCC compiler. The assembler currently does not check > if your register is in the correct range. So it allows: > > set I11, -1 > > At least I don't think we've i

parrot 0.0.6 on win2k

2002-06-13 Thread pascal barbedor
hi i am under win 2k perl 5.6.1 i have dowloaded and tried 0.0.6 there is a pb to compile (that is easely catched) is it the place to give the patch ? after that parrot .exe cannot run any program, the message is : segfault for the fact.pasm given in examples directory or pack_file_unpa

Re: IMCC 0.0.3 beefs up

2002-06-13 Thread Dan Sugalski
At 7:45 PM -0400 6/13/02, Melvin Smith wrote: >I do not like the fact that we have to use keyed access at a low level >to accomplish this, so I hope we consider adding random access >to stacks. It's on the list--it's just never gotten implemented. Time to fix that, I think. We've added (or are w

[Proposal] new pmc class: matrix

2002-06-13 Thread Josef Höök
What do you all think about adding a matrix class. It would be really usefull to have it as a class.. Pseudo code: new P0, Matrix, 3, 3 set P0, 0, 0, 1 set P0, 0, 1, 3 set P0, 0, 2, 1 set P0, 1, 0, 2 set P0, 1, 1, 2 set P0, 1, 2, 2