I searched the archives with Google (what, no internal search engine??),
and found the thread on perl6 macros, which I did read.
From what I saw, it mostly concentrated on using macros for speed. That
should be a minor argument, especially considering this is perl. :)
Common Lisp macros are
Hey,
After going through and hopefully learning the GC system yesterday, today
I went through looking for problems in the code that uses it (or doesn't
use it, as the case may be). Below are what I believe to be potential
problems in Parrot's memory use. I may very well be mistaken on many of
At 3:21 AM -0500 3/25/02, Michel J Lambert wrote:
Below is a cleanup patch for a comment or two, some flags missing, that I
did while reading through it all in an attempt to figure it all out.
Thanks for the code review--you've found a number of bugs and missing bits.
We ought to see about
I took one of the smaller problems from the BASIC interpreter, sorting the
stack, and posed it as a question on PerlMonks to see how a Mongolian Horde
would handle the problem. The results are at:
http://www.perlmonks.org/index.pl?node_id=153974
Summary: the only apparent way to do
On Thu, 2002-03-21 at 12:52, Allison Randal wrote:
On Wed, Mar 20, 2002 at 09:59:35AM -0800, Larry Wall wrote:
I should update y'all to my current thinking, which is that $_ is
always identical to the current topic, even if the topic is aliased to
some other variable. To get at an outer
That worked, thanks!
--Josh
At 3:15 on 03/26/2002 EST, Michel J Lambert [EMAIL PROTECTED] wrote:
Sorry. It's easier to c+p into Pine than it is to upload+attach. I have a
feeling a few other patches I've submitted might be screwed up as well. If
this happens for anyone, please let me know.
Aaron Sherman writes:
: On Thu, 2002-03-21 at 12:52, Allison Randal wrote:
: On Wed, Mar 20, 2002 at 09:59:35AM -0800, Larry Wall wrote:
:
: I should update y'all to my current thinking, which is that $_ is
: always identical to the current topic, even if the topic is aliased to
: some
macro foo($a,$b) {
return( $c // $a+$b );
}
print foo(1,2), \n;
my $c=100;
print foo(1,2) \n;
Yeah, your example provided is correct. It's called variable
capture, and there's some work required by common lisp macros to
ensure that unwanted variable capture does not occur.
I don't
Simple patch, it looks larger than it should because I renamed new_chunk
to next_chunk.
Rather than free the stack chunks as we pop back down the stack, just
leave it at its high-water mark so we don't reallocate every time it grows.
-Melvin
Index: register.c
- Original Message -
From: Melvin Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: dan Sugalski [EMAIL PROTECTED]
Sent: 26 March 2002 09:39
Subject: [PATCH] Stack bugfix
Afterwards the test program ran with larger file sizes, eventually
crashing again, but this time in the GC.
Attached is a patch to implement computed-goto on gcc, taken from the
original post by Daniel Grunblatt:
http:[EMAIL PROTECTED]/msg06255.html
Changes since his original patch:
+ works with the current codebase
+ handles all jumps properly, and passes all tests (I'm not sure,
but I don't believe
The introduction make quicktest made this missing .cvsignore more
apparent.
Mike Lambert
*.pasm
*.pbc
*.out
At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote:
Attached is a patch to implement computed-goto on gcc, taken from the
Wow, talk about timing, I was up late working on computed goto core
just now, and had hacked ops2c.pl and CGoto.pm. I had to remove
prederef stuff until I could look at it.
Melvin Smith:
# At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote:
# Attached is a patch to implement computed-goto on gcc, taken from the
#
# Wow, talk about timing, I was up late working on computed goto core
# just now, and had hacked ops2c.pl and CGoto.pm. I had to remove
# prederef stuff
Doh, sorry about that.
If it makes you feel any better (or worse), I was in the midst of writing
up the email for fixing the pushp bug you mentioned, when up pops '[PATCH]
Stack fix' in my email inbox, turning my local bug fix into a nice
learning exercise. :)
I think you bring up a good point
At 12:16 AM 3/27/2002 -0800, Brent Dax wrote:
Melvin Smith:
# At 02:55 AM 3/27/2002 -0500, Michel J Lambert wrote:
# Attached is a patch to implement computed-goto on gcc, taken from the
# Right now most of us have no clue whos doing what anymore besides Dan
# doing GC, Jeff doing unicode, Simon
16 matches
Mail list logo