Author: autrijus
Date: Thu May 11 02:52:17 2006
New Revision: 9176
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: but true is now spelled as but True
Modified: doc/trunk/design/syn/S06.pod
==
---
On 2006-May-10 at 1:38, James Mastros wrote:
Can I suggest we keep match meaning thing you get when you run a thingy
against a string, and make matcher be the thingy that gets run?
Speaking of the word match, what I'd really like is to keep it meaning stuff
that matches. Unfortunately it also
[EMAIL PROTECTED] schreef:
James Mastros:
Can I suggest we keep match meaning thing you get when you run a
thingy against a string, and make matcher be the thingy that gets
run?
Speaking of the word match, what I'd really like is to keep it
meaning stuff that matches. Unfortunately it
On Thursday 11 May 2006 5:52 am, [EMAIL PROTECTED] wrote:
* S06: but true is now spelled as but True
...
return $error but false if $error;
-return 0 but true;
+return 0 but True;
}
Properties are predeclared as roles and implemented as
Patrick R. Michaud wrote:
- sp is a single character of obligatory whitespace
Hmm, it's literal ' ' (that is, \x20), not whitespace in general,
right? For obligatory whitespace we have \s.
This one has bugged me since the day I first saw it implemented
in PGE. We _already_ have \s, blank,
On Wed, May 10, 2006 at 05:58:57PM -0700, Allison Randal wrote:
rule:
- Has :ratchet and :skip turned on by default
- May only be used inside a grammar
Should that be
- Must be declared as part of a grammar or role
???
The verb used doesn't make much sense to me there. I use a rule
when
Including :skip(/someotherrule/). Yes, agreed, it's a huge
improvement. I'd be more comfortable if the default rule to use for
skipping was named skip instead of ws. (On IRC sep was also
proposed, but the connection between :skip and skip is more
immediately obvious.)
Yes, I like skip too.
Audrey Tang wrote:
Patrick R. Michaud wrote:
- sp is a single character of obligatory whitespace
Hmm, it's literal ' ' (that is, \x20), not whitespace in
general, right? For obligatory whitespace we have \s.
Are all or some of the following equivalent to sp?
U+00A0 No-Break Space
Ruud H.G. van Tol wrote:
Are all or some of the following equivalent to sp?
U+00A0 No-Break Space
U+202F Narow No-Break Space
U+FEFF Zero Width No-Break Space
U+2060 Word Joiner
No. A05 makes it explicit sp is just \x20, and S05 also says that it
matches one space char, which
Author: larry
Date: Thu May 11 09:55:36 2006
New Revision: 9197
Modified:
doc/trunk/design/syn/S05.pod
Log:
Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or maybe mm//).
Modified: doc/trunk/design/syn/S05.pod
On Thu, May 11, 2006 at 07:44:54AM -0400, Elyse M. Grasso wrote:
: Is but false now spelled but False? If not, if there a reason for the
: asymmetry?
Yes, the false value is False now, just as the true value is not True.
The reason for changing them is to avoid confusion with the built-in
true()
On Wed, May 10, 2006 at 08:09:45AM +0100, Daniel Hulme wrote:
: qX ::= q:x:y:z;
:
: as a simple, argumentless word macro.
: But would that DWIM when I come to write
:
: qX(stuff, specifically not an adverb argument);
:
: ?
Just looking at it, I would expect qX() to call a function.
On Thu, May 11, 2006 at 10:24:24AM -0700, Larry Wall wrote:
function as a subset type. Constant functions are naturally 0-ary,
and in C culture tend to be uppercase anyway. So arguably, we could
have a rule or policy that 0-ary functions are generally uppercase,
not just the constant ones.
Damian Conway wrote:
skip:
- We keep :words as shorthand for :skip(/ws/)
- And :skip is shorthand for :skip(/skip/)
...where skip defaults to ws, but is distinct from it (i.e. it can
be redefined independently).
It also has the benefit that developers redefining skip can call ws
as one
Patrick R. Michaud wrote:
On Thu, May 11, 2006 at 08:57:53PM +0800, Audrey Tang wrote:
Patrick R. Michaud wrote:
- sp is a single character of obligatory whitespace
Hmm, it's literal ' ' (that is, \x20), not whitespace in general,
right? For obligatory whitespace we have \s.
Oops, you're
Jonathan Scott Duff wrote:
On Wed, May 10, 2006 at 05:58:57PM -0700, Allison Randal wrote:
rule:
- Has :ratchet and :skip turned on by default
- May only be used inside a grammar
Should that be
- Must be declared as part of a grammar or role
???
It is:
- The 'rule' keyword may only be
Patrick R. Michaud wrote:
Whitespace in regexes and rules is metasyntactic, in that it is
not matched literally. Effectively what the :w (or :words or
:skip) option does it to change the metasyntactic meaning of
any whitespace found in the regex. Or, another way of thinking
of it -- as
On Thu, May 11, 2006 at 12:19:21PM -0700, Allison Randal wrote:
Jonathan Scott Duff wrote:
On Wed, May 10, 2006 at 05:58:57PM -0700, Allison Randal wrote:
rule:
- Has :ratchet and :skip turned on by default
- May only be used inside a grammar
Should that be
- Must be declared as part
Author: larry
Date: Thu May 11 13:33:29 2006
New Revision: 9202
Modified:
doc/trunk/design/syn/S03.pod
Log:
Various clarifications from jerry++ and others
Extra dot is now allowed before hyper postfix since whitespace disallowed there
Modified: doc/trunk/design/syn/S03.pod
[EMAIL PROTECTED] schreef:
Unary C~ now imposes a string (CStr) context on its
argument, and C+ imposes a numeric (CNum) context (as opposed to
being a no-op in Perl 5).
Shouldn't unary minus be mentioned too?
Or would one need C0- or C-+?
A reduction operator really is a list
Oh, and since we're calling them regexes, I suggest calling them
regular expressions too, since both regex(p) and regular
expression have taken on the popular meaning of pattern matching. If
we're going to be anti-pedantic, let's be consistently anti-pedantic. :)
Allison
On Thu, May 11, 2006 at 01:55:37PM -0700, Allison Randal wrote:
: Oh, and since we're calling them regexes, I suggest calling them
: regular expressions too, since both regex(p) and regular
: expression have taken on the popular meaning of pattern matching. If
: we're going to be anti-pedantic,
[EMAIL PROTECTED] wrote:
Log:
Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or maybe mm//).
I keep expecting 'sigspace' to have something to do signatures.
Larry++ on :s. :)
Allison
On Thu, May 11, 2006 at 02:15:58PM -0700, Allison Randal wrote:
[EMAIL PROTECTED] wrote:
Log:
Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or maybe
mm//).
I keep expecting 'sigspace' to have something to do signatures.
I keep thinking that 'sigspace' is the signal that
Larry Wall writes:
Yes, the false value is False now, just as the true value is not True.
It's not? I thought somebody had just said that it was?
The reason for changing them is to avoid confusion with the built-in
true() function,
Makes sense.
So arguably, we could have a rule or policy
Allison Randal writes:
[EMAIL PROTECTED] wrote:
Log:
Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or
maybe mm//).
I keep expecting 'sigspace' to have something to do signatures.
So do I. How about :litspace for 'literal space'? Except they aren't
exactly literal,
Smylers wrote:
Allison Randal writes:
I keep expecting 'sigspace' to have something to do signatures.
So do I. How about :litspace for 'literal space'? Except they aren't
exactly literal, because they only indicate where _some_ space has to
be, not that it has to be exactly that sort of
Author: larry
Date: Thu May 11 15:39:08 2006
New Revision: 9204
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S05.pod
doc/trunk/design/syn/S09.pod
Log:
Typos.
Tightened up prefix:* to match only before sigils and brackets,
so that *foo now always means GLOBAL::foo, and
Allison Randal schreef:
larry:
Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or
maybe mm//).
I keep expecting 'sigspace' to have something to do signatures.
/me3, since it alliterates with sigsep.
--
Groet, Ruud
On Fri, May 12, 2006 at 01:50:59AM +0200, Ruud H.G. van Tol wrote:
: Allison Randal schreef:
: larry:
:
: Changed :words/:w to :sigspace/:s and invented ss/// and ms// (or
: maybe mm//).
:
: I keep expecting 'sigspace' to have something to do signatures.
:
: /me3, since it alliterates
30 matches
Mail list logo