Klaas-Jan Stol via RT wrote:
On Sun Dec 16 21:11:34 2007, coke wrote:
From PDD 19:

NOTE: The use of C<::> in identifiers is deprecated.

what exactly does this mean?

I take it that "::" can still appear in typenames, as in "PAST::Op"

Yes, that's still fine. In fact, any character that can be represented in any character set that Parrot supports is valid in string names.

but
not, for instance like so:

local int some::var

Is that it?

Yes, it's deprecated in bare identifiers. The '::' was added as a special case for Perl identifiers, so we either had to add special cases for all the languages, or just declare that if you want a sub, class, etc. with "interesting" characters you need to give it a string name.

The second option makes more sense, as the set of "languages that run on Parrot" is open-ended, and the bare identifiers aren't accessible to user-level code anyway.

Allison

Reply via email to