Re: A task independent of the freeze

2001-09-21 Thread Gregor N. Purdy
Parrot/OpFunc.pm). Enjoy, -- 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 Be

Re: Jako patch

2001-09-18 Thread Gregor N. Purdy
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

[COMMIT] Reworked disassemble.pl

2001-09-18 Thread Gregor N. Purdy
a 'scripts' subdirectory? Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purdy [EMAIL PROTECTED] Focus Researc

[PATCH AGAIN] Revised op tracing patch

2001-09-17 Thread Gregor N. Purdy
n't any objections... 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/ 8080 Be

Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
Here's the failure stuff from the build process: gcc -o parrot -L/usr/local/lib test_main.o blib/lib/libparrot.a -lnsl -ldl -lm -lpthread -lcrypt -lutil blib/lib/libparrot.a(jit_cpu.o)(.text+0x2ce0): In function `Parrot_jit_restart_op': : undefined reference to `Parrot_end_jit' collect2: ld retu

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
of implementation is causing the compile failure. And, the existence of the prototype in two places seems like a bad idea... Which file do you think has the implementation of this function? Regards, -- Gregor On Wed, 2003-07-02 at 11:48, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PRO

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
H ((PREV_OP == dec_i) || (PREV_OP == inc_i) || (PREV_OP == sub_i_i_i)) Parrot_end { jit_emit_end(NATIVECODE); } $ But its definitely not ending up in jit_cpu.c here... Regards, -- Gregor On Wed, 2003-07-02 at 12:51, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PROTECTED]> wrote: >

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
Leo -- Daniel and I are on the trail... On Wed, 2003-07-02 at 17:47, Leopold Toetsch wrote: > Gregor N. Purdy wrote: > > > Leo -- > > > > My jit_cpu.c doesn't have a Parrot_jit_end() in it: > > > > $ grep end_jit jit_cpu.c > > Wasn't her

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
OK. Daniel and I drilled into it and we discovered that a small change to two regexps in jit2h.pl solved the problem. I have checked in the change. Regards, -- Gregor On Wed, 2003-07-02 at 18:02, Gregor N. Purdy wrote: > Leo -- > > Daniel and I are on the trail... > > On Wed

Jako gets modules (sort of)

2003-07-02 Thread Gregor N. Purdy
All -- I just checked in some changes to Jako that bring rudimentary module support. Its rudimentary because for now, modules are not referenced from separate files, but simply form handy named groups of symbols within the single source file being compiled. Of course, this really becomes useful o

Jako has modules! (for real this time)

2003-07-03 Thread Gregor N. Purdy
All -- I just checked in changes that add real (for some values of "real") modules to Jako. The lexer now handles #line directives, and intercepts 'use ', bringing in the lines from the appropriate file to be lexed. The Jako Standard Library (languages/jako/*.jako, including sys, string and Curse

Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
All -- I just checked in a small patch that allows Jako to start grokking PMCs. For example: use sys; var pmc foo; foo = new PerlUndef; foo = "Hello, world!\n"; sys::print(foo); Regards, -- Gregor -- Gregor Purdy[EMAIL PROTE

Re: Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
Melvin -- Thanks! Its of only limited utility until I get the key stuff working, but I was tired of having a null PMC story for Jako. Regards, -- Gregor On Tue, 2003-07-08 at 18:01, Melvin Smith wrote: > At 05:44 PM 7/8/2003 -0400, Gregor N. Purdy wrote: > >I just checked in a sm

Re: Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
IIRC, that has been the policy during previous freezes. However, I can stop tinkering if its getting in anyone's way or on anyone's nerves... Regards, -- Gregor On Tue, 2003-07-08 at 18:01, Melvin Smith wrote: > At 11:50 PM 7/8/2003 +0200, Leopold Toetsch wrote: > >Gr

Re: Jako groks basic PMCs

2003-07-09 Thread Gregor N. Purdy
Leo -- No problem. I saw the smiley, but SCNR was new to me. "we cool" :) Regards, -- Gregor On Wed, 2003-07-09 at 02:08, Leopold Toetsch wrote: > Gregor N. Purdy wrote: > > > IIRC, that has been the policy during previous freezes. > > > > However, I ca

[PATCH] "fix" boolean.pmc and closure.pmc?

2003-07-09 Thread Gregor N. Purdy
All -- I just did a CVS update, and I had to make the following changes to get it to compile (I also had to delete and update languages/imcc/parser.[hc], which I think was expected). I didn't check it in because I'm not sure if the stuff I commented out is really supposed to go (although recent p

Copyrights

2003-07-09 Thread Gregor N. Purdy
All -- I noticed that there are many files with copyrights of "when this is determined...", while some files have a copyright of Yet Another Society. Seems like they should all be Yet Another, or none should be... Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED]

Re: [PATCH] "fix" boolean.pmc and closure.pmc?

2003-07-10 Thread Gregor N. Purdy
: > Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > > All -- > > > I just did a CVS update, and I had to make the following changes > > to get it to compile > > Why did it not compile? What error message? > > > ... (I also had to delete and update >

imcc and integer constants

2003-07-10 Thread Gregor N. Purdy
At line 679 of languages/imcc/pbc.c, we have: case 'I': if (r->name[0] == '0' && r->name[1] == 'x') r->color = strtoul(r->name+2, 0, 16); else if (r->name[0] == '0' && r->name[1] == 'b') r->color = strtoul(r->name+2, 0, 2);

Using imcc instead of assemble.pl?

2003-07-10 Thread Gregor N. Purdy
All -- I changed the Jako makefile to use imcc instead of assemble.pl, but I noticed that the mandelzoom example no longer cleared the screen between screen updates. So, I manually assembed its languages/jako/examples/mandelzoom.pasm with assemble.pl with the idea of comparing the results of dissa

Re: Copyrights

2003-07-10 Thread Gregor N. Purdy
wrote: > s/Yet Another Society/The Perl Foundation/g > > > Gregor N. Purdy wrote: > > All -- > > > > I noticed that there are many files with copyrights of > > "when this is determined...", while some files have a > > copyright of Yet Another So

Re: cmod op

2003-07-10 Thread Gregor N. Purdy
Simon -- It used to be that the 'mod' op was the mathematically "correct" (in the Knuth sense) op, and the 'cmod' op was 'mod' per the C implementation used to compile Parrot (which are two very different things, it turns out). I wrote the Knuth-mod op originally, and proposed having both versions

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-11 Thread Gregor N. Purdy
Benjamin -- The trick is to find the cheapest possible way to get conditional processing to occur if and only if there are events in the event queue. I'll only be considering the fast core here for simplicity. But, if you look at include/parrot/interp_guts.h, the only thing of interest there is t

Re: [RfC] Clean up of the ParrotIOLayerAPI

2003-07-27 Thread Gregor N. Purdy
Juergen -- Juergen Boemmels wrote: Write PutS Why are there two diffrent calls to write data to an io, with only a slightly different prototype. This is code-duplication in every layer. I can't think of any use case where PutS won't be implemented as Write(..., data, strlen(data)). These

Re: Subversion?

2005-02-04 Thread Gregor N. Purdy
I think Parrot is already about subversion. All your interpreter are belong to us. Ron Blaschke wrote: Just curious. Are there any plans moving parrot to subversion? Ron

Re: More registers

2005-04-19 Thread Gregor N. Purdy
Leo -- I had posted a program a while ago that generates large fake programs for testing such things. Did that not help? I think I still have it in my working directory if you'd like to have a peek at it... Regards, -- Gregor Dan Sugalski wrote: At 12:05 PM +0200 4/13/05, Leopold Toetsch wrote: As

Re: new libraries

2004-04-09 Thread Gregor N. Purdy
Sounds like a deep version of map... Regards, -- Gregor On Fri, 2004-04-09 at 06:02, Jens Rieks wrote: > Hi, > > On Thursday 08 April 2004 23:49, Tim Bunce wrote: > > On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: > > > Data::Replace replaces every occurrence of one PMC in a neste

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
So, we are moving in a more verbose direction, which is a bummer for people who like to write one-liners and other tiny programs. Assuming only Perl 6 is installed on your system, if your script started with: #!/usr/bin/perl all the stuff about trying to figure out what version you are using w

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
ture of Perl 6. #!/usr/bin/perl6 ... # Perl 6 stuff here use 5; # or, whatever # Perl 5 stuff here no 5; # or, whatever # More Perl 6 stuff here use python; # you get the idea ... Regards, -- Gregor On Wed, 2004-04-14 at 12:59, Aaron Sherman wrote: > On Wed, 200

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
> Aaron Sherman wrote: > > On Wed, 2004-04-14 at 09:29, Gregor N. Purdy wrote: > > > >>So, we are moving in a more verbose direction, which is a bummer for > >>people who like to write one-liners and other tiny programs. > > > > > > per

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
achy keen. If you pass it to a Python interpreter, you get what you deserve :) You have used "use syntax" which falls under the category of "# or whatever" in my message. Regards, -- Gregor On Wed, 2004-04-14 at 18:51, Brent 'Dax' Royal-Gordon wrote: > Gregor N

Re: The Pie-thon benchmark

2004-06-21 Thread Gregor N. Purdy
So, where and when is the pie-throwing going to happen, precisely? IIRC, its at OSCON, but last time i googled for it, I didn't see mention of which OSCON session or BOF it would be at Regards, -- Gregor Dan Sugalski wrote: Since this is getting worked on now, I figured I'd post the benchmark U

Re: Python::Bytecode

2004-07-12 Thread Gregor N. Purdy
Leo -- I had tinkered around with this stuff back in 2003, and ended up writing Python::Bytecode::SAX to help me visualize bytecode. IIRC, I ran into the same issue of only disassembling one code block. I'd be interested to know if P::B::S treats your example python bytecode any better than P::B. I

Re: Starting to make things final

2004-08-03 Thread Gregor N. Purdy
Dan -- Thanks for mentioning Jako. It usually gets no respect. :) But, I think Jako is "working" for some definition of "working". But, it is clearly not an idiomatic compiler in that its using old conventions (not surprising, given its history). Did I miss the creation of the compiler-writer list?

Re: Compile op with return values

2004-08-23 Thread Gregor N. Purdy
Hmmm... Wouldn't a C compiler want to return a sub that invoked the main() (if there was one)? And, if there wasn't one, wouldn't the C compiler want to return a sub that raised an exception? Regards, -- Gregor Dan Sugalski wrote: At 11:03 PM -0700 8/21/04, Steve Fink wrote: I am experimenting with

Pathological Register Allocation Scenarios

2004-08-27 Thread Gregor N. Purdy
Dan -- I think it would be interesting to find out how, say, gcc behaves on the pathological code structures you've run into. Could your compiler spit out a structurally (although not semantically! :) equivalent piece of C code that could be used with a C compiler to see how we do vs. C compilers i

Re: Pathological Register Allocation Scenarios

2004-08-30 Thread Gregor N. Purdy
; print ".end\n"; print "\n"; exit 0; - snip Dan Sugalski wrote: At 6:50 AM -0700 8/30/04, Gregor N. Purdy wrote: Dan -- I figured. We could probably write a code-generator that used a PRNG to generate massive amounts of

Pathological Register Allocation Test Generator

2004-10-02 Thread Gregor N. Purdy
++ -c gen.cpp and imcc -o x.x gen.imc on my system, the g++ compiler does eventually finish, but the imcc compiler is eventually killed. Maybe this could be used to drive out the underlying problems that are keeping parrot from compiling Dan's really large subs? Regards, -- Gregor Gregor N.

examples/sub.pasm (and others) broken?

2003-09-18 Thread Gregor N. Purdy
I just got my setup working here in my new home town of Seattle, WA and I noticed we are about to release a new Parrot. I wanted to make sure Jako was working right, but there has aparently been some changes to imcc that make its output unacceptable now. In an attempt to get up to speed on what is

Re: Problem building jako (perl version dependency?)

2003-09-18 Thread Gregor N. Purdy
Andy -- I didn't see anything wrong in the code, but I added some parens. Let me know if you still have trouble... Regards, -- Gregor On Mon, 2003-09-15 at 08:51, Andy Dougherty wrote: > On Solaris 8, with Sun's supplied perl5.00503 and with Sun's cc, I get the > following error when trying t

Re: examples/sub.pasm (and others) broken?

2003-09-18 Thread Gregor N. Purdy
I threw to the list in case someone has the tuits to fix the examples. I really don't think we should ship with broken examples. They should be fixed or removed if it isn't worth it... Regards, -- Gregor On Thu, 2003-09-18 at 21:04, Steve Fink wrote: > On Sep-18, Gregor N. Purdy wr

IMCC .globalconst?

2003-09-20 Thread Gregor N. Purdy
All -- I don't understand how .globalconst fits in with the IMCC policy of everything being in a .sub. The Jako compiler emits stuff like this right now (in my sandbox). It used to emit the constants as .const right where the were found lexically, but I've introduced code motion to collect all in

Re: IMCC .globalconst?

2003-09-20 Thread Gregor N. Purdy
003-09-20 at 12:59, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > > All -- > > > It used to emit the constants as .const right where the were found > > lexically, but I've introduced code motion to collect all inline > > code in

Re: Pondering argument passing

2003-09-20 Thread Gregor N. Purdy
Luke -- Need it *actually* stick them in the array? Or, could it just provide an array-like interface to the underlying registers? Thats cheaper, especially if not all args are going to get accessed. Explaining how such a thing works to an optimizer that wants to know when registers are being acc

string_to_cstring()

2003-09-21 Thread Gregor N. Purdy
All -- I've got some diffs in my sandbox that I thought I had submitted at one point, but I can't find any evidence of them being submitted, so I'll open discussion here. The first change is that the prototype for string_to_cstring() becomes: char * string_to_cstring(struct Parrot_Interp * i

Re: jako causing MANIFEST failures

2003-09-21 Thread Gregor N. Purdy
Nick -- Looks like I'm the guilty party. I do tend to do this every now and again, even though I don't consider myself thoughtless or careless. I think sometimes I get focused on my local changes and as I'm testing and committing it just isn't natural to consider that a change in something that *

Re: string_to_cstring()

2003-09-21 Thread Gregor N. Purdy
Nicholas -- I'd be happy with that... Regards, -- Gregor On Sun, 2003-09-21 at 09:12, Nicholas Clark wrote: > On Sun, Sep 21, 2003 at 08:48:55AM -0700, Gregor N. Purdy wrote: > > The next change is a change to the IO layer. In include/parrot/io.h > > we change struct _Parr

Re: Trig functions for vtables

2003-09-22 Thread Gregor N. Purdy
On a related note, I wonder how all this fits in with methods and multimethods? If we consider the current trig.ops as being equivalent to, e.g. (expressed with approximate Perl 6 isms): multi sub sin(Num $arg) : returns Num; multi sub cos(Num $arg) : returns Num; And, at some level I do

Re: Problem building jako (perl version dependency?)

2003-09-23 Thread Gregor N. Purdy
Andy -- Thanks. That was a strange one. No complaint by my Perl, even with "use warnings 'all';", but its definitely a typo (and now fixed, too). Regards, -- Gregor On Mon, 2003-09-22 at 06:21, Andy Dougherty wrote: > On Thu, 18 Sep 2003, Gregor N. Purdy wrote: > &g

Re: Safe Mode for Parrot -- Need a volunteer

2003-10-03 Thread Gregor N. Purdy
Dan -- Here's a first version that works with the regular core. You have to explicitly define PARANOID, or the added code won't get compiled. I imagine this will have to be adapted to work with the other core types, but I wanted to throw this out as a starting point. I'll leave it up to you whet

Re: Safe Mode for Parrot -- Need a volunteer

2003-10-04 Thread Gregor N. Purdy
Leo -- Thanks for taking the time to review and comment. > > Here's a first version that works with the regular core. > > > You have to explicitly define PARANOID, or the added code > > won't get compiled. > > It IMHO should be a separate run core, which can be switched to, > whenever safe exec

Predereferencing glossary.pod entry

2003-10-04 Thread Gregor N. Purdy
I just put together an entry on predereferencing in the glossary, with pointers to info on various events in its history. I don't remember if it was a recent summary or what, but someone pointed out there was no such entry. Sorry I can't find the original email to notify you directly, but I hope y

Re: IMCC - calling convention syntax

2003-10-07 Thread Gregor N. Purdy
The optimizer could hoist the construct out of the loop... Assuming it can realize its possible to do that. Regards, -- Gregor On Tue, 2003-10-07 at 01:14, Leopold Toetsch wrote: > Will Coleda <[EMAIL PROTECTED]> wrote: > > As I realize my example is incorrect. =-) > > > Is there any reason no

Macros and PCC calls

2003-10-12 Thread Gregor N. Purdy
I have a PCC sub: .pcc_sub _char_is_white_space prototyped .param int c # Character to test (as an integer representing its ASCII code)

PCC and IMC

2003-10-12 Thread Gregor N. Purdy
Is there any good reason why prototyped PCC subs shouldn't be callable with IMC syntax that looks like a macro call, without having to make a macro wrapper manually? (I know its not the way it works now, but you can almost simulate it with a PCC sub def and a macro, and it seems to me it would be n

Re: PCC and IMC

2003-10-12 Thread Gregor N. Purdy
ocal str s and then c = ord(s) or ord(c, s) in my .imc file, neither works. Do I need to do magic to use any old op I want? Regards, -- Gregor On Sun, 2003-10-12 at 11:42, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PROTECTED]> wrote: > > Is there any good

Re: PCC and IMC

2003-10-12 Thread Gregor N. Purdy
s a PMC not a string. Regards, -- Gregor On Sun, 2003-10-12 at 12:15, Luke Palmer wrote: > Gregor N. Purdy writes: > > Leo -- > > > > The Jako compiler spits stuff out from Perl. > > > > I'm writing some new experimental stuff in PIR directly. > > > >

Re: Object freezing

2003-10-20 Thread Gregor N. Purdy
> the xml header is only for the top level thing in the serialized > tree. if it is nonstandard you have to mark the serialized string so you > can call the matching thaw methods. each object in the serialized tree > will have to support that method or some code has to be supplied to > handle all

Brass Parrot

2003-10-27 Thread Gregor N. Purdy
Here's a suggestion for some upcoming release: Brass Parrot. http://www.avonpage.com/brassparrot.html http://usvi.diningguide.net/data/d100132.htm Maybe a deep-winter release, so us folks in the Northern hemisphere can think pleasant tropical thoughts about St. Croix... Regards, -- Gregor -

New glossary entries

2003-11-02 Thread Gregor N. Purdy
I just committed a few new glossary entries for folks reading the summaries: IMC, IMCC, Packfile, PBC, PIR. -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Re: Some PIR "How do I?" questions

2003-11-23 Thread Gregor N. Purdy
Umm.. Do you mean: package Foo::Bar; sub new { my $class = shift; return bless { jo => 42 }, $class; } sub prnJoe { my $self = shift; print $self->{jo}, "\n"; } package main; $f = Foo::Bar->new(); $f->prnJoe(); --

Re: The C Comma

2003-11-24 Thread Gregor N. Purdy
Luke -- I guess it might be nice to just do that with a block... my $n; while { $n++; @accum } < $total { ...; } since we already have a nice do-this-then-do-this syntax. Sure, it looks a little weird in a for loop: for ($i = 0; $i < $X; { $i++; some_func() }) { ...; } but

Re: I could not resist

2004-01-01 Thread Gregor N. Purdy
This made me think of one of my Gregor's Word of the Week entries, but when I went looking for it, I realized that it was in the list of potential future entries, not on the live site. So, I went ahead and used this occasion to select trichotillomania for Word of the Week for 2004-01-03: http://w

Inconsistent Parrot / IMCC behavior

2004-02-28 Thread Gregor N. Purdy
I saw the report that Jako wasn't working right with the latest Parrot, so I went to investigate. I was running the various languages/jako/examples and I ran across this oddity (after doing a fresh 'make' of Parrot and in the languages/jako directory): [EMAIL PROTECTED] jako]$ ./jako examples/fac

Re: LANGUAGES.STATUS

2004-02-28 Thread Gregor N. Purdy
Jako is in a mostly working state. I just checked in a couple of minor cleanups: * Disable languages/jako/examples/sub.jako, since Parrot / IMCC don't support .global int x * Change languages/jako/examples/pmc.jako to preallocate a nice PerlString PMC before attempting to set to a st

Exegesis 7: Some other tyops

2004-02-28 Thread Gregor N. Purdy
First, thanks Damian for doing this, and good show! Smylers already pointed out a few errors in the document, but here are a few others I noticed: * In "Why, how now, ho! From whence ariseth this?" We have this near the top: type FormArgs ::= Str|Array|Pair; and this be

Exegesis 7: Dynamic Headers

2004-02-28 Thread Gregor N. Purdy
In "From the crown of his head to the sole of his foot..." (clearly a reference to a Gilligan's Island episode where Lovey said something similar :), we have: :header{ ..., odd => "Act, $act, Scene $scene...", ... } and below, text indicating that it will "prepend the act and scene infor

Exegesis 7: Fill Justification

2004-02-28 Thread Gregor N. Purdy
In the section "He doth fill fields..." we see an example of Fill Justification where two spaces fit between every word. This doesn't give us an idea of how spaces are distributed if the number of spaces needed does not divide evenly into the number of interstices. In the section "More particulars

Exegesis 7: Option Key Validity

2004-02-28 Thread Gregor N. Purdy
In "Thou shalt have my best gown to make thee a pair...", we are given a reason to use the option syntax vs. the pair constructing fat comma C<< => >>: "...we're guaranteed that the key of the resulting pair is a string, that the string [...] contains a valid identifier, and that the compiler can c

Exegesis 7: Overflow Fields

2004-02-28 Thread Gregor N. Purdy
In "And now at length they overflow their banks." its not clear how an overflow field gets tied to its initial non-overflow field. In the recipe example given, how does it know to go with the $method field instead of the $prep_time field? Is it basing off of matching the horizontal extent of the in

Exegesis 7: Perl6::Slurp

2004-02-28 Thread Gregor N. Purdy
The Exegesis mentions the Perl6::Slurp module, but I don't see it on CPAN. Is it just a race condition? Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Re: Exegesis 7: Option Key Validity

2004-02-28 Thread Gregor N. Purdy
lidity before the program starts" But, since E7 doesn't come right out and say it, I'm asking for clarification. Still could be that you are right and there is nothing to see here, though... Regards, -- Gregor On Sat, 2004-02-28 at 07:46, Smylers wrote: > Gregor N. Purdy writes:

Re: Exegesis 7: Overflow Fields

2004-02-28 Thread Gregor N. Purdy
ctly*? Is it an error, does it have some heuristics to guess? What are the edge cases? Regards, -- Gregor On Sat, 2004-02-28 at 07:39, Smylers wrote: > Gregor N. Purdy writes: > > > In "And now at length they overflow their banks." its not clear > > how an overflow fie

Re: Exegesis 7: Fill Justification

2004-02-28 Thread Gregor N. Purdy
onway wrote: > Gregor N. Purdy wrote: > > > In the section "He doth fill fields..." we see an example of Fill > > Justification where two spaces fit between every word. This doesn't > > give us an idea of how spaces are distributed if the number of > > sp

Re: Inconsistent Parrot / IMCC behavior

2004-02-28 Thread Gregor N. Purdy
nning parrot on 'foo.pasm' generated from 'foo.imc' * Running parrot on 'foo.pbc' generated from 'foo.pasm' since I'd think that the later cases would be mirroring what is going on inside parrot in the earlier ones. Where am I going wrong? Regards, --

Re: Mutating methods

2004-03-11 Thread Gregor N. Purdy
Larry -- So, will "mutatingness" be a context we'll be able to inquire on in the implementation of a called routine? Or, could we provide a specialized distinct implementation for mutating that would get called if .=X() is used? If we are performing some operation on large data, and we know the en

Re: Funky «vector» operator

2004-03-19 Thread Gregor N. Purdy
For me, (vim 6.2), that is < < to get « > > to get » after doing :set digraph (list of available digraphs can be seen by :digraph) But, I find the above a bit unnerving because I've deleted the character, and then if I type a certain character next I haven't. Vim also allows < < t

Re: Funky «vector» operator

2004-03-19 Thread Gregor N. Purdy
Oh, and the form doesn't require you to do the :set digraph thing. Its always available. Regards, -- Gregor On Fri, 2004-03-19 at 06:16, Gregor N. Purdy wrote: > For me, (vim 6.2), that is > > < < to get « > > > to get » > > after doing > &g

Re: Continuations (again)

2004-03-21 Thread Gregor N. Purdy
I don't know about the continuation stuff, but you can't assume that running imc --> pasm --> exec does the same thing as imc --> exec. I ran into that before, and I don't think its going to get fixed until the new imcc lands, at which point old-school pasm might even be gone (although I don't know

[commit] Revised op tracing

2001-09-17 Thread Gregor N. Purdy
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

[commit] Perl classes for dealing with *.pbc files (Pack Files)

2001-09-17 Thread Gregor N. Purdy
milar to the jar utility we have to call 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. Purd

[patch] Small mod to assemble.pl to allow uppercase and underscoresin labels

2001-09-15 Thread Gregor N. Purdy
, -- 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 Beck

Re: Microbenchmark JVM<->PVM

2001-09-15 Thread Gregor N. Purdy
compiler generates. 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/ 8080 Beckett Center Drive #203

[patch] A few fixes to the Jako compiler

2001-09-15 Thread Gregor N. Purdy
e the assembler patch. Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purdy [EMAIL PROTECTED] Focus Research, Inc.

Generate Parrot::OpcodeTable?

2001-09-18 Thread Gregor N. Purdy
(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 \_/

[patch] New comparison ops + better op inference

2001-09-15 Thread Gregor N. Purdy
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-3579 fax \_/

Re: Parrot's mascot

2001-09-15 Thread Gregor N. Purdy
/jako/ 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/ 8080 Beckett Center Drive #203

What about arrays?

2001-09-13 Thread Gregor N. Purdy
program can be exhibited. 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/ 808

Re: Parrot's mascot

2001-09-15 Thread Gregor N. Purdy
here. Maybe that's because its an EX-parrot! http://www.intriguing.com/mp/_pictures/compdiff/norwegia.jpg http://www.pythonet.org/pet-shop.html Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4

Re: [patch] New comparison ops + better op inference

2001-09-15 Thread Gregor N. Purdy
___ / 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

Re: [patch] A few fixes to the Jako compiler

2001-09-15 Thread Gregor N. Purdy
ere broken before > the assembler patch. I just committed these changes. Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purdy

[commit] Renamed jako_compiler.pl to jakoc

2001-09-15 Thread Gregor N. Purdy
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

[new file] The first Parrot-targeted compiler: Jako!

2001-09-14 Thread Gregor N. Purdy
oy! 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/ 8080 Beckett Center Drive #203

Re: [patch] First cut at TODO "allow add I4, I4, 3 instead ofadd_i_ic ..."

2001-09-14 Thread Gregor N. Purdy
le language support for them 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 9

Re: RFC: Bytecode file format

2001-09-14 Thread Gregor N. Purdy
s by the different object file 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

[PATCH] Changes to interpreter op table and simplified DO_OP

2001-09-19 Thread Gregor N. Purdy
rying 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)' \

Protection from opcode-table-change mixups

2001-09-12 Thread Gregor N. Purdy
rl -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 Ch

[patch] First cut at TODO "allow add I4, I4, 3 instead of add_i_ic..."

2001-09-12 Thread Gregor N. Purdy
tial matching if you specified some 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)

Re: Wanted: Subroutine call example

2001-09-17 Thread Gregor N. Purdy
which adds a simple jsr/ret implementation) Probably it would be best to wait. But my Impatience is showing... Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purd

Re: [patch] A few fixes to the Jako compiler

2001-09-16 Thread Gregor N. Purdy
>%d.\n", $line); > +printf(STDERR "jako: Syntax error. Unrecognized condition in if on line %d.\n", >$line); >} > } > > -- _________ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purdy

  1   2   3   >