Hi There!

My name is Mike, and I have decided to pick up on the parrot again. You
seem to be making good progress, let me help you test this thing and
build some interfaces to other programs.

Can someone tell me if anyone uses packdump from cvs? is that an
equivalent to ildasm in dotnet? It seems to be broken. 
Can I dump an set of instructions from a program into a file, and
reassemble them? 
If not, is there a way to dump a parrot program? 

Is there a way to capture the line number, and comments of a perl6
program in parrot? What about high level type information?

I am interested in building a interface from parrot into the
introspector, that will give you a way to convert your programs
internals into RDF/XML and visualize and manipulate them via the GUI.

I am using the redland perl api, and would like to link that into
parrot.

We are freezing the gcc interface soon, and because the introspector is
mostly writtten in perl, I think that parrot would be the next step. 

I would be willing to port my code to the subset of perl/parrot that is
currently supported, where I can i find that? 

Here is my first test results with parrot under cygwin :
[SECTION GCC -V]     compiler version
[SECTION MAKE TEST]  results of maketest
[SECTION PACKDUMP]   compiling error in packdump
running examples : 
[SECTION MOPS]     
[SECTION LIFE]

Mike

[SECTION GCC -v]
gcc -v : 
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure --enable
languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
--with-system-zlib --enable-nls --without-included-gettext
--enable-interpreter --disable-sjlj-exceptions
--disable-version-specific-runtime-libs --enable-shared
--build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin
--enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
--libdir=/usr/lib --includedir=/nonexistent/include
--libexecdir=/usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)

[SECTION MAKE TEST]
perl t/harness --gc-debug --running-make-test
t/src/basic.........ok
t/src/exit..........ok
t/src/intlist.......ok
t/src/list..........ok
t/src/manifest......ok
t/src/sprintf.......ok
t/op/basic..........ok
t/op/bitwise........ok
t/op/comp...........ok
t/op/conv...........ok
t/op/debuginfo......ok
t/op/gc.............ok
t/op/globals........ok
t/op/hacks..........ok
t/op/ifunless.......ok
t/op/jit............ok
t/op/jitn...........ok
t/op/lexicals.......ok
t/op/macro..........ok, 1/15 skipped: Await exceptions
t/op/number.........ok
t/op/rx.............ok, 1/23 skipped: Pending some sort of lowercasing
op
t/op/stacks.........ok, 1/35 skipped: Await exceptions
t/op/string.........ok
t/op/time...........ok
t/op/trans..........ok
t/op/types..........ok
t/pmc/array.........ok
t/pmc/boolean.......ok
t/pmc/intlist.......ok
t/pmc/multiarray....ok
t/pmc/nci...........ok, 11/11 skipped: needs jit/i386 and libnci.so
t/pmc/perlarray.....ok
t/pmc/perlhash......ok
t/pmc/perlint.......ok, 1/5 skipped: add_keyed: not yet
t/pmc/perlstring....ok, 1/8 skipped: Pending new version of
concat_p_p_s
t/pmc/pmc...........ok 31/80#     Failed test (t/pmc/pmc.t at line 491)
#          got: '2.700000
# '
#     expected: 'bar2.700000
# '
t/pmc/pmc...........ok 79/80# Looks like you failed 1 tests of 80.
t/pmc/pmc...........dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 32
        Failed 1/80 tests, 98.75% okay (-2 skipped tests: 77 okay,
96.25%)
t/pmc/prop..........ok
t/pmc/scratchpad....ok
t/pmc/sub...........ok
Failed Test Status Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------

t/pmc/pmc.t        1   256    80    1   1.25%  32
18 subtests skipped.
Failed 1/42 test scripts, 97.62% okay. 1/584 subtests failed, 99.83%
okay.
make: *** [test_dummy] Error 2

[SECTION PACKDUMP]
make packdump.exe
packdump.c: In function `PackFile_Constant_dump':
packdump.c:111: structure has no member named `flags'
make: *** [packdump.o] Error 1

I have commented that out for now : 
        /*        PIO_printf(interpreter, "        FLAGS    =>
0x%04lx,\n",
                   (long)self->string->flags);
        */


[SECTION MOPS]
$ ./examples/mops/mops.exe
Iterations:    100000000
Estimated ops: 200000000
Elapsed time:  0.784000
M op/s:        255.102028

[SECTION LIFE]
$ examples/assembly/life.exe
..................................................
5000 generations in 6.707000 seconds. 745.489785 generations/sec
A total of 460064 bytes were allocated
A total of 14 DOD runs were made
A total of 93 collection runs were made
Copying a total of 13534560 bytes
There are 471 active Buffer structs
There are 6400 total Buffer structs


=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to