Re: PDD16 details

2007-12-05 Thread pancake
Uh... ping? On Mon, Dec 03, 2007 at 11:09:26PM +0100, pancake wrote: > I have been looking a bit inside PDDs and parrot source and find no way to > load a pointer to a function as a PMC inside the VM. > > What I want to do is to embed parrot into a C program and make some of the &g

PDD16 details

2007-12-03 Thread pancake
n func() say "Hello World" .end $ cat Makefile all: parrot -o hello.pbc hello.pir gcc main.c `pkg-config --cflags --libs parrot` -export-dynamic Thanks! --pancake

parrot as a vm for real processors

2007-06-29 Thread pancake
the exception layer, but I saw that the interface it's not yet defined and I'll wait for it to continue this work. Thanks! --pancake

parrot question and stacked patches

2007-06-21 Thread pancake
te a opcode_t into a file:line message? Thanks! --pancake

small fixup and question for pdb

2007-06-20 Thread pancake
that now works things like: (pdb) next 3 (pdb) next 4 but will not run the old-fashion commands: (pdb) next3 imho the 'old' syntax is ugly, and we should relay on the new one checking for spaces properly. feel free to submit this patch if looks ok for you. Thanks --pan

Re: source code comments

2007-05-27 Thread pancake
On Mon, 28 May 2007 01:45:19 +0200 pancake <[EMAIL PROTECTED]> wrote: > I have been reading the source code of he virtual machine a bit and found some > confusing things and other stuff that imho should change. Don't panic! They are only a 1% of the whole source code ;) The

include path for libraries

2007-05-27 Thread pancake
oop of library.c:321 more logical. (use < instead of <= comparisions) --pancake

source code comments

2007-05-27 Thread pancake
removed. accessign directly to [1] and [2] chars of the cb_signature->strstart variable should be faster because it executes less steps and the stack size will be 4 bytes less --pancake

Re: mmx/sse copy functions (was: Puzzling structure in )

2007-05-06 Thread pancake
should not use it. Here's a example: $ cat foo.c #pragma pack(1) struct { char foo; int bar; } str; main() { printf("%d\n", sizeof(str)); } $ gcc foo.c $ ./a.out 5 We can pack to 4 or so...some compilers (aka gcc) returns some nasty sizes when measuring..(not necessary aligned to

svn version parrot segfault

2007-05-05 Thread pancake
uot;(0)", I0 set_args "(0,0)", I0, I1 find_global P5, "foo" invokecc P5 print I0 print "\n" .end .sub foo get_params "(0,0)", I0, I1 print I0 print " + " print I1 print " = " add I0, I0, I1 set_returns "(0)", I0 returncc .end Thanks --pancake

parrot on pkgsrc

2007-04-20 Thread pancake
-use archs. --pancake

a patch from pkgsrc

2007-04-16 Thread pancake
Hi, I have updated the pkgsrc package of parrot to the latest 0.4.10 (I hope to maintain the following releases too), There's an ancient patch into the package to fix the build on dragonflybsd. I have no dflybsd but it looks ok for me. Keep up the good work! --pancake # cat patches/pat