Re: Call stack manipulation?

2002-04-19 Thread Piers Cawley
Andrew J Bromage <[EMAIL PROTECTED]> writes: > G'day all. > > On Fri, Apr 19, 2002 at 07:06:04AM +0100, Piers Cawley wrote: > >> If I'm going to be doing tail call optimization >> (and I can't call it scheme if I don't) then my first thought was as >> follows. >> >> # This is a tail call >> >

Re: Roadmap for Parrot

2002-04-19 Thread raptor
Also slowing down 0.0.99 so that 0.1.0 has atleast 2-3 times speed up over 0.0.99 :")) |I don't see "World Domination" or "Nervous Breakdown" in there anywhere.

Re: [netlabs #522] BASIC hangs and crashes, Win32 MSVC++, 0.0.5

2002-04-19 Thread Peter Gibbs
Mike Lambert wrote: > Undoing the patch in resources.c seems to fix the problem. > > Changing: > ((Buffer *)buffer)->buflen = req_size; > to: > ((Buffer *)buffer)->buflen = size; > makes it work again. Just for interest, the problem here is that the rounding is always up to the next multi

Related to purifying code

2002-04-19 Thread Munish Fauzdar
Hi, We are compiling some esql files(.ec ) files using "purify" with the -g option. The problem which we are facing is that the log files that are generated after running the purified executable shows some error of the sort as given under : ==

Using Parrot

2002-04-19 Thread Alberto Manuel Brandão Simões
Hi all! I'm thinking to use Parrot to be the 'virtual machine' for a specification language developed at Minho's university. Probably, it will have two languages syntax (an for historic reasons, and another (VDM-SL) because it is a standard). Why Parrot? Well.. I like perl and would like to conn

Re: Using Parrot

2002-04-19 Thread Daniel Grunblatt
On 19 Apr 2002, Alberto Manuel [ISO-8859-1] Brandão Simões wrote: > > Hi all! > > I'm thinking to use Parrot to be the 'virtual machine' for a > specification language developed at Minho's university. Probably, it > will have two languages syntax (an for historic reasons, and another > (VDM-SL)

Re: goto ADDRESS()

2002-04-19 Thread Marco Baringer
Dan Sugalski <[EMAIL PROTECTED]> writes: > Ah, this is incorrect. goto ADDRESS should go to an absolute address, > period. It's for use in those times when you *have* an absolute > address--for example when you've just fetched the address of a > subroutine from a symbol table. but what do i put

Re: Using Parrot

2002-04-19 Thread will coleda
I also recommend: http://www.parrotcode.org/ Daniel Grunblatt wrote: > > On 19 Apr 2002, Alberto Manuel [ISO-8859-1] Brandão Simões wrote: > > > > > Hi all! > > > > I'm thinking to use Parrot to be the 'virtual machine' for a > > specification language developed at Minho's university. Probably,

Re: // in Perl 5.8?

2002-04-19 Thread Rafael Garcia-Suarez
Brent Dax wrote in perl.perl6.language : > > I'm working on a preliminary version right now. So far it's been > surprisingly easy--touches toke.c, perly.y, opcode.pl, pp.c, and > pp_hot.c. (Of course, it's also off an old bleadperl, but I doubt those > files change that actively.) Work on a mo

Re: goto ADDRESS()

2002-04-19 Thread Steve Fink
On Thu, Apr 18, 2002 at 11:11:31PM +0200, Marco Baringer wrote: > Jason Gloudon <[EMAIL PROTECTED]> writes: > > > So thus far, goto ADDRESS(X) means set the program counter to the pointer value > > X. > > ok, but i find this highly counter-intuitive. I used to use this. I kept my own return add

Re: [PATCH] intconst parameter type

2002-04-19 Thread Steve Fink
On Thu, Apr 18, 2002 at 03:24:58PM +1000, Andrew J Bromage wrote: > G'day all. > > This patch introduces a new op parameter type "inconst", which is like > "in" except that it only produces const versions of the op (i.e. it > will not take values from registers). Should it be all one keyword, or

[PATCH] Revised TODO list, again

2002-04-19 Thread Steve Fink
This one got dropped too, and maybe this isn't the right place for this anymore. Index: TODO === RCS file: /home/perlcvs/parrot/TODO,v retrieving revision 1.9 diff -u -r1.9 TODO --- TODO29 Jan 2002 22:13:33 - 1.9 +++

Re: [PATCH] Op metadata

2002-04-19 Thread Daniel Grunblatt
On Fri, 19 Apr 2002, Andrew J Bromage wrote: > G'day all. > > On Fri, Apr 19, 2002 at 12:44:49AM -0400, Dan Sugalski wrote: > > > Ah. Hmmm. Well, we're already attaching some metadata to ops in a > > different way--that's what the op and inline keywords are doing. For > > metadata that use param

Re: [PATCH] intconst parameter type

2002-04-19 Thread Daniel Grunblatt
> > - None of the JIT ports implement it. This will save work. > > As long as my JITed jumptables are fast. If you like coding assembly :-) > > > - It is in general impossible for an optimizer to determine > > where the branch targets are if you allow registers as > > branch

Re: named params, @_, and pass-by-reference

2002-04-19 Thread Damian Conway
Trey Harris wrote: > > In a message dated Wed, 17 Apr 2002, Dave Storrs writes: > > sub load_data ( \$filename; $version; @_ ) { > > I think you can do exactly this with > sub load_data ( $filename is rw, $version, @_ ) { > > Yes? Or maybe > sub load_data ( $filename is r

Regex and Matched Delimiters

2002-04-19 Thread Mike Lambert
Since A5 is the next thing up, it's probably worthwhile to try and get any changes we want to regexes before they get finalized. :) The (?something .. ) syntax which was used to extend the lifetime of the parenthesis in Perl5 was due to the lack of matched delimiters. With a little discussion th

RE: Regex and Matched Delimiters

2002-04-19 Thread Brent Dax
Mike Lambert: (a bunch of stuff about regexes) No offense intended, but I had trouble understanding that, and I helped come up with the thing. :^) So, I'll try to interpret. In Perl 5, we came up against the problem of simply running out of characters in regexes. To deal with this, Larry came