[perl #41548] [Tcl] - internals tests failings

2007-03-06 Thread Nuno Carvalho via RT
Greetings,

On Mon Feb 19 18:23:59 2007, coke wrote:
> Failed Test   Stat Wstat Total Fail  List of Failed
>  
> ---
> t/internals/select_option.t  1   256 8   14  2-8
> t/internals/select_switches.t1   25629   56  2-29

This does not seem to be an issue anymore:

tcl]$ prove t/internals/select_option.t t/internals/select_switches.t
t/internals/select_option..ok  
 
t/internals/select_switchesok  
 
All tests successful.
Files=2, Tests=37,  4 wallclock secs ( 3.63 cusr +  0.09 csys =  3.72 CPU)

Tested with revision 17365. I'm closing this ticket, feel free to
re-open it if this problem shows up again.

Best regards,
./smash




[perl #41548] [Tcl] - internals tests failings

2007-03-06 Thread Nuno Carvalho via RT
Greetings,

On Mon Feb 19 18:23:59 2007, coke wrote:
> Failed Test   Stat Wstat Total Fail  List of Failed
>  
> ---
> t/internals/select_option.t  1   256 8   14  2-8
> t/internals/select_switches.t1   25629   56  2-29

This does not seem to be an issue anymore:

tcl]$ prove t/internals/select_option.t t/internals/select_switches.t
t/internals/select_option..ok  
 
t/internals/select_switchesok  
 
All tests successful.
Files=2, Tests=37,  4 wallclock secs ( 3.63 cusr +  0.09 csys =  3.72 CPU)

Tested with revision 17365. I'm closing this ticket, feel free to
re-open it if this problem shows up again.

Best regards,
./smash




[perl #41712] [TODO] deprecate CSub

2007-03-06 Thread via RT
# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #41712]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=41712 >


as it states in src/pmc/csub.pmc:

  This class has been superseded by C.

it's old, not used anywhere, and defunct. let's list it in
DEPRECATED.pod before 0.4.9, and remove it before the following
release.

disagree? let me know.
~jerry


Re: [perl #41712] AutoReply: [TODO] deprecate CSub

2007-03-06 Thread jerry gay

On 3/6/07, Parrot via RT <[EMAIL PROTECTED]> wrote:

it's old, not used anywhere, and defunct. let's list it in
DEPRECATED.pod before 0.4.9, and remove it before the following
release.


make that the 0.4.10 release.


[perl #41713] [PATCH] Updates for lang/PIR

2007-03-06 Thread via RT
# New Ticket Created by  Klaas-Jan Stol 
# Please include the string:  [perl #41713]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=41713 >


hi,

attached a patch for lang/PIR:

* new rule for "expansions", such as .macro, .include and .constant (now 
put together)
* some clean-ups (layout)
* changed some rules to tokens
* added and moved some tests.

regards,
kjs
Index: languages/PIR/lib/pir.pg
===
--- languages/PIR/lib/pir.pg	(revision 17332)
+++ languages/PIR/lib/pir.pg	(working copy)
@@ -14,23 +14,23 @@
 
 
 token TOP {
-  ^  [ $ |  ]
+^  [ $ |  ]
 }
 
 rule program {
-  *
-  
-  [   ]*
-  [  |  ]
+*
+
+[   ]*
+[  |  ]
 }
 
-rule compilation_unit {   
-
-  | 
-  | 
-  | 
-  | 
-  | 
+token compilation_unit {
+| 
+| 
+| 
+| 
+| 
+| 
 }
 
 
@@ -39,15 +39,15 @@
 =cut
 
 rule sub_def {
-  [ <'.sub'> | <'.pcc_sub'> ]
-  [  |  ]
-  ?
-  [ |  ]
-  
+[ <'.sub'> | <'.pcc_sub'> ]
+[  |  ]
+?
+[ |  ]
+
 }
 
 rule sub_id {
-  [  |  ]
+ | 
 }
 
 =head3 sub_pragmas
@@ -57,24 +57,24 @@
 =cut
 
 rule sub_pragmas {
-  
-  [
-[ <','> ]?
 
-  ]*
+[
+  <','>?
+  
+]*
 }
 
-rule sub_pragma {
-<':load'>
-  | <':init'>
-  | <':immediate'>
-  | <':main'>
-  | <':anon'>
-  | <':lex'>
-  | 
-  | 
-  | 
-  | 
+token sub_pragma {
+| <':load'>
+| <':init'>
+| <':immediate'>
+| <':main'>
+| <':anon'>
+| <':lex'>
+| 
+| 
+| 
+| 
 }
 
 =head3 wrap_pragma
@@ -84,62 +84,62 @@
 =cut
 
 rule wrap_pragma {
-  <':wrap'>   
+<':wrap'> 
 }
 
 rule vtable_pragma {
-  <':vtable'> ?
+<':vtable'> ?
 }
 
 rule parenthesized_string {
-  <'('>
-  [  |  ]
-  [ <')'> |  ]
+<'('>
+[  |  ]
+[ <')'> |  ]
 }
 
 rule multi_pragma {
-  <':multi'>
-  [ <'('>|  ]
-  ?
-  [ <')'>|  ]
+<':multi'>
+[ <'('>|  ]
+?
+[ <')'>|  ]
 }
 
 rule outer_pragma {
-  <':outer'>
-  [ <'('>|  ]
-  [ 
-  | 
-  | 
-  ]
-  [ <')'>|  ]
+<':outer'>
+[ <'('>|  ]
+[ 
+| 
+| 
+]
+[ <')'>|  ]
 }
 
 rule multi_types {
-   [ <','>  ]*
+ [ <','>  ]*
 }
 
 rule multi_type {
-
-  | <'_'>
-  | 
-  | 
-  | 
+| 
+| <'_'>
+| 
+| 
+| 
 }
 
 rule body {
-  *
-  *
-  [ <'.end'> |  ]
+*
+*
+[ <'.end'> |  ]
 }
 
 rule param_decl {
-  <'.param'>
-  [ [   ]
-  | 
-  | 
-  ]
-  [  | <':unique_reg'> ]*
-  [|  ]
+<'.param'>
+[ [   ]
+| 
+| 
+]
+[  | <':unique_reg'> ]*
+[|  ]
 }
 
 
@@ -151,45 +151,42 @@
 =cut
 
 rule labeled_pir_instr {
-  [  ?
-  | 
-  ] 
-  [  |  ]
+[  ?
+| 
+]
+[  |  ]
 }
 
 rule labeled_pasm_instr {
-  [  ?
-  | 
-  ] 
-  [  |  ]
+[  ?
+| 
+]
+[  |  ]
 }
 
 rule instr {
-  [  |  ]
-  
+ | 
 }
 
-
-
-rule pir_instr {
-
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  | 
-  |   
-  |   
+token pir_instr {
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
+| 
 }
 
 rule macro_invocation {
-   ?
+ ?
 }
 
 
@@ -197,45 +194,45 @@
 
 Local declarations can be done using C<.sym> or C<.local> in normal context.
 In macro context however, only C<.sym> is allowed, and the C<.local> keyword
-indicates a label declaration. 
+indicates a label declaration.
 
 =cut
 
 rule local_decl {
-  <'.local'>
-  [  |  ]
-  
+<'.local'>
+[  |  ]
+
 }
 
 rule sym_decl {
-	<'.sym'>
-	[  |  ]
-  
+<'.sym'>
+[  |  ]
+
 }
 
 
 rule local_id_list {
-   [ <','>  ]*
+ [ <','>  ]*
 }
 
 rule local_id {
-   ?
+ ?
 }
 
-rule local_flag {  
-  <':unique_reg'>
+rule local_flag {
+<':unique_reg'>
 }
 
 rule lexical_decl {
-  <'.lex'>
-  [  |  ]
-  [ <','> |  ]
-  [   |  ]
+<'.lex'>
+[  |  ]
+[ <','> |  ]
+[   |  ]
 }
 
 
 rule global_def {
-  <'.global'> [  |  ]
+<'.global'> [  |  ]
 }
 
 =head2 Const definition
@@ -245,144 +242,101 @@
 =cut
 
 rule const_def {
-	<'.const'> 
+<'.const'> 
 }
 
 rule globalconst_def {
-	<'.globalconst'> 
+<'.globalconst'> 
 }
 
-rule const_def_tail {  
-  [ [ <'int'> 
-  [ |  ]
-]
-  | [ <'num'> 
-  [   |  ]
-]
-  | [ [ <'pmc'> |  |  ] 
-  [  |  ]
-]
-  | [ <'string'> 
-  [  |  ]
-]
-  | 
-  ]
+rule const_def_tail {
+| <'int'>  [ |  ]
+| <'num'>  [   |  ]
+| [ <'pmc'> |  |  ]   [  |  ]
+| <'string'>  [  |  ]
+| 
 }
 
 rule const_assign {
-  [   |  ]
-  [ <'='> |  |  | <'unless'> ]
-  
-  [ <'goto'> |  ]
-  [  |  |  ]
+[ <'if'> | <'unless'> ]
+
+[ <'goto'> |  ]
+[  |  |  ]
 }
 
 rule conditional_expr {
-		<'null'>  
-  |  [   ]?
+| <'null'> 
+|  [   ]?
 }
 
 rule jump_stat {
-  <'goto'> [  |  ]
+<'goto'> [  |  ]
 }
 
 

Re: [S09] "Whatever" indices and shaped arrays

2007-03-06 Thread Larry Wall
I like it.  I'm a bit strapped for time at the moment, but if you send
me a patch for S09 I can probably dig up a program to apply it with.  :)

Larry


new Parrot project manager

2007-03-06 Thread Allison Randal
We're splitting off the Parrot project manager role from the Perl 6 
project manager role, to make better use of the time and energy of 
available volunteers. Will "Coke" Coleda has graciously agreed to take 
on the PM responsibilities for Parrot, and Jesse Vincent will continue 
as PM for Perl 6. Many thanks to both of them for their hard work both 
past and future.


On a somewhat related note, Chip has been very much absorbed by work and 
life of late, and talking to him on the phone today we both felt it 
would be best to let everyone know he's officially on sabbatical for a 
while. He plans to return as soon as possible. We've spread much of the 
pumpking's responsibilities across the release managers, and any 
development questions will be redirected to the architect. I'm impressed 
at how the Parrot team has handled losing the contributions of a core 
member, rerouted around the loss, and kept growing. My thanks to all of you.


Happy hacking,
Allison


Re: [S09] "Whatever" indices and shaped arrays

2007-03-06 Thread Jonathan Lang

Larry Wall wrote:

I like it.  I'm a bit strapped for time at the moment, but if you send
me a patch for S09 I can probably dig up a program to apply it with.  :)


Could someone advise me on how to create patches?

--
Jonathan "Dataweaver" Lang


Re: [S09] "Whatever" indices and shaped arrays

2007-03-06 Thread Juerd Waalboer
Jonathan Lang skribis 2007-03-06 13:35 (-0800):
> Could someone advise me on how to create patches?

Single file:

diff -u oldfile newfile

Entire tree:

diff -Nur oldtree/ newtree/

See also diff(1), and note that when diffing trees, you want to
distclean them first :)
-- 
korajn salutojn,

  juerd waalboer:  perl hacker  <[EMAIL PROTECTED]>  
  convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Ik vertrouw stemcomputers niet.
Zie .


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

2007-03-06 Thread larry
Author: larry
Date: Tue Mar  6 21:34:30 2007
New Revision: 14312

Modified:
   doc/trunk/design/syn/S02.pod

Log:
Some clarifications and oversights noted by TheDamian++.
The &foo\($bar) shorthand for &foo.assuming($bar) is now gone.


Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02.pod(original)
+++ doc/trunk/design/syn/S02.podTue Mar  6 21:34:30 2007
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 10 Aug 2004
-  Last Modified: 28 Feb 2007
+  Last Modified: 6 Feb 2007
   Number: 2
-  Version: 91
+  Version: 92
 
 This document summarizes Apocalypse 2, which covers small-scale
 lexical items and typological issues.  (These Synopses also contain
@@ -1238,11 +1238,7 @@
 &foo:(Int,Num)
 
 It still just returns a C object.  A call may also be partially
-applied by using an argument list literal as a postfix operator:
-
-&foo\(1,2,3,:mice)
-
-This is really just a shorthand for
+applied by using the C<.assuming> method:
 
 &foo.assuming(1,2,3,:mice)
 
@@ -1573,6 +1569,8 @@
 
 Standard input is C<$*IN>, standard output is C<$*OUT>, and standard error
 is C<$*ERR>.  The magic command-line input handle is C<$*ARGS>.
+The arguments themselves come in C<@*ARGS>.  See also "Declaring a MAIN
+subroutine" in S06.
 
 =item *
 
@@ -1907,7 +1905,7 @@
 a => %a :%a
 a => $$a:$$a
 a => @$$a   :@$$a (etc.)
-a => %foo%foo:
+a => %foo%foo:p
 
 Note that as usual the C<{...}> form can indicate either a closure or a hash
 depending on the contents.  It does I indicate a subscript.
@@ -2450,8 +2448,8 @@
 or as an array via C<@=DATA>.  Presumably a module could read all
 its COMMENT blocks from C<@=COMMENT>, for instance.  Each chunk of
 pod comes as a separate array element.  You have to split it into lines
-yourself.  Each chunk has a C<.linenum> property that indicates its
-starting line within the source file.
+yourself.  Each chunk has a C<.range> property that indicates its
+line number range within the source file.
 
 The lexical routine itself is C<&?ROUTINE>; you can get its name with
 C<&ROUTINE.name>.  The current block is C<&?BLOCK>.  If the block has a label,


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

2007-03-06 Thread larry
Author: larry
Date: Tue Mar  6 21:54:01 2007
New Revision: 14313

Modified:
   doc/trunk/design/syn/S02.pod

Log:
Q: Can February March?  A: No, but April May...


Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02.pod(original)
+++ doc/trunk/design/syn/S02.podTue Mar  6 21:54:01 2007
@@ -12,7 +12,7 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 10 Aug 2004
-  Last Modified: 6 Feb 2007
+  Last Modified: 6 Mar 2007
   Number: 2
   Version: 92
 


[perl #41724] [BUG] miniparrot fails to build on strawberry perl

2007-03-06 Thread via RT
# New Ticket Created by  Jerry Gay 
# Please include the string:  [perl #41724]
# in the subject line of all future correspondence about this issue. 
# http://rt.perl.org/rt3/Ticket/Display.html?id=41724 >


i suspect there's trouble with the platform-specific c/h files, given
the nature of the warnings during build. the configure/make output is
below.
~jerry

c:\usr\local\strawberry\parrot>Configure.pl
Parrot Version 0.4.9 Configure 2.0
Copyright (C) 2001-2007, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case it'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.done.
Setting up Configure's default values...Set up gcc environment - 3.4.5 (mingw sp
ecial)
..done.
Setting up installation paths.done.
Tweaking settings for miniparrot...skipped.
Determining what C compiler and linker to use.done.
Loading platform and local hints filesdone.
Determining nongenerated header files.done.
Determining whether make is installed..yes.
Determining whether lex is installed...skipped.
Determining whether yacc is installed..skipped.
Determining if your C compiler is actually gcc.yes.
Determining if your C compiler is actually Visual C++...no.
Enabling optimization...no.
Determining flags for building shared libraries...done.
Determine if parrot should be linked against a shared library..yes.
Determining what charset files should be compiled in..done.
Determining what encoding files should be compiled in.done.
Determining what types Parrot should use..done.
Determining what opcode files should be compiled in...done.
Determining what pmc files should be compiled in..done.
Determining your minimum pointer alignment. 1 byte.
Probing for C headers.done.
Determining some sizesdone.
Computing native byteorder for Parrot's wordsize.little-endian.
Test the type of va_ptr (this test is likely to segfault)..x86.
Figuring out how to pack() Parrot's types.done.
Figuring out what formats should be used for sprintf..done.
Determining if your C library has a working S_ISREGyes.
Determining architecture, OS and JIT capability...done.
Generating CPU specific stuff.done.
Verifying that the compiler supports function pointer castsyes.
Determining whether your compiler supports computed goto...yes.
Determining if your compiler supports inline...yes.
Determining what allocator to use.done.
Determining if your C library supports memalign.no.
Determining some signal stuff.done.
Determining whether there is socklen_t..no.
Determining if your C library has setenv / unsetenv...unsetenv.
Determining if your platform supports AIO...no.
Determining if your platform supports GMP...no.
Determining if your platform supports readline..no.
Determining if your platform supports gdbm..no.
Testing snprintf..done.
Determining whether perldoc is installed...yes.
Determining whether python is installed.no.
Determining whether GNU bc is installed.no.
Determining whether GNU m4 is installed.no.
Running CPU specific stuffdone.
Determining whether ICU is installedfailed.
Determining Parrot's revision...r17374.
Generating C headers..done.
Generating core pmc list..done.
Generating runtime/parrot/include.done.
Configuring languages..