Impressed (+ [PATCH])

2002-03-23 Thread Boris Tschirschwitz
Hi. Congratulations, you've made a lot of progress during the last two months. Trying to get back I read embed.c and made a trivial cleanup: [PATCH] in attachment: Changed struct Parrot_interp * to Parrot, following the typedef in parrot.h (I believe). Boris. diff -r1.18 embed.c 21c21 < str

Re: Parrot Trooper

2002-02-08 Thread Boris Tschirschwitz
I read this as "please do so here, and then you might perhaps offer your opinions regarding the T-shirts." I agree... but it was just three words... And here's my 180 degree turn: The camouflage motive is perfect: camouflage n : an outward semblance that misrepresents th

Re: Parrot Trooper

2002-02-08 Thread Boris Tschirschwitz
Please, no military. -- Boris Tschirschwitz University of British Columbia Mathematics Department email: [EMAIL PROTECTED] On Fri, 8 Feb 2002, Christian Klauss wrote: > military style : > > http://www.gfxspace.com/parrot/parrot3.gif > >

Complex numbers

2002-02-03 Thread Boris Tschirschwitz
Hi. During the vtable discussions lately, a complex type was used in examples a lot. I have a more or less complete implementation of a complex number PMC. After writing it, I started wondering, if this wouldn't just be unneccessary overhead at this point, so I let it sleep. But if there's intere

PMCs leaking memory

2002-01-26 Thread Boris Tschirschwitz
a GC 3) should find a soulution for, because it is a problem Boris. -- Boris Tschirschwitz University of British Columbia Mathematics Department email: [EMAIL PROTECTED]

Complex Class

2002-01-08 Thread Boris Tschirschwitz
Hi. I suppose that it is not possible to use non build-in PMC's, yet. Therefore I have implemented the GNU Scientific library complex number type as a build-in class, just for myself. Since there is no complex type so far I wonder if there is interest in having as much basic functionality as sens

Adding non build-in classes

2002-01-07 Thread Boris Tschirschwitz
Hi. I read vtables.pod about making your own classes. It explains the 7 steps neccessary to get your new class compiled in after you've written the ..pmc, .c and .h files--if it is a build-in class. I am just trying to implement a gsl_complex class for complex numbers, but I don't know how to ma

Re: Some GSL opcodes

2002-01-06 Thread Boris Tschirschwitz
Now I forgot to attach the files :) On Sun, 6 Jan 2002, Boris Tschirschwitz wrote: > Hi. > > I just implemented some opcodes for the 'GNU Scientific Library'. > The opcodes are in the file 'gsl.ops', and tests are in 'gsl.t' > These are very f

Some GSL opcodes

2002-01-06 Thread Boris Tschirschwitz
Hi. I just implemented some opcodes for the 'GNU Scientific Library'. The opcodes are in the file 'gsl.ops', and tests are in 'gsl.t' These are very few and rather uninteresting ops, I was mostly checking if I know how to do it. I submit them already because: * I'd like to hear if you think that

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
On Sun, 6 Jan 2002, Boris Tschirschwitz wrote: > Config.pl Configure.pl

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
> On Sun, 6 Jan 2002, David & Lisa Jacobs wrote: > > > This is the same problem I reported. The vtable.ops is not being generated > > so all the pmc tests will fail (i.e., the ops don't exist). > > > > David > > Right, the tests are still broken on my computer, too. > Boris. But they pass if you

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
On Sun, 6 Jan 2002, David & Lisa Jacobs wrote: > This is the same problem I reported. The vtable.ops is not being generated > so all the pmc tests will fail (i.e., the ops don't exist). > > David Right, the tests are still broken on my computer, too. Boris.

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
On Sun, 6 Jan 2002, Dan Sugalski wrote: > Running as root, perhaps? perldoc doesn't like that. Ha, thanks so much, I forgot to leave root after an 'su' to make install something. Boris.

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
That's the strangest thing: I am reading perldocs for days with 'perldoc', but now it tells me I'll have to install the perldoc package. (Using Debian on an i686) Sorry, apparently it's all my stupid fault, I'll just have to find out why. Boris. On Sun, 6 Jan 2002, Bryan C. Warnock wrote: > ...

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
On Sun, 6 Jan 2002, Dan Sugalski wrote: > ... > >Yes, it runs, but starting with PMC tests the tests fail (pmc3.pasm: no > >opcode add) > > Hmmm. If you haven't, try a make clean first. I'll poke around here and see > if I can duplicate the problem. Doesn't help, exactly the same message. Boris.

Re: [bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
> >make[1]: Entering directory '/home/boris/parrot/docs' > > perldoc -u ../Parrot/PackFile.pm > packfile-perl.pod > >make[1]: *** [packfile-perl.pod] Error 1 > >make[1]: Leaving directory '/home/boris/parrot/docs' > >make: [docs/.dummy] Error 2 > > Hmmm. That's the last of what prints for

[bug] parrot doesn't compile

2002-01-06 Thread Boris Tschirschwitz
There seems to be a problem during compilation of the latest cvs version (after 6pm): After starting make: .. .. .. make[1]: Entering directory '/home/boris/parrot/docs' perldoc -u ../Parrot/PackFile.pm > packfile-perl.pod make[1]: *** [packfile-perl.pod] Error 1 make[1]: Leaving director

How to use extra opcodes

2002-01-06 Thread Boris Tschirschwitz
Hi. How do I tell parrot to use the obscure opcodes? Or more general, if I add some opcodes in a file like gsl.ops, how do I tell parrot about them? Boris.

Re: [PATCH] - migrate encodings to UINTVAL

2001-12-31 Thread Boris Tschirschwitz
ndependent optimization hints to be used by an optimizer, when optimization is required. Boris. ------ Boris Tschirschwitz University of British Columbia Mathematics Department email: [EMAIL PROTECTED] On Mon, 31 Dec 2001, David & Lisa Jacobs wrote: > I have a LOT

Re: [PATCH] The Code Police [1/

2001-12-30 Thread Boris Tschirschwitz
t 09:29 PM 12/29/2001 -0800, Boris Tschirschwitz wrote: > >Hi. > > > >Since there is a code police now: > >I am sure that no one in his or her right mind would ever want something > >like > > opcode_t * code_start > > > >in beautified code.

Re: [PATCH] The Code Police [1/

2001-12-29 Thread Boris Tschirschwitz
this direction. I suggest opcode_t* code_start Sorry for just mentioning petty things so far, I am just getting into it. Boris. -- Boris Tschirschwitz University of British Columbia Mathematics Department email: boris at math dot ubc dot ca

Re: core_ops.pod in CVS

2001-12-26 Thread Boris Tschirschwitz
On Wed, 26 Dec 2001, Jason Gloudon wrote: > branch is a relative branch, look at the code generated for it: > > static opcode_t * > Parrot_branch_ic (opcode_t cur_opcode[], struct Parrot_Interp * interpreter) { > return cur_opcode + cur_opcode[1]; > } Yes, I see. In parrot assmebly it looks li

core_ops.pod in CVS

2001-12-26 Thread Boris Tschirschwitz
Why is parrot/docs/core_ops.pod not under version control? For example we should change the explanation under =item B(ic) to Branch to the location specified by $1 since that's what it does. Boris.

Re: PDD4 and BIGNUM/s

2001-12-26 Thread Boris Tschirschwitz
> Will I be able to do someting like > mov I3,45e3 > or are the BIGs going to be implemented as PMCs? Ok, a look at he actual interpreter shows that this is possible, but it should really be set I3,45e3 Then I really believe that the vector thing would be worthwhile. Is there an ar

PDD4 and BIGNUM/s

2001-12-26 Thread Boris Tschirschwitz
Hi. When I am reading about Perl internal datatypes I wonder if they are going to be Parrot internal types, especially the BIGINTs and BIGNUMs. Will I be able to do someting like mov I3,45e3 or are the BIGs going to be implemented as PMCs? I ask because I have the following idea: I think