Re: [perl #41724] [BUG] miniparrot fails to build on strawberry perl

2007-03-07 Thread Aldo Calpini
Jerry Gay (via RT) ha scritto: i suspect there's trouble with the platform-specific c/h files, given the nature of the warnings during build. the configure/make output is below. the only relevant warning I see is: config/gen/platform/win32/exec.c: In function `Parrot_Exec_OS_Command':

Re: Cross-compiling Parrot

2007-02-23 Thread Aldo Calpini
Allison Randal ha scritto: We do. Unfortunately we can't rely on Perl 5 for the configure system. It may seem like an easy way to gain cross-compilation in the short term, but in the long term it will hurt us. Miniparrot is the right way to go. It certainly needs work, though. As you're

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
jerry gay ha scritto: On 2/20/07, Aldo Calpini [EMAIL PROTECTED] wrote: 1) does anybody have objections to patching the current build system for cross-compilation (even yes, but not now because... objections)? no objection here! this is a long-desired feature, and is currently unavailable

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
Joshua Isom ha scritto: Using perl 5's configure probes also somewhat limits us to how the vendor distributed perl. It should also be considered that we can't rely on perl5 being available, especially since we intend to replace it eventually, so rewriting all the perl to support cross

Cross-compiling Parrot

2007-02-20 Thread Aldo Calpini
back in 2004, Dan Sugalski wrote: http://www.nntp.perl.org/group/perl.perl6.internals/2004/09/msg25521.html nowadays my effort of porting Parrot to the PocketPC platform, as you may have suspected, force me to reopen the question. there is, I know, a lot of work to be done. and this will

Porting parrot on PDA -- work in progress

2007-02-13 Thread Aldo Calpini
whoa there! I've managed to build parrot for the PocketPC. yes, really. I hacked just a little the Configure process - now it _really_ compiles test executables, run them on the PDA and gather the result. this wasn't really hard. I had a half-written Perl XS extension which uses RAPI to

Porting parrot on PDA

2007-01-29 Thread Aldo Calpini
hello people! I'm really interested in porting parrot to PDA (well, PocketPC at least). some days ago I stumbled upon CeGCC (a cross compiler for PocketPC), which is basically a windows port of gcc (both cygwin and mingw32 flavours) that produces ARM executable code. I started playing with

Re: s/true/better name/

2005-03-17 Thread Aldo Calpini
John Macdonald wrote: A shotgun brainstorming of possible operator names: well, I didn't follow this thread very closely (and I don't know if it is officially closed :-) but I suddenly thought about yes. what about: $x = not $a or $b; # vs $x = yes $a or $b; $yesno = yes any(@foo) ==

Re: Strings - takers wanted

2005-03-11 Thread Aldo Calpini
Leopold Toetsch wrote: 1) ICU should be optional If configured --without-icu the Makefile shouldn't contain ICU stuff, and function calls to ICU (mainly in string_primitives) should be wrapped inside #if PARROT_HAS_ICU. I'm gonna take this one (unless Steven Schubiger is already working on

splat operator and context

2005-03-09 Thread Aldo Calpini
I was trying to implement unary * (list flatten or splat operator) in pugs yesterday, and I came to the conclusion that I really don't grok how context works in Perl6 (I also really don't grok Haskell, but this is another story...). if I understand correctly, all these are equivalents: my @a

Re: splat operator and context

2005-03-09 Thread Aldo Calpini
Juerd wrote: my @a = 1,2,3; my $a = 1,2,3; These are (my @a = 1), 2, 3; (my $a = 1), 2, 3; if I understand precedence correctly. (S03) right, sure. I vaguely remember something about comma instead of parens being the list constructor, but maybe it was just in my fantasy. and thanks for

Re: Optional binding

2005-03-07 Thread Aldo Calpini
David Storrs wrote: Urk. I, for one, will definitely find this surprising. I would have expected: x = whatever; $y = 1; z = 2 3 to obtain what you have expected, you need to explicitly treat the array as a list of values with the unary splat: foo($x, [EMAIL PROTECTED]); But I suppose it's

Re: Optional binding

2005-03-07 Thread Aldo Calpini
Larry Wall wrote: Or, assuming you might want to generalize to N dimensions someday, just sub bar ([EMAIL PROTECTED]) {...} and deal with it as in Perl 5 as a variadic list. I suppose one could say sub bar ([EMAIL PROTECTED] is shape(3)) {...} and get checking on the argument count. if I

Re: Adding linear interpolation to an array

2005-03-07 Thread Aldo Calpini
Dave Whipp wrote: Does defining the invocant as Num @self is constant constrain the application of the role to read-only uses of indices? I don't think you need is constant. arguments are readonly by default, unless you give them the is rw trait. I guess that is constant means that you can

Re: scoping functions as list operators?

2005-02-25 Thread Aldo Calpini
Stéphane Payrard wrote: # set? I don't think so. my $a, $b, $c set 1..3 ; # alphabetic like and, or, xor? # and what precedence relative to them? well, I'm not sure the feature is good, but I have some idea about the sign that could be used for this :-) we have

Re: Junctions, Sets, and Threading.

2005-02-22 Thread Aldo Calpini
Damian Conway wrote: @s = 'item' _ [EMAIL PROTECTED]; That's: @s = 'item »_« @x; (just checking that my unerstanding is correct, don't want to be nitpicking :-) assuming that you meant to prepend the string item to each element of @x, isn't that: @s = 'item' »~« @x; ?

Re: proposal: use \ as none junction delimeter

2005-02-11 Thread Aldo Calpini
Thomas Sandlaß wrote: my $x = 1|2|3; # any my $x = 1^2^3; # one my $x = 123; # all my $x = 1\2\3; # none [...] if $a $b { ... } # and if $a || $b { ... } # or if $a ^^ $b { ... } # xor if $a // $b { ... } # err if $a \\ $b { ... } # nor Well? that's all very Huffy (short

Re: [OT] Perl 6 Summary for 2004-10-01 through 2004-10-17

2004-10-26 Thread Aldo Calpini
Larry Wall wrote: I suppose if I were Archimedes I'd have climbed back out and shouted Eureka, but as far as I know Archimedes never made it to Italy, so it didn't occur to me... well, Archimedes *was* italian. for some meaning of italian, at least. he was born in Syracuse (the one in Sicily, not

Re: String interpolation

2004-07-22 Thread Aldo Calpini
Jonathan Scott Duff wrote: Surely you mean [EMAIL PROTECTED] instead of 0..Inf I think the iterator implicit in array slicing should, and could, be smart enough to return when there's nothing more to iterate. Considering the following code: @foo = (1, 2, 3); @bar = @foo[1..Inf]; @bar

Re: String interpolation

2004-07-21 Thread Aldo Calpini
Larry Wall wrote: Hmm. That makes me wonder what the slice notation for everything is. maybe @foo[..] (a short form for @foo[0..Inf]) ? %foo{..} should also be allowed, of course (which unfortunately is not a short form for 0..Inf). or perhaps, with a slight analogy with filesystems, @foo[*]

simple grammar example

2004-06-09 Thread Aldo Calpini
hello gentlemen, I'm preparing a talk about Perl6 for the Italian Perl Workshop, and I would like to have a slide comparing a BNF (yacc/bison) grammar to a Perl6 one, to show how powerful in parsing/lexing Perl6 regexen are. so I ask your assistance in helping me putting up a simple, yet

Re: Named parameters vs. slurpy hash syntax: brittle call syntax!

2004-05-06 Thread Aldo Calpini
On Thu, 2004-05-06 at 02:36, Dov Wasserman wrote: After the New And Improved logError() routine is rolled out, it seems to me that this log statement should generate a compile-time error, since the named Int parameter prio is given a non-integer argument HIGH. At best, this should be a

Re: Named parameters vs. slurpy hash syntax: brittle call syntax!

2004-05-06 Thread Aldo Calpini
On Thu, 2004-05-06 at 02:36, Dov Wasserman wrote: To distinguish these two cases, what if we used the := binding operator to bind an argument to a named parameter: logError($err_msg, prio := 3); but how would this look like to a subroutine that is not defined to accept a named parameter

Re: A12: on inheriting wrappers

2004-05-04 Thread Aldo Calpini
On Fri, 2004-04-30 at 19:01, Larry Wall wrote: That would almost certainly fail with an error saying that it couldn't find your new subroutine. The sigil does not imply dispatch, and the default .new is inherited, not autogenerated, last I checked. :-) ouch. too true. so I guess my Animal

A12: on inheriting wrappers

2004-04-30 Thread Aldo Calpini
let's suppose I want to build a class that keeps track of the objects it creates. let's suppose that I want this class to be the base for a variety of classes. let's suppose that I decide, rather than fiddling with the default constructor, to wrap it up. something like: class Animal {

Re: A12: on inheriting wrappers

2004-04-30 Thread Aldo Calpini
On Fri, 2004-04-30 at 16:59, Stéphane Payrard wrote: Perl6 seems already to have plenty of mechanisms like delegation to dynamically change the behavior of a class. So, probably, wrappers is a mechanism more adapted to extend method behavior at run-time by entities that don't have access to

Re: A12 Versioning

2004-04-29 Thread Aldo Calpini
On Mon, 2004-04-26 at 16:20, Richard Proctor wrote: Issues: 1) Why does this only use Version and Author? Suppose there are versions for different oses or that use other particular libraries that are wanted or not? personally, I think this should be handled in the class itself. you always

Re: A12: a doubt about .meta, .dispatcher and final methods

2004-04-29 Thread Aldo Calpini
On Fri, 2004-04-23 at 17:24, Larry Wall wrote: [...] On the sixth hand, by that argument, since .dispatcher is aiming at a Class, it should be an uppercase C. :-) why not wash all these hands altogether? IDEA 1 implementing a final trait should be trivial enough (it just throws an

A12: a doubt about .meta, .dispatcher and final methods

2004-04-23 Thread Aldo Calpini
hello, sorry if this has been discussed before, I did a quick search in the Archive and the summaries but can't find a similar topic. I've just read A12, and while I really like the inherent orthogonality of the whole object system as it is (will be) implemented, there is something that puzzles

Re: A12: a doubt about .meta, .dispatcher and final methods

2004-04-23 Thread Aldo Calpini
Aaron Sherman wrote: However, in existing CPAN modules that I happen to have in my cache at the moment: [...] So it's not THAT bad. hmmm... I think you should probably also grep for modules that do something like: my $self = { meta = 'something', dispatcher =

Re: [PS] open patches

2003-10-30 Thread Aldo Calpini
these are the patches of mine which still show as Pending: (17405) [PATCH] correct make pdb on Win32 (24149) [PATCH] small Makefile patch (rm *.s in realclean instead of clean) (24205) [PATCH] removing -mno-accumulate-outgoing-args for non x86 arch the last one was applied by Dan, but the

pcc: the parrot C compiler (just a wrapper, don't expect big things :-)

2003-10-21 Thread Aldo Calpini
hello, I was trying to debug the t/src tests, and realized that doing by hand what Parrot::Test::c_output_(is|like) does is not really easy. I wanted to compile the source code embedded in t/src/sprintf.t (the third test, in my case) to see exactly where and how it was failing, and possibly have

[perl #24205] [PATCH] removing -mno-accumulate-outgoing-args for non x86 arch

2003-10-14 Thread Aldo Calpini
# New Ticket Created by Aldo Calpini # Please include the string: [perl #24205] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24205 hello, currently Configure.pl insists on passing a -mno-accumulate-outgoing-args

[perl #24149] [PATCH] small Makefile patch (rm *.s in realclean instead of clean)

2003-10-07 Thread Aldo Calpini
# New Ticket Created by Aldo Calpini # Please include the string: [perl #24149] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24149 make clean is currently doing an rm *.s, thus removing the asmfun.s which gets

parrot on the Itanium: almost there

2003-10-02 Thread Aldo Calpini
good day by chance, I have an Itanium machine under my control. it is a (rather-old) HP i2000 Workstation with Itanium 1. this is what cat /proc/cpuinfo says: processor : 0 vendor : GenuineIntel arch : IA-64 family : Itanium model : 0 revision : 6 archrev

Re: parrot on the Itanium: almost there

2003-10-02 Thread Aldo Calpini
Leopold Toetsch wrote: Probably some INTVAL/opcode_t mismatch. What does $ cat myconfig yield on that machine? here is it, in all its shining gory details :-) (BTW, in the mean time I've switched to gcc 3.0, but the results seem to be absolutely the same) Summary of my parrot 0.0.11.2

Re: ad Timer

2003-07-16 Thread Aldo Calpini
Leopold Toetsch wrote: Attached is a test program, showing an implementations for multiple timers. GNU/linux only, but implementing the platform interface (and the sighandler/message queue) shouldn't be too hard. don't know if it's worth something, but this is how your timer program could

Re: OT: Will the State of the Onion be posted online?

2003-07-15 Thread Aldo Calpini
Robert Spier wrote: Sorry for a slightly off-topic post, but will Larry's State of the Onion be posted online soon? Yes. sorry to reiterate the argument, but will also a text transcript of the talk be posted online? the slides are beautiful, but without a few words of explanation they are

A6: objects and/or types (was: P6FC)

2003-03-14 Thread Aldo Calpini
Simon Cozens wrote: ...and I don't know if macros are actually objects and can be tossed around, or if they're just part of the compilation process. they have their proper place in the diagram Larry put in A6. furthermore, he says: These syntactic forms correspond the various Routine types in

P6FC

2003-03-13 Thread Aldo Calpini
hello everybody, I'm just a poor newbie here, so please bear with me :-) while reading the last Apocalypse I thought that maybe time has come to write things down (like the recent effort on properties), so I started to put down a tentative class hierarchy of the Perl6 language (I call it P6FC

Re: [PASM] PerlHash and keys

2003-01-03 Thread Aldo Calpini
Leopold Toetsch wrote: There is a nextkey_keyed mentioned in pdd02_vtables.pod, which would almost be all to implement aggregate iterators. Missing is IMHO how to reset (start) an iteration. Also not too long ago, there was some proposal WRT an iterator class. I was the proposer. I have

Re: DOS filename collisions

2002-12-04 Thread Aldo Calpini
Mr. Nobody wrote: There are some files in parrot that have names common in the first 8 characters. This will cause problems if someone tries to compile Parrot on DOS. Is DOS an intended target, or should we not worry about this? my vote is NO. let us bury 8.3 very, very deep in the ground.

Re: Should memory be washed?

2002-11-07 Thread Aldo Calpini
Leopold Toetsch wrote: Appended is a test program that shows timings (i386 w rdtsc) and the limit, where malloc changes strategy to use mmap and returns zeroed memory. I don't know if it helps, but there are the results on my machine, using Windows XP Pro and Cygwin 1.3.10 and GCC 2.95.3: #

[perl #18141] [PATCH] determine PARROT_STACK_DIR on Win32 with Visual C++

2002-10-29 Thread Aldo Calpini
# New Ticket Created by Aldo Calpini # Please include the string: [perl #18141] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18141 due to a bug in config/auto/stackdir.pl, Configure.pl was unable to determine

Re: How to portably link on Win32 (all flavors), OS/2 and VMS?

2002-10-29 Thread Aldo Calpini
Andy Dougherty wrote: but I'm unsure what to put for link_exe_out for each of the three compilers mentioned in config/init/hints/mswin32.pl, nor for the compilers used under OS/2 and VMS. config/init/hints/mswin32.pl already defines what you need. is called 'ld_out' (also see my recent patch

Re: [RFC] Buffer/PMC unification, variable/value vtable split, tied scalars

2002-10-25 Thread Aldo Calpini
Leopold Toetsch wrote: Attached is a test program showing some features, how a PMC could look like in the future. and where's the attachment? cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: getting started guide in pod

2002-10-16 Thread Aldo Calpini
Erik Lechak wrote: Just wondering: What would another documentation style have to provide to make it an acceptable replacement for pod? being pod. you gotta love it ;-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

Re: the getting started guide

2002-10-11 Thread Aldo Calpini
Erik Lechak wrote: Yep I cut and pasted it right from my console. I'll download the newest realease and try it again and try v1.2. If someone could tell me where to get cvs for windows without all the GUI that would be great. www.cygwin.com full-blown command-line CVS. you won't miss *nix

Re: [perl #17683] [PATCH] Fixes segfault in pdb

2002-09-30 Thread Aldo Calpini
Jürgen Bömmels wrote: Hi, When you use pdb and hit just ENTER you get a segfault. Thats quite anoying especially if you are used to gdbs behaviour. The attached patch fixes this by just ignoring empty lines. this doesn't seem to me how pdb is supposed to work. docs/debugger.pod says:

t/src/* broken under Win32

2002-09-20 Thread Aldo Calpini
the tests under t/src currently fail on Win32 (with MSVC++ 6.0). the first problem is that it needs another build step (make shared) which is not mentioned anywhere. linking the programs require a libparrot.lib which is not built by the standard make target. probably it should be a prerequisite

how to use MultiArray?

2002-09-18 Thread Aldo Calpini
I couldn't find any example of using a MultiArray PMC. I tried on my own, but failed miserably. from what I've seen, it seems that is impossible to properly initialize a multidimensional MultiArray. I've tried this: new P1, .MultiArray, 1000 set P1[0;0], 1 set

[perl #17405] [PATCH] correct make pdb on Win32

2002-09-18 Thread Aldo Calpini
# New Ticket Created by Aldo Calpini # Please include the string: [perl #17405] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17405 this one patches the Makefile to correctly build a pdb.exe on Win32 (it should

Re: [PROPOSAL] interface for custom pmc functions

2002-08-22 Thread Aldo Calpini
Josef Hook wrote: It's a fact that we have a problem with pmc's that has custom functions which dosent fit into the vtable. Therefore i suggest we add a pointer in pmc struct that points to a function list, we already have find_method and invoke, they just need to be implemented :-) I was

[prepatch] PerlHash iterator

2002-08-22 Thread Aldo Calpini
I have implemented a simple hash iterator, but I'm not sure that the logic is correct. this shows how the PMC behaves actually: new P1, .PerlHash # build a simple hash set P1[foo], 1 set P1[bar], 2 set P1[baz], 3 dec P1 # reset the

Re: [perl #16098] First draft of PerlScalar PMC

2002-08-09 Thread Aldo Calpini
Peter Gibbs wrote: This version is (hopefully) functionally equivalent to PerlUndef, i.e. it acts as an uninitialised scalar. When assigned a value, it changes itself to the appropriate type (PerlInt/PerlNum/ PerlString). The current level of functionality is therefore sufficient to use it

Re: resize_array (PerlArray)

2002-08-02 Thread Aldo Calpini
Dan Sugalski wrote: At 5:28 PM +0200 8/1/02, Aldo Calpini wrote: fetching an element out of bound changes the length of the array. but should this really happen? Because that's the way Perl's arrays work. Joys of autovivification. I have to disagree. the corresponding Perl script does

debugger.pod

2002-08-02 Thread Aldo Calpini
hello everybody, here is my rough draft of the documentation for the Parrot debugger. please review it (expecially the boilerplate stuff like TITLE, HISTORY, etc. -- I don't know if I have properly followed convention) (and if there is one) and tell me if this should be sent as a patch. I'm

Re: resize_array (PerlArray)

2002-08-02 Thread Aldo Calpini
John Porter wrote: It all depends. :-) [...] Perl has to autoviv if it has to drill down. good point. but since we don't have multidimensional array access right now (at least AFAIK), this seems to be a non-issue. I don't know if p6 will autovivify the way p5 does (and I hope not). IMHO,

Re: negative index in arrays

2002-08-01 Thread Aldo Calpini
Stephen Rawls wrote: since I want the Tuple pmc to do the same thing in this respect as the PerlArray pmc. just my opinion, but I don't want this. it would be PerlTuple then. let's keep this stuff at a higher level. the only and one reason I see because one would implement tuples instead of

Re: [perl #15904] Configure broken on windows 9x

2002-08-01 Thread Aldo Calpini
Mr. Nobody wrote: The windows 9x command.com shell dosen't recognize 21 so it ends up passing 2 as an argument to the compiler, which fails because there's no such file. this is no news. you can't even build Perl on 9x. IMHO, *build* platform targets should not include 9x. build it on

Re: tuple algebra (was: negative index in arrays)

2002-08-01 Thread Aldo Calpini
Stephen Rawls wrote: Also of note, instead of having TUPLE1 + TUPLE2 act as arrays, and return the sum of their sizes, I am treating it like this: (a1, a2, ... , an) + (b1, b2, ... , bn) = (a1 + b1, a2 + b2, ... , an + bn) makes sense to me (and certainly adds some spice to the cause of

resize_array (PerlArray)

2002-08-01 Thread Aldo Calpini
take this little assembler program: new P1, .PerlArray set P1, 100 bsr GETLEN set I0, P1[0] print P1[0]= print I0 print \n bsr GETLEN set I0, P1[1] print P1[1]= print I0

Re: [PATCH] usleep, sleep(num)

2002-07-23 Thread Aldo Calpini
Dan Sugalski wrote: I like this, and want it to go in--I think it's a capability we should provide. However... Until it works on Win32 we need to wait. Can someone running a Win box grab this and get a win version going? When we have that, this can get committed. I'm a little late on this

Re: [PATCH] usleep, sleep(num)

2002-07-23 Thread Aldo Calpini
Nicholas Clark wrote: Does Microsoft give you (well, us) a select() implementation that really does honour the microsecond field of the struct timeval it's passed? AFAIK, microseconds are honoured only on sockets, not on filehandles. I seem to remember reading somewhere that the most

Re: PARROT QUESTIONS: Keyed access

2002-07-22 Thread Aldo Calpini
Leon Brocard wrote: I think ParrotTuple would make a great first project for anyone who wants to learn more about PMCs. It will also be fairly simple and small, so if lots of docs were also included it would make an ideal PMC to learn from in future. Any takers? ;-) me, time permitting :-)

minitutorial on submitting patches

2002-07-22 Thread Aldo Calpini
this is a little tutorial about submitting patches (should be added to a FAQ, or somewhere where it's handy for people like me that tend to forget everything :-). if there's something missing or incorrect, feel free to let me know: 1. do a diff -u of the file(s) you want to patch (note: Win32

tutorial on submitting patches

2002-07-22 Thread Aldo Calpini
this is a little tutorial about submitting patches (should be added to a FAQ, or somewhere where it's handy for people like me that tends to forget everything :-). if there's something missing or incorrect, feel free to let me know: 1. do a diff -u of the file(s) you want to patch (note:

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

2002-07-18 Thread Aldo Calpini
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 embarassing, but it must have been someone else. I only ranted on IRC about tuple.pmc and some other

Re: Parrot Glossary - COW

2002-07-05 Thread Aldo Calpini
Markus Laire wrote: I've been following this list for a month, but havn't yet learned what COW really means. It's used so often that perhaps it should be added to Parrot Glossary. I'll give my try, but I'm no expert at all. feel free to correct me if I'm wrong. COW stands for Copy On Write.

[JIT] bsr/ret in native code

2002-06-14 Thread Aldo Calpini
hello there, in one of my endless tours inside the JIT world, I came up with this idea which seems to give a major speed increase. basically, I'm substituting the Parrot method for subroutines (push the current address in the call stack and then jump) with a plain native x86 ASM call

Re: JIT ideas

2002-05-24 Thread Aldo Calpini
Daniel Grunblatt wrote: Don't implement any print op yet, if I didn't understood wrong they are going to be updated to use the IO system. ok, I draw back them then. but I found another use for the emit_call_abs() function to implement some string stuff in JIT. as I already said, the speed

JIT ideas

2002-05-23 Thread Aldo Calpini
hello people, I've implemented some print opcodes in JIT (for i386), but I would like to know your opinion about these before submitting a patch. in reality, there isn't a big performance boost, because I'm just calling printf as the C opcode does. it just saves some push/pop/call/ret

[PATCH] new i386/core.jit entries

2002-05-22 Thread Aldo Calpini
hello, I've added the following new ops to i386/core.jit: inc_i dec_i inc_i_ic dec_i_ic lt_i_ic_ic lt_i_i_ic gt_i_ic_ic gt_i_i_ic ge_i_ic_ic ge_i_i_ic le_i_ic_ic le_i_i_ic eq_i_ic_ic eq_i_i_ic also fixed buggy definitions for emitm_cmpl_r_m

Re: [netlabs #596] .XS build process needs to be more portable

2002-05-20 Thread Aldo Calpini
Jeffrey Goff (via RT) wrote: I've just patched lib/Parrot/Makefile.PL to check for a Win32 platform, and if so, use .obj for the default object extension. However I did it simply by checking $^O for 'Win'. This is probably not as portable as it could be, but a quick look through

recursion in pasm (and timings)

2002-05-20 Thread Aldo Calpini
hi there, the Examples page on www.parrotcode.org states this about subroutines: The first five registers (I0-I4, S0-S4, P0-P4, N0-N4) are scratch and do not have to be preserved by the callee. this seems to be false for *recursive* subroutines. this is my PASM code fibo.pasm (it

Re: recursion in pasm (and timings)

2002-05-20 Thread Aldo Calpini
Aldo Calpini wrote: and now for timings: [...] em... forgot to include the platform details: OS: Windows 2000 Advanced Server + Cygwin 1.3.10 CPU: AMD K7 550MHz RAM: 256 MB cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;

JIT for Win32

2002-05-10 Thread Aldo Calpini
hello there (and especially the JIT team), is anybody working on JIT-enabling the Win32 platform? I've done some work on this (using MASM as an assembler and VisualC's DUMPBIN as a disassembler instead of the GNU as and objdump). I have a somewhat-working Parrot/Jit/MSWin32-x86.pm that

JIT for Win32

2002-05-10 Thread Aldo Calpini
hello there (and especially the JIT team), is anybody working on JIT-enabling the Win32 platform? I've done some work on this (using MASM as an assembler and VisualC's DUMPBIN as a disassembler instead of the GNU as and objdump). I have a somewhat-working Parrot/Jit/MSWin32-x86.pm that

Re: JIT for Win32

2002-05-10 Thread Aldo Calpini
Daniel Grunblatt wrote: is anybody working on JIT-enabling the Win32 platform? Yes, the new JIT will work (actually, it works) on Windows, probably you didn't read the TODO, says '(currently on hold, waiting for JIT v2)', so, as soon as the the code is in you will be able to use the JIT on