_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
Thanks. Applied.
On Tue, 18 Sep 2001, Simon Cozens wrote:
This enables typecasting between I and N registers, fixes up the
error messages, and makes var num not require an assignment.
I note that some pseudo-ops don't work, and mod doesn't work
as a pseudo op with a constant; nor does
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
All --
I have committed the revised op tracing patch I posted earlier.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL
it packrat (rat for short), and use the
.rat extension? :-)
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research
,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center
-e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
the assembler patch.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
\_/
)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
\_/
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
/_pictures/compdiff/norwegia.jpg
http://www.pythonet.org/pet-shop.html
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED
(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513
the assembler patch.
I just committed these changes.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research
All --
I have renamed the Jako compiler from jako_compiler.pl to jakoc.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester
without
much fluff. You may like to play with it.
I'd still like to have a good macro assembler underlying things.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
formats. Maybe we don't
have to invent yet another one.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus
this out?
Dan? Does this fly in the face of your overall design, or is this
a good thing?
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
qualifiers, such as add_i I4, I4, 3 mapping to add_i_ic I4, I4, 3.
Anyway, enjoy.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL
)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
);
}
}
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
operations added without a
good going-over first. (They may go in later, but not right now)
Backed out per your request.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
that inefficiency. Oh, wait.
We don't *have* an optimizer...
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus
,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett
;
}
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center
be a big help in debugging new ops, especially as
we start working on subroutines and such.
Any thoughts?
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
...
$ make test
without any trouble...
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc
All --
My first cut is pretty sloppy, but it does generate this C file, which
compiles, but I don't have the time to figure out how to get it all the
stuff it needs to link to. If someones gets it running, I'd like to see
how many Mops they get vs. regular.
BTW, I realized as I left the
Simon --
On Mon, Sep 17, 2001 at 10:33:35AM -0400, Gregor N. Purdy wrote:
as *word* counts not *byte* counts -- D'Oh!)
Isn't assembly programming fun? :)
Woo-hoo!
*/
static int
-check_magic(void** program_code) {
+check_magic(void** program_code, long* program_size
rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
\_/
Perl.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center
of PISA (Parrot Instruction Set Architecture). I was
imagining a set of intermediate support stuff to be written in pasm.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
?
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com
with the current Parrot directory, but
I think that really belongs as lib/Parrot like many (but not all) folks
do when building Perl modules for CPAN...
On Fri, 2001-09-14 at 12:31, Gibbs Tanton - tgibbs wrote:
-Original Message-
From: Gregor N. Purdy
To: [EMAIL PROTECTED]
Sent: 9/14/2001
All --
The following .cvsignore file goes in the root parrot source code
directory to ignore the build products.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
All --
The attached t/.cvsignore file will cause cvs to ignore the products
of 'make test'.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203
,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080
Brent --
# My first cut is pretty sloppy, but it does generate this C file, which
# compiles, but I don't have the time to figure out how to get
# it all the
# stuff it needs to link to. If someones gets it running, I'd
Parrot::Config may come in handy, especially @PConfig{qw(cc ccflags
.
The next issue would be making the interpreter do something with the
fingerprint...
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL
things that need addressing).
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
to set a lower bound? Perhaps that is already set at 32 bits for
opcodes and operands, and should be left alone...
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
, we could even use an 8-bit
type for opcode_t. At least then we'd only be wasting three bits per
register operand...
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
All --
I Just committed the following changes. Enjoy.
* New stack functions push_entry(), pop_entry() and swap_entry().
The first two exist for the support of the last one. These
functions don't care what is in the stack entries. These exist
to support the new 'swap' op
All --
Judging by the patches, this was a much earlier version than I intended to
post. In the current version, min and max are now implemented, and test files
evaluate two-operand and three-operand versions. The (=) operands work now
with more than two operands, and I've added tests for
Dan --
Ah, but I'd rather do it right the first time than have to redo it later,
especially if the redoing is incompatible with what was done first. ;)
I would, too. But I view Jako is being a sort of test bed for what our
choices at the Parrot level do to language implementers. So, Jako is
All --
I've been tinkering with loading oplibs via dlopen(). This patch
works on one of my test machines, although I'd expect your mileage
to vary somewhat.
You may have to play with your LD_LIBRARY_PATH environment variable
to get the libcore_ops.so file findable by dlopen(). I had to add
'.'
Dan --
Comments? Suggestions? Critiques?
This is nifty. Couple'a things:
Thanks. I really want to get enough of a solution together that we can
move the temporary during-development-only ops into a separate oplib
(call it 'devel.ops'). This then becomes proof of the overall approach
and
All --
Based on the recent exchange between Dan and I, I've revised the
dynamic oplib loading patch. Now, there is a op_lib_init()
function that gets called. It returns a pointer to an op_lib_t,
which contains the name of the oplib, the number of ops, and
pointers to the op_info and op_func
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203
James --
Hey all. I just looked through the changes to jakoc, and I think the
calling convention is mostly good... except for the return address.
Originaly, I thought that perhaps it'd be good to put the return address
after the args on the stack, so that once you've eaten the args, it's
Dan --
Should we have bsr(i|ic, i|ic), that jumps to $1, with the return
address below the $2 arguments? Similarly, should we have ret(i|ic),
that rotates the return address out from under $1 arguments and then
returns to it?
Nope. For a number of reasons, the biggest
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203
All --
Possibly just for fun, here are some obscure trigonometric ops to
complement the trig ops we already have.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
.
Can we have ops to inquire on the type of the topmost stack entry?
In the works, yep.
Cool.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
conventions in jakoc, anyway).
Can we have ops to inquire on the type of the topmost stack entry?
[snip]
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy
to produce a single pbc file.
Regards
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc
Brent --
but how do I use an additional .ops file? I'd like to statically
link it in and use it alongside core.ops, but I can't figure it out.
The assembler can't find the opcodes, even after I run ops2pm. Is there
some magical command-line switch I'm not activating or something?
This
James --
I'm having a parrot-project weekend, y'all might have noticed. Right now,
I'm thinking of multiple oplibs, specificly how to get the bytecode/packfile
to express it.
I've been working on this. I've added an opcode_table section that
contains (oplib, opindex) pairs (they are
Brent --
How about, instead of just saying 'oplib foo' in the bytecode header, we
say 'first N opcodes of oplib foo'? After all, you generally don't have
any use for opcodes added after you assembled. :^)
I agree, although I take it further by allowing you to cherry-pick the
ops you need
2001
+++ OpcodeTable.pm Sat Nov 3 18:34:23 2001
@@ -0,0 +1,205 @@
+#!/usr/bin/perl -w
+#
+# OpcodeTable.pm
+#
+# Parrot::PackFile::OpcodeTable Perl package. Functions for manipulating
+# Parrot Pack File Opcode Tables.
+#
+# Copyright (C) 2001 Gregor N. Purdy. All rights reserved
Thanks. Applied.
On Sat, 3 Nov 2001, Jason Diamond wrote:
Here's a minimal patch for the dynamic loading functions on Win32. I punted
on properly implementing Parrot_dlerror for now but the other three should
work.
How soon can you check in your ops so we can test these?
Jason.
Brian --
None of these are issues with the approach I've been working on /
advocating. I'm hoping we can avoid these altogether.
I think this is a cool concept, but it seems like a lot of overhead with
the string lookups.
I'm hoping we can keep the string lookups in order to
from pdump.c
Just tryin' to help,
Peter C.
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc
)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
hardcoded or generated. Of course,
that opinion is based on the hope that we can get the real stuff in
sooner rather than later.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N
); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860
, but then I'd have to
come up with another language name (oh the horrors!)
[snip]
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL
AUTO_OP close(i) {
close($1);
}
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
.
--
[EMAIL PROTECTED]
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
Dan --
platform.c and platform.h is exactly what we're going to do. We need a
platforms directory as well. In there we'll have a win32.[ch], a
linux.[ch], a vms.[ch], a generic.[ch] and so on. Configure.pl will copy
the appropriate ones up and rename them platform.c platform.h, and we'll
Brent (and Jason) --
Based on Dan's agreement to the approach, I just checked in the starting
point files for doing this right. Please have a look and send patches
against those files. As soon as we get config wired up to autoselect the
appropriate platform files, we'll be able to make this All
Brent --
[ snip Jason Diamond's question ]
No, this seems to be a case of Unix-centrism. (I feel your pain--I'm on
Win32 too.) I'm CCing perl6-internals on this, since I don't really
have the C experience to know what to do here.
I just posted a reply to someone else on the matter. If
On Thu, 27 Sep 2001, Andreas Buggs Hauser wrote:
On Thursday 27 September 2001 01:27, Gregor N. Purdy wrote:
On Wed, 26 Sep 2001, Andreas Buggs Hauser wrote:
On Wednesday 26 September 2001 23:09, Simon Cozens wrote:
On Wed, Sep 26, 2001 at 02:18:11PM -0400, Gregor N. Purdy wrote
.
--
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203
.
Regards,
-- Gregor
_
/ perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com
with dynamic loading) sooner rather than merge
these oplibs together?
Regards,
-- Gregor
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED
) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
\_/
. Yet.
Want : Will :: Yes : No
(sigh)
Regards,
-- Gregor
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
like hand-generated code again.
Either way is fine with me. Let me know and I'll check in an updated
version...
Regards,
-- Gregor
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy
with a newly generated one.
Regards,
-- Gregor
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http
) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester
_
/Inspiration Innovation Excellence (TM) \
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc.http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
Innovation Excellence (TM)\
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
Brent --
Give it another try. I just messed with jit2h.pl to make it not
generate empty brace pairs.
Regards,
-- Gregor
/Inspiration Innovation Excellence (TM)\
Gregor N. Purdy
Innovation Excellence (TM)\
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
/Inspiration Innovation Excellence (TM)\
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069
(TM)\
Gregor N. Purdy [EMAIL PROTECTED]
Focus Research, Inc. http://www.focusresearch.com/
8080 Beckett Center Drive #203 513-860-3570 vox
West Chester, OH 45069 513-860-3579 fax
1 - 100 of 191 matches
Mail list logo