r26359 - docs/Perl6/Spec

2009-04-22 Thread pugs-commits
Author: masak
Date: 2009-04-22 12:32:07 +0200 (Wed, 22 Apr 2009)
New Revision: 26359

Modified:
   docs/Perl6/Spec/S05-regex.pod
Log:
[S05] typo: removed extra 'returned'

Modified: docs/Perl6/Spec/S05-regex.pod
===
--- docs/Perl6/Spec/S05-regex.pod   2009-04-22 06:59:22 UTC (rev 26358)
+++ docs/Perl6/Spec/S05-regex.pod   2009-04-22 10:32:07 UTC (rev 26359)
@@ -2577,7 +2577,7 @@
 In addition to returning those captured C objects, the
 C<.chunks> method also returns all the interleaved "noise" between
 the captures.  As with C<.caps>, the list elements are in the order
-they were originally in the text.  The interleaved bits are also returned
+they were originally in the text.  The interleaved bits are also
 returned as pairs, where the key is '~' and the value
 is a simple C object containing only the string, even if unbound
 subrules such as C<.ws> were called to traverse the text in the first



r26362 - docs/Perl6/Spec/S32-setting-library

2009-04-22 Thread pugs-commits
Author: pmichaud
Date: 2009-04-22 15:44:52 +0200 (Wed, 22 Apr 2009)
New Revision: 26362

Modified:
   docs/Perl6/Spec/S32-setting-library/Str.pod
Log:
[spec]: Clean up 'quotemeta' in Str.pod, add some questions/comments.


Modified: docs/Perl6/Spec/S32-setting-library/Str.pod
===
--- docs/Perl6/Spec/S32-setting-library/Str.pod 2009-04-22 13:23:24 UTC (rev 
26361)
+++ docs/Perl6/Spec/S32-setting-library/Str.pod 2009-04-22 13:44:52 UTC (rev 
26362)
@@ -304,9 +304,13 @@
  our Str multi method quotemeta ( Str $string: ) is export
 
 Returns the input string with all non-"word" characters back-slashed.
-That is, all characters not matching "/[A-Za-z_0-9]/" will be preceded
+That is, all characters not matching "/<[A..Za..z_0..9]>/" will be preceded
 by a backslash in the returned string, regardless of any locale settings.
 
+[Note from Pm:  Should that be "/\w/" instead?  Or, if the intent
+is to duplicate p5 functionality, perhaps it should be "p5quotemeta"?
+Do we even want this method at all?]
+
 =item rindex
 
  our StrPos multi method rindex( Str $string: Str $substring, StrPos $pos? ) 
is export



r26363 - docs/Perl6/Spec

2009-04-22 Thread pugs-commits
Author: duff
Date: 2009-04-22 18:52:35 +0200 (Wed, 22 Apr 2009)
New Revision: 26363

Modified:
   docs/Perl6/Spec/S29-functions.pod
Log:
minor typo

Modified: docs/Perl6/Spec/S29-functions.pod
===
--- docs/Perl6/Spec/S29-functions.pod   2009-04-22 13:44:52 UTC (rev 26362)
+++ docs/Perl6/Spec/S29-functions.pod   2009-04-22 16:52:35 UTC (rev 26363)
@@ -693,7 +693,7 @@
 
 =item srand -- see S32-setting-library/Numeric.pod
 
-=item undefine -- see S32-setting-library/Scalar.pod
+=item undefine -- see S32-setting-library/Scalars.pod
 
 =item uri -- see S32-setting-library/IO.pod
 



Rakudo Perl 6 development release #16 ("Bratislava")

2009-04-22 Thread Patrick R. Michaud
On behalf of the Rakudo development team, I'm pleased to announce
the April 2009 development release of Rakudo Perl #16 "Bratislava".
Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1].
The tarball for the April 2009 release is available from
http://github.com/rakudo/rakudo/downloads .

Due to the continued rapid pace of Rakudo development and the
frequent addition of new Perl 6 features and bugfixes, we continue
to recommend that people wanting to use or work with Rakudo obtain
the latest source directly from the main repository at github.
More details are available at http://rakudo.org/how-to-get-rakudo .

Rakudo Perl follows a monthly release cycle, with each release code named
after a Perl Mongers group.  This release is named "Bratislava",
home to Jonathan Worthington and reportedly an excellent place to
obtain beer (a key component of Jonathan's contributions to Perl).
The Bratislava.pm group is quite active [2], with regular technical
presentations and social gatherings.

In this release of Rakudo Perl, we've made the following major changes
and improvements:

* Rakudo is now passing 10,467 spectests, an increase of 3,194
  passing tests since the March 2009 release.  With this release
  Rakudo is now passing approximately 65% of the available
  spectest suite.

* About 2/3 of the increase in passing tests is due to improved
  Unicode support in Rakudo; constructs such as "\c[LATIN CAPITAL LETTER A]"
  and Unicode character properties in regexes are now supported.

* The prefix:<=> operator is now gone from the Perl 6 specification
  (and thus from Rakudo).  Use .get for reading individual items
  from iterators.

* Rakudo now supports typed arrays and hashes (my Int @array), as
  well as parametric versions of the Associative, Positional,
  and Callable roles, and parametric role subtyping.

* Rakudo now has sockets support (IO::Socket).

* Subroutine return types are now enforced in some cases.

* Rakudo now supports lexical sub declarations.

* Rakudo now supports some P5-style regexes.

* The "quantify-by-separator" feature has been added, so that
  one can write  / [\w+] ** ',' / to get a comma-separated
  list of words.

* More builtin functions and methods have been rewritten in
  Perl 6 and placed as part of the setting.

* Release tar files now contain local copies of the appropriate
  spectests, instead of obtaining checkout copies via Subversion.

* There are additional improvements and features in this release,
  see docs/ChangeLog for a more complete list.

The development team thanks all of our contributors and sponsors for
making Rakudo Perl possible.  If you would like to contribute,
see http://rakudo.org/how-to-help , ask on the perl6-compi...@perl.org
mailing list, or ask on IRC #perl6 on freenode.

The next release of Rakudo (#17) is scheduled for May 21, 2009.
A list of the other planned release dates and codenames for 2009 is
available in the "docs/release_guide.pod" file.  In general, Rakudo
development releases are scheduled to occur two days after each
Parrot monthly release.  Parrot releases the third Tuesday of each month.

Have fun!

References:
[1]  Parrot, http://parrot.org/
[2]  Bratislava.pm, http://bratislava.pm.org/


Unicode bracketing spec question

2009-04-22 Thread Timothy S. Nelson
	I note that S02 says that the unicode classes Ps/Pe are blessed to act 
as opening and closing quotes.  Is there a reason that we can't have Pi/Pf 
blessed too?  I ask because there are quotation marks in the Pi/Pf set that 
are called "Substitution" and "Transposition" which I thought might be cool 
quotes for s/// and tr/// :).


Key for those like me who are not /au fait/ with Unicode.

[Ps]Punctuation, Open
[Pe]Punctuation, Close
[Pi]Punctuation, Initial quote (may behave like Ps or Pe depending on usage)
[Pf]Punctuation, Final quote (may behave like Ps or Pe depending on usage)


-
| Name: Tim Nelson | Because the Creator is,|
| E-mail: wayl...@wayland.id.au| I am   |
-

BEGIN GEEK CODE BLOCK
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V- 
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI D G+ e++> h! y-

-END GEEK CODE BLOCK-