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]
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.
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
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
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,
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
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
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
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
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.
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
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
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
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]
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
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
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
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
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]
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
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
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]
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,
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
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
&& $op_type eq 'AUTO' ) {
print OUTPUT $footer, "\n";
next;
}
===========
Michael
--
Michael Fischer 7.5 million years to run
[EMAIL PRO
system needs something */
==
Michael
--
Michael Fischer 7.5 million years to run
[EMAIL PROTECTED]printf "%d", 0x2a;
-- deep thought
27 matches
Mail list logo