Re: [CVS ci] slices 1 - 6

2004-06-18 Thread Michael Fischer
t;.." is needed, the lexer would parse > "1." as a float - workarounds welcome) if the cursor is just past an identifier and a "[", when in the world (or even Perl6) would the next token not be an index? So, unless floating point array indicies are allowed, you shouldn't need the space, right? Michael Fischer -- [EMAIL PROTECTED]

Re: PMC pdd's in

2002-05-20 Thread Michael Fischer
language were we talking about? :-) $ perl -e 'printf "%d\n", ~0' -1 Um Michael -- Michael Fischer Happiness is a config option. [EMAIL PROTECTED]Recompile and be happy.

Re: .ops metadata [was: Re: JIT me some speed!]

2001-12-26 Thread Michael Fischer
w C, not a mongrel language which may or may not even exist. Note that in the last version above, we are _not_ saying that the second argument is the result of evaluating a bitwise OR on 'i' and 'ic'. Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]printf "%d", 0x2a; -- deep thought

Re: [PATCH] Computed goto detected at Configure.pl

2001-11-15 Thread Michael Fischer
believe there's no way to do this. I played around with numeric labels, enums for them, etc. All without success. If any of the older, more experienced crowd wants to hit me with the bamboo cane, I wouldn't object... Michael -- Michael Fischer 7.5 million year

Re: Yet another switch/goto implementation

2001-11-04 Thread Michael Fischer
On Nov 04, Brent Dax <[EMAIL PROTECTED]> took up a keyboard and banged out > Michael Fischer: > # In the goto case, we spin. And perhaps I am broken there. End > # really wants to return, not just set the pc, but I hadn't thought > # of a clever way to do that corner case,

Re: Yet another switch/goto implementation

2001-11-04 Thread Michael Fischer
On Nov 04, Daniel Grunblatt <[EMAIL PROTECTED]> took up a keyboard and banged out > > > On Sun, 4 Nov 2001, Michael Fischer wrote: > > > On Nov 04, Daniel Grunblatt <[EMAIL PROTECTED]> took up a keyboard and >banged out > > > I really suggest that y

Re: Revised yet another goto/switch...etc.

2001-11-04 Thread Michael Fischer
And now, with the patch Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]printf "%d", 0x2a; -- deep thought diff -ur parrot/Configure.pl dispatcher-11-04/Co

Revised yet another goto/switch...etc.

2001-11-04 Thread Michael Fischer
it of black magic. Suggestion: those who are handier at getting that goto thing to work right might want to merge their ideas against my patch (which has the advantage of being almost totally localized to ops2c.pl and being selectable at Configure time) Ooof. Michael -- Michael Fi

Re: Yet another switch/goto implementation

2001-11-04 Thread Michael Fischer
oint is, if you chose 'goto', $c{cc} /isn't/ gcc, there's a problem. $c{cc} is just whatever you compiled perl5 with, I believe. > > > On Sat, 3 Nov 2001, Michael Fischer wrote: > > > > 2) replaces interp_guts.h with do_op.h > > No, it doesn't, i

Yet another switch/goto implementation

2001-11-03 Thread Michael Fischer
g terribly important. 5) Not the cleanest implementation perhaps, but largely limited to ops2c.pl, and things should be fairly easy to track down. 6) A few warnings about type mismatch when building with 'goto' Yet make, make test and mops.pbc run fine. Hmm. Share and enjoy.

Re: Anybody write a threaded dispatcher yet?

2001-10-30 Thread Michael Fischer
On Oct 30, Dan Sugalski <[EMAIL PROTECTED]> took up a keyboard and banged out > At 10:19 AM 10/30/2001 -0500, Michael Fischer wrote: > >On Oct 29, Dan Sugalski <[EMAIL PROTECTED]> took up a keyboard and banged out > > > At 03:33 PM 10/29/2001 -0500, Ken Fox wrote: &g

Re: Anybody write a threaded dispatcher yet?

2001-10-30 Thread Michael Fischer
gor in private mail, but both of us thought to wait until a number of other things settled down. Particularly the MT, runtime linking of other files, etc., etc.. Also, my understanding was that the goto *pc _was_ indeed very gcc specific, and therefore a no-no for parrot. Thoughts? Michael -- Michae

Re: Revamping the build system

2001-10-23 Thread Michael Fischer
therwise innocent people have skills with it. Frightening, I know, but perhaps we should just make them comfortable about coming out of the closet to help with the build system. :-) Michael, Who actually wishes his auto* skills were better. -- Michael Fischer

another patch to configure (so make test works)

2001-10-14 Thread Michael Fischer
hack system("make include/parrot/vtable.h"); +system("make Parrot/OpLib/core.pm" ); + # and now we figure out how big our things are print <<"END"; Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]

Re: Platform specific code and loadable modules

2001-10-10 Thread Michael Fischer
ut how we can build in support for $^O optimized funcall-switch-goto, etc. A lot more file generation than we have already done, but hey, that's fine. Thoughts? Brent, add this aspect to your stack? Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]printf "%d", 0x2a; -- deep thought

Re: [PATCH] Big patch to have DO_OP as optional switch() statment

2001-10-09 Thread Michael Fischer
ng the perl scripts handle the conversion to C code still valid regardless of what we do with vtables, modules, etc.? Or will that stuff call for a change to the design of those perl scripts, and the .ops file? Michael Fischer -- Developer, "Beware of bugs in the above code. [EMAIL PROTECTED] I have only proven it correct, not tested it." [EMAIL PROTECTED]-- Donald Knuth

Re: [PATCH] Big patch to have DO_OP as optional switch() statment

2001-10-09 Thread Michael Fischer
ng the perl scripts handle the conversion to C code still valid regardless of what we do with vtables, modules, etc.? Or will that stuff call for a change to the design of those perl scripts, and the .ops file? Michael Fischer -- Developer, "Beware of bugs in the above code. [EMAIL PROTECTED] I have only proven it correct, not tested it." [EMAIL PROTECTED]-- Donald Knuth

Re: [PATCH] Big patch to have DO_OP as optional switch() statment

2001-10-07 Thread Michael Fischer
On Oct 07, "Bryan C. Warnock" <[EMAIL PROTECTED]> took up a keyboard and banged out > On Sunday 07 October 2001 10:51 pm, Michael Fischer wrote: > > > > Questions, comments, criticisms? > > It looks like you're implementing this as a full, solitary sw

[PATCH] Big patch to have DO_OP as optional switch() statment

2001-10-07 Thread Michael Fischer
ps (numerically):3.00 Elapsed time:46 Elapsed time:46.00 Ops/sec:6521739.130435 -- Questions, comments, criticisms? Cheers. -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]

Re: More speed trials

2001-10-06 Thread Michael Fischer
and commit it. I'll revise it to fit current state of code and kick it back out to you and the list before Monday AM. Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]printf "%d", 0x2a; -- deep thought

Re: PMC Questions

2001-10-05 Thread Michael Fischer
on. Will it directly mimic the main interpreter vtable? > If so, it seems like an awful waste of space as the PMC might not overload > but a couple of those functions (or does a PMC always have to overload all > of the functions)? For that matter, I can't find where a struct _vtable

Re: Test::...

2001-10-05 Thread Michael Fischer
emoving the '!'s from my %pack_type = ( i => q/l!/, n => q/d/, op => q/l!/, ); Made it happy. Why were they there? Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]

Re: PATCH process_opfunc.pl -- no more extra 'return's

2001-10-01 Thread Michael Fischer
myself. :) Retracting. Its also at least 2 weeks old, and obsoleted/made incompatible by lots of other stuff during that time, including opcode switch() stuff I'd sent to other commiters (presumably unused). Sigh. I'll stay on the sidelines. Michael Fischer -- Developer,

Perl file-gen: while we're freezing...

2001-09-20 Thread Michael Fischer
ach to other template-type files we may use in the future. Overall, I think it would be good to get a _structure_ for all of these related operations with which we can fill in the details later. Cheers. Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED

Draft switch for DO_OP() :-)

2001-09-19 Thread Michael Fischer
y with the #includes, I just nuke 'em and write them back, but the multi-line C-comment block at the top of basic_opcodes.ops is a pain. Eliminating it clobbers everything with a STRING * Better regexen solicited... Let me know what you think. Cheers. Michael -- Michael Fischer

PATCH process_opfunc.pl -- no more extra 'return's

2001-09-16 Thread Michael Fischer
&& $op_type eq 'AUTO' ) { print OUTPUT $footer, "\n"; next; } =========== Michael -- Michael Fischer 7.5 million years to run [EMAIL PRO

Minor "cleanup" patch to interpreter.*

2001-09-15 Thread Michael Fischer
system needs something */ == Michael -- Michael Fischer 7.5 million years to run [EMAIL PROTECTED]printf "%d", 0x2a; -- deep thought