Im_back

2004-04-11 Thread Josef Höök
Hello everyone, I just wanted to say that im back, trying to catch up on all the new code. cheers /Josef

[perl #16992] [PATCH] multiarray fixes

2002-09-04 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #16992] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16992 > I've noticed that the key patch defunced some function in multiarray (

[perl #16934] [PATCH] new opses

2002-09-02 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #16934] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16934 > Added 2 new opses into core.ops that handles this code: new P0, .MultiAr

[perl #16933] [PATCH] new pmc function

2002-09-02 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #16933] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16933 > Added a new pmc function that is used for passing inital sizes to pmcs. There was

[perl #16931] [PATCH] minor updates

2002-09-02 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #16931] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=16931 > Some minor updates on multiarray /josef -- attachment

[perl #15923] [PATCH] Matrices for Parrot

2002-08-01 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #15923] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=15923 > Pjuh after 2 month of work i'm finally finished with a first release. This pa

[perl #15890] [PATCH] added a function in pmc.c

2002-07-31 Thread Höök
# New Ticket Created by Josef Höök # Please include the string: [perl #15890] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=15890 > Lets try send this mail again .. - In pmc.c i've added a function that c

admin question: mail gets tagged as spam when mailing bugs..@perl..

2002-07-29 Thread Josef Höök
As im not that familiar with spamassasin maybe someone could help me stop getting my mail tagged as spam when mailing patches.. /Josef

[PATCH] genclass.pl patch

2002-07-19 Thread Josef Höök
I've added an if case in genclass so it will print "return whoami;" for "name" function so that no one need to grep parrot source for an hour or two trying to figure out why it segfaults when registering pmc class in init_world... ( grumble :-) ) /Josef --- genclass.pl.origFri Jul 19 12:

Re: [PATCH] Key.pmc and some core.ops functions

2002-07-18 Thread Josef Höök
On Thu, 18 Jul 2002, Aldo Calpini wrote: > Josef Höök wrote: > > Aldo Calpini ( alias dada on irc ) had a couple of good arguments > > why having a key.pmc. I just want this patch in because i need it > > for my soon to come matrix.pmc. > > that's embarassin

[PATCH] Key.pmc and some core.ops functions

2002-07-18 Thread Josef Höök
d_pmc function. /Josef Höök diff -urN parrot.orig/MANIFEST parrot/MANIFEST --- parrot.orig/MANIFESTThu Jul 18 00:37:54 2002 +++ parrot/MANIFEST Thu Jul 18 00:44:52 2002 @@ -28,6 +28,7 @@ classes/perlnum.pmc classes/perlstring.pmc classes/perlundef.pmc +classes/key.pmc cl

[PATCH] pmc.c

2002-07-18 Thread Josef Höök
Hello i've added a function in pmc.c that handles init_pmc() calls..

Re: assembler key syntax behaviour

2002-07-17 Thread Josef Höök
On Tue, 16 Jul 2002, John Porter wrote: > > > But what about setting size on multdimensional PMC's > > would it also be: > > set P0,5,5,5 > > assembler.pl would try to call > > set_p_ic_ic_ic > > This will break things when having N dimensions.. > > I don't see how it could possible b

assembler key syntax behaviour

2002-07-16 Thread Josef Höök
I have a couple of question regarding using keyed access in assembler. Lets say we create an Perlarray: new P0, .PerlArray set P0,5 Array with size 5. assembler.pl will call set_p_ic ( ? maybe im wrong here ) But what about setting size on multdimensional PMC's would it also be: set P0,5,5

Re: Initial Matrix class

2002-07-15 Thread Josef Höök
I forgot to ask, should i make a patch in this stage early stage or should i wait until i got the memory stuff added? /Josef

Initial Matrix class

2002-07-15 Thread Josef Höök
I have successfully written and read an 8x8 matrix. I will start writing some documentation. Current code lacks a proper representation of a matrix ( it doesnt have a matrix structure ) , it works directly in a Buffer structure. I really need some people to discuss ideas with before deciding the

new Key code breaks my code..

2002-07-09 Thread Josef Höök
I was just wondering how should i handle multidimensional keyed access in my Matrix pmc. I see that my code i broken with this weeks parrot code. Can someone please but some api specs. /Josef

Re: multidimensional array

2002-07-08 Thread Josef Höök
On Tue, 2 Jul 2002, Dan Sugalski wrote: > At 9:45 PM +0100 7/2/02, Nicholas Clark wrote: > >On Thu, Jun 27, 2002 at 05:42:10PM +0200, Josef Höök wrote: > >> I've been thinking abit on howto implement multidimensional arrays and > >> i found that its quite tric

multidimensional array

2002-06-27 Thread Josef Höök
I've been thinking abit on howto implement multidimensional arrays and i found that its quite tricky :). I'm currently thinking of having a structure that contains a data pointer and its location in every dimension something like this:

[PATCH] perlarray strange behaviour

2002-06-25 Thread Josef Höök
i found some strange behaviour in perlarray.pmc Consider this code: new P0, .PerlArray, 2 # P0[2] set P0, 2, 1 # P0[2] = 1 set P0, -4, 1 # P0[-4] = 1 # Above runs some strange code: # ix += SELF->cache.int_val # where ix is our key # i

matrix design

2002-06-19 Thread Josef Höök
Ok now what do you think of representing matrices as below: Pointer to array of pointers of pointers, with the array elements pointing to the first element in the rows of each matrix and each element in the rows in turn pointing to a pmc. I havent thought alot on how we should do operations with

[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

[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 +

Re: [Patch] other mathematical operations

2002-06-12 Thread Josef Höök
On Tue, 11 Jun 2002, Dan Sugalski wrote: > At 1:07 PM +0200 6/11/02, =?latin1?Q?Josef_H=F6=F6k?= wrote: > > > >I've added Gcd and factorial to core.ops, as attachement. > >Dan is this something you want? > >I also have "least common multiple" and "binomial" implementation > >waiting. If you wa

[Patch] other mathematical operations

2002-06-11 Thread Josef Höök
I've added Gcd and factorial to core.ops, as attachement. Dan is this something you want? I also have "least common multiple" and "binomial" implementation waiting. If you want them i can can make a patch /Josef --- core.ops.orig Tue Jun 11 10:03:19 2002 +++ core.opsTue Jun 11

[Patch] other mathematical operations

2002-06-11 Thread Josef Höök
I've added Gcd and factorial to core.ops, see attachement. Dan is this something you want? I also have "least common multiple" and "binomial" implementation waiting. If you want them i can can make a patch /Josef --- core.ops.orig Tue Jun 11 10:03:19 2002 +++ core.opsTue Jun 11 1

Re: TODO additions

2002-04-11 Thread Josef Höök
im a newcomer, particulalry intrested in the jit part. is there anyone working on the sparc asm? /joh On Thu, 11 Apr 2002, Steve Fink wrote: > These are my idea of new TODO items. Note that I don't really know > anything about some of the things I added, so someone should probably > read this

Re: internal structure

2002-04-11 Thread Josef Höök
How about the JIT engine then. When does parrot use it? how well does it scale? ( has anyone done some benchmarking ) On Thu, 11 Apr 2002, [iso-8859-1] Jonathan E. Paton wrote: > > Where in the parrot code does the actual translation > > from byte code to binary code occur? > > Parrot eq. a

internal structure

2002-04-11 Thread Josef Höök
Hello. Where in the parrot code does the actual translation from byte code to binary code occur? where does it get executed? Im having a hard time finding things in the code.. /joh