Re: 'x' vs. 'xx'

2007-06-02 Thread Jonathan Lang
Chas Owens wrote: Jonathan Lang wrote: > Is there any reason why we can't simply define '$a x $n' as being > shorthand for 'cat($a xx $n)'? In what way does the former differ > from the latter, other than the use of a Whatever in place of $n? "$a x $n" is equivalent to "join '', $a xx $n", but

Re: 'x' vs. 'xx'

2007-06-02 Thread Chas Owens
On 6/2/07, Jonathan Lang <[EMAIL PROTECTED]> wrote: Is there any reason why we can't simply define '$a x $n' as being shorthand for 'cat($a xx $n)'? In what way does the former differ from the latter, other than the use of a Whatever in place of $n? -- Jonathan "Dataweaver" Lang "$a x $n" is

Making I-reg shifts consistent with PMC shifts

2007-06-02 Thread Bob Rogers
The attached patch amends the I-reg shift operators so that they produce results that are consistent with PMC shifts, which produce the exact value [1]. Shifting left or right by at least the word size always produces zero, and negative shift values are taken to mean "shift in the other directi

Re: [svn:parrot] r18767 - in trunk: config/gen/makefiles include/parrot src tools/build

2007-06-02 Thread chromatic
On Saturday 02 June 2007 13:44:25 [EMAIL PROTECTED] wrote: > First version of the headerizer works successfully on > include/parrot/string_funcs.h This checkin broke at least one test. I know accidents happen, but you've had at least three checkins that have broken the compile or the tests in t

BigInt bitwise_and, anyone?

2007-06-02 Thread Bob Rogers
I started hacking this because I thought I needed it, but that turned out not to be true. Should I finish it (it still needs tests), or is there some reason to hold off? -- Bob Rogers http://rgrjr.dyndns.org/

'x' vs. 'xx'

2007-06-02 Thread Jonathan Lang
Is there any reason why we can't simply define '$a x $n' as being shorthand for 'cat($a xx $n)'? In what way does the former differ from the latter, other than the use of a Whatever in place of $n? -- Jonathan "Dataweaver" Lang

[svn:perl6-synopsis] r14414 - doc/trunk/design/syn

2007-06-02 Thread larry
Author: larry Date: Sat Jun 2 14:45:43 2007 New Revision: 14414 Modified: doc/trunk/design/syn/S03.pod Log: First installment of filling out descriptions of operator semantics. Modified: doc/trunk/design/syn/S03.pod ===

[svn:perl6-synopsis] r14413 - doc/trunk/design/syn

2007-06-02 Thread larry
Author: larry Date: Sat Jun 2 12:42:11 2007 New Revision: 14413 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod doc/trunk/design/syn/S09.pod doc/trunk/design/syn/S13.pod Log: Dropped : from all listop

Re: Relocation of the pod_todo.t test

2007-06-02 Thread chromatic
On Thursday 31 May 2007 13:48:04 Paul Cochrane wrote: > I recently added a test for TODO items in the pod source, but added it > to the t/doc/ test suite. It is more of a coding standards test > anyway, and I was wondering if it would be ok if I moved it from the > doc tests into the coding stand

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread Bob Rogers
From: "James Keenan via RT" <[EMAIL PROTECTED]> Date: Sat, 02 Jun 2007 05:12:41 -0700 On Fri Jun 01 19:46:40 2007, rgrjr wrote: > This is from the "Small tweak to Pmc2c.pm" I posted on 19-May and > committed as r18646 on 26-May. Note that lib/Parrot/Pmc2c.pm is not > actually do

Re: Use const proactively

2007-06-02 Thread Klaas-Jan Stol
On 6/2/07, Andy Lester <[EMAIL PROTECTED]> wrote: From my wiki at http://xoa.petdance.com/Use_const_proactively Const your local variables The following is adapted from C++ Coding Standards by Herb Sutter and Andrei Alexandrescu (with some C++-specific stuff removed): const is your fri

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread James Keenan via RT
On Fri Jun 01 19:46:40 2007, rgrjr wrote: > This is from the "Small tweak to Pmc2c.pm" I posted on 19-May and > committed as r18646 on 26-May. Note that lib/Parrot/Pmc2c.pm is not > actually doing anything different now, it's just telling you that none > of the code for these methods is being used

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread James Keenan via RT
Test now passes on Darwin and Linux. Resolving ticket.

Re: [svn:parrot] r18724 - in trunk/config: auto init/hints

2007-06-02 Thread Andy Bach
Nicholas Clark wrote: Works for me! :-) A note: as possibly the stumbler-upon-this-issue; chromatic's patch made things work here, right through make smoke. Thanks. a -- Andy Bach, Sys. Mangler Internet: [EMAIL PROTECTED] VOICE: (608) 261-5738 FAX 264-5932 "Capital is only the fruit o

Re: [perl #43105] [PATCH] function mmd.c::mmd_expand_y: newly allocated memory unitialized

2007-06-02 Thread Mehmet Yavuz Selim Soyturk
On 6/2/07, chromatic <[EMAIL PROTECTED]> wrote: On Friday 01 June 2007 16:29:08 Mehmet Yavuz Selim Soyturk wrote: > After a suggestion of Bernhard at #parrot, I added a function named > C to parrot: > > void * mem__sys_realloc_zeroed(void *from, size_t size, size_t > old_size) > > It zeroes t