Re: Re: Re: resizablepmcarray, assign.

2006-08-08 Thread Matt Diephouse
Bob Rogers <[EMAIL PROTECTED]> wrote: FWIW, the Common Lisp system I'm writing takes a third tack. It defines a ParrotObject container associated with the name that refers indirectly to the current value. Of course, Common Lisp "symbol" objects are part of the language spec (and aliasing is not

Re: Re: resizablepmcarray, assign.

2006-08-05 Thread Bob Rogers
From: "Matt Diephouse" <[EMAIL PROTECTED]> Date: Sat, 5 Aug 2006 01:22:49 -0400 Bob Rogers <[EMAIL PROTECTED]> wrote: > > This tweak may break other stuff (I didn't check), so take it with a > grain of salt. However, this may be a hint that you are better off > using PMCs as

Re: Re: resizablepmcarray, assign.

2006-08-04 Thread Matt Diephouse
Bob Rogers <[EMAIL PROTECTED]> wrote: I finally found the definition of __set (my tagfile-building recipe was deficient), and, on a hunch, made the tweak shown below, with the following result: [EMAIL PROTECTED]> ../../parrot tcl.pbc -e 'set a [list a b]; set x $a; set a b; puts $a;

Re: resizablepmcarray, assign.

2006-08-04 Thread Bob Rogers
I finally found the definition of __set (my tagfile-building recipe was deficient), and, on a hunch, made the tweak shown below, with the following result: [EMAIL PROTECTED]> ../../parrot tcl.pbc -e 'set a [list a b]; set x $a; set a b; puts $a; puts $x' b a b [

Re: resizablepmcarray, assign.

2006-08-01 Thread Bob Rogers
From: Will Coleda <[EMAIL PROTECTED]> Date: Mon, 31 Jul 2006 20:48:06 -0400 On Jul 31, 2006, at 8:13 PM, Bob Rogers wrote: > > make: *** No rule to make target `runtime/builtin/set.pir', needed > by `runtime/builtins.pir'. Stop. Your timing is impeccable ^_^. Thanks for th

Re: resizablepmcarray, assign.

2006-07-31 Thread Will Coleda
On Jul 31, 2006, at 8:13 PM, Bob Rogers wrote: From: Will Coleda <[EMAIL PROTECTED]> Date: Mon, 31 Jul 2006 05:11:23 -0400 On Jul 30, 2006, at 3:55 PM, Bob Rogers wrote: This doesn't work for me, even in a freshly-built (though somewhat hacked) r13655: [EMAIL PROTECTED]> ../

Re: resizablepmcarray, assign.

2006-07-31 Thread Bob Rogers
From: Will Coleda <[EMAIL PROTECTED]> Date: Mon, 31 Jul 2006 05:11:23 -0400 On Jul 30, 2006, at 3:55 PM, Bob Rogers wrote: > This doesn't work for me, even in a freshly-built (though somewhat > hacked) r13655: > >[EMAIL PROTECTED]> ../../parrot tcl.pbc --pir -e 'set a [lis

Re: resizablepmcarray, assign.

2006-07-31 Thread Will Coleda
On Jul 30, 2006, at 3:55 PM, Bob Rogers wrote: From: Will Coleda <[EMAIL PROTECTED]> Date: Sun, 30 Jul 2006 15:02:29 -0400 languages/tcl/t/tcl_misc.t#27 has a test for this behavior. What's the generated PIR for this? To get the pir generated by tcl (at least at the top level -

Re: resizablepmcarray, assign.

2006-07-30 Thread Leopold Toetsch
Am Sonntag, 30. Juli 2006 22:09 schrieb chromatic: > Install a newer version of Test::Harness.  The one distributed with 5.8.1 > did not include prove. from the parrot README: PREREQUISITES - ... You'll also need Perl 5.6.1 or above to run various configure and build scripts. a) Parr

Re: resizablepmcarray, assign.

2006-07-30 Thread chromatic
On Sunday 30 July 2006 12:55, Bob Rogers wrote: > But I also notice that I can't run "make test" on Tcl because "prove" is > not on my path. I am using Perl 5.8.1, which is rather old, but not > that old, so maybe this is some quirk of the stock SuSE 9.0 > configuration? Install a newer version

Re: resizablepmcarray, assign.

2006-07-30 Thread Bob Rogers
From: Will Coleda <[EMAIL PROTECTED]> Date: Sun, 30 Jul 2006 15:02:29 -0400 >languages/tcl/t/tcl_misc.t#27 has a test for this behavior. > > What's the generated PIR for this? To get the pir generated by tcl (at least at the top level - there's a lot of compiling going

Re: resizablepmcarray, assign.

2006-07-30 Thread Will Coleda
On Jul 30, 2006, at 2:49 PM, Bob Rogers wrote: From: Will Coleda <[EMAIL PROTECTED]> Date: Sun, 30 Jul 2006 12:36:08 -0400 This code is not working in Tcl at the moment (at the moment, not sure if it ever did) set a [list a b] set a b Under the covers, this should create

resizablepmcarray, assign.

2006-07-30 Thread Bob Rogers
From: Will Coleda <[EMAIL PROTECTED]> Date: Sun, 30 Jul 2006 12:36:08 -0400 This code is not working in Tcl at the moment (at the moment, not sure if it ever did) set a [list a b] set a b Under the covers, this should create a TclList PMC and assign it to the global '

resizablepmcarray, assign.

2006-07-30 Thread Will Coleda
This code is not working in Tcl at the moment (at the moment, not sure if it ever did) set a [list a b] set a b Under the covers, this should create a TclList PMC and assign it to the global '$a'. It should then discard that value, and replace the value in '$a' with a String of "b". Howe