perl6-internals
[Top] [All Lists]

Re: [svn:parrot-pdd] r30620 - trunk/docs/pdds/draft

To: Bob Rogers <rogers-perl6@rgrjr.dyndns.org>
Subject: Re: [svn:parrot-pdd] r30620 - trunk/docs/pdds/draft
From: Allison Randal <allison@perl.org>
Date: Fri, 29 Aug 2008 11:19:37 +0200
Cc: Moritz Lenz <moritz@casella.verplant.org>, p2 <parrot-porters@perl.org>
Delivered-to: mailing list perl6-all@perl.org
Delivered-to: perl6-all-poster@perl.org
Delivered-to: mailing list perl6-internals@perl.org
Delivered-to: perl6-internals@perl.org
Delivered-to: perlmail-parrot-porters@onion.perl.org
Delivered-to: parrot-porters@perl.org
In-reply-to: <18615.20675.763511.473348@rgrjr.rgrjr.dyndns.org>
List-help: <mailto:perl6-all-help@perl.org>
List-id: <perl6-all.perl.org>
List-id: <perl6-internals.perl.org>
List-post: <mailto:perl6-all@perl.org>
List-subscribe: <mailto:perl6-all-subscribe@perl.org>
List-unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
Mailing-list: contact perl6-all-help@perl.org; run by ezmlm
References: <20080828160953.46095CB9DD@x12.develooper.com> <48B6CECD.5080903@casella.verplant.org> <48B70710.3090106@perl.org> <18615.20675.763511.473348@rgrjr.rgrjr.dyndns.org>
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)
Bob Rogers wrote:

   Just "single dispatch". A method that's single dispatched, is... a method.

True.  Nevertheless, the two kinds of method are treated quite
differently by Parrot, both when being defined and when being called.
That is why it is awkward not to have concise names for both kinds.

We have vtable functions, subs, methods, and multis. A multi is neither a sub nor a method nor a vtable function, though it may substitute for any of them.

Allison


From: kjs@cvs.perl.org
X-Virus-Check-By: mailtest2.pair.com
X-Spam-Check-By: mailtest2.pair.com
X-Spam-Status: No, hits=-10.6 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_HI 
autolearn=ham version=3.002005
X-Spam-Flag: NO
X-Spam-Level: X-Spam-Filtered: 052f96e22adcb440ba93d277d4a1272f
Mailing-List: contact perl6-all-help@perl.org; run by ezmlm
Precedence: bulk
List-Post: <mailto:perl6-all@perl.org>
List-Help: <mailto:perl6-all-help@perl.org>
List-Unsubscribe: <mailto:perl6-all-unsubscribe@perl.org>
List-Subscribe: <mailto:perl6-all-subscribe@perl.org>
List-Id: <perl6-all.perl.org>
Delivered-To: mailing list perl6-all@perl.org
Delivered-To: perl6-all-poster@perl.org
X-Mailing-List: contact perl6-internals-help@perl.org; run by ezmlm
X-Mailing-List-Name: perl6-internals
List-Id: <perl6-internals.perl.org>
Delivered-To: mailing list perl6-internals@perl.org
Delivered-To: perl6-internals@perl.org
To: perl6-internals@perl.org
Subject: [svn:parrot-pdd] r30632 - trunk/docs/pdds
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Message-Id: <20080829092215.1A8E5CB9DD@x12.develooper.com>
Date: Fri, 29 Aug 2008 02:22:14 -0700 (PDT)
X-Old-Spam-Check-By: la.mx.develooper.com
X-Old-Spam-Status: No, hits=-2.6 required=8.0
        tests=BAYES_00

Author: kjs
Date: Fri Aug 29 02:22:05 2008
New Revision: 30632

Modified:
  trunk/docs/pdds/pdd19_pir.pod

Log:
[pdd19] list all PIR reserved words.

Modified: trunk/docs/pdds/pdd19_pir.pod
==============================================================================
--- trunk/docs/pdds/pdd19_pir.pod       (original)
+++ trunk/docs/pdds/pdd19_pir.pod       Fri Aug 29 02:22:05 2008
@@ -67,8 +67,14 @@
used as subroutine identifiers, on the other hand, will I<hide> that opcode.

In contrast to opcode names, PIR keywords I<are> reserved, and cannot be used as
-identifiers. Some opcode names (C<if>, C<unless>) are, in fact, PIR keywords,
-which therefore cannot be used as identifiers.
+identifiers. Some opcode names are, in fact, PIR keywords, which therefore
+cannot be used as identifiers.
+
+The following are PIR keywords, and cannot be used as identifiers:
+
+ goto      if       int         null
+ num       pmc      string      unless
+

{{ NOTE: The use of C<::> in identifiers is deprecated. [See RT #48735] }}



<Prev in Thread] Current Thread [Next in Thread>