Re: [APPLIED] Re: Memory management revamp - phase 2

2002-05-05 Thread Jeff
Steve Fink wrote: > > On Sun, May 05, 2002 at 08:43:17PM -0700, Steve Fink wrote: > > On Sat, May 04, 2002 at 11:14:06PM -0400, Jeff wrote: > > > Daniel Grunblatt wrote: > > > > > > > > On Sat, 4 May 2002, Steve Fink wrote: > > > > > > > > > Applied, with one change: the alignments of the three p

Re: [APPLIED] Re: Memory management revamp - phase 2

2002-05-05 Thread Steve Fink
On Sun, May 05, 2002 at 08:43:17PM -0700, Steve Fink wrote: > On Sat, May 04, 2002 at 11:14:06PM -0400, Jeff wrote: > > Daniel Grunblatt wrote: > > > > > > On Sat, 4 May 2002, Steve Fink wrote: > > > > > > > Applied, with one change: the alignments of the three pools are now > > > > #defined. >

Re: [APPLIED] Re: Memory management revamp - phase 2

2002-05-05 Thread Steve Fink
On Sat, May 04, 2002 at 11:14:06PM -0400, Jeff wrote: > Daniel Grunblatt wrote: > > > > On Sat, 4 May 2002, Steve Fink wrote: > > > > > Applied, with one change: the alignments of the three pools are now > > > #defined. > > > > > > > I believe your commit was incomplete. > > I'd have to agree.

[COMMITTED] bytecode/assembler mods

2002-05-05 Thread Melvin Smith
I just committed the first wave of rework for the bytecode format to make .pbc work cross platform. See docs/parrotbyte.pod for the current spec, which will change again shortly. Due to time constraints, I wasn't able to fully finish the patch this weekend, I still need to fix floats and wordsiz

Re: Loop controls

2002-05-05 Thread Damian Conway
Glenn Linderman wrote: > I've been watching this "Loop controls" thread with much interest. It > is clear that there is some convenience in the concept of specialized > blocks that execute FIRST or LAST or NEXT and BETWEEN has a large > appeal, considering the large number of loops where somethi

Re: Loop controls

2002-05-05 Thread Damian Conway
Mike Lambert asked: > > > It's also unnecessary. The Holy Scoping Rules actually work in your favour in > > this case. In Perl 6 you can just do this: > > > > > > while my $cond = blah() { > > ... > > } > > > > and C<$cond> is defined *outside* the block. > > Question t

Re: Loop controls

2002-05-05 Thread Damian Conway
Allison asked: Hmmm... would C not have the same problem as C? It also > "can't decide whether to execute until it knows whether the loop is > going to iterate again". Yes, it does. Damian

Re: Loop controls

2002-05-05 Thread Damian Conway
Miko O'Sullivan wrote: > > Acme::Don't - The opposite of `do' > > Wonderful job, Damian! I'll get to work on the complementary Acme::TryNotTo > module. use Yoda; do {...} or not do {...}; not defined try {...}; ;-) Damian PS: that's valid Perl 6!

Re: Bytecode storage of floats

2002-05-05 Thread Dan Sugalski
At 2:30 AM -0400 5/5/02, Melvin Smith wrote: >I have a patch almost complete that makes Parrot handle bytecode >files across platforms (does endian and wordsize transform), but there is >one glaring non-portability, and that is that we are storing floating point >constants in native format. > >We

Re: [APPLIED] Re: Memory management revamp - phase 2

2002-05-05 Thread Jeff
Peter Gibbs wrote: > > Mike Lambert wrote: > > Wow. Tinderbox gave us fall and spring in a few hour period. Nice. Here's > > a patch to help make us make it to summer again. > > Steve actually pointed out that this style of code was not safe, but I still > managed to miss that one. > > > -