tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Darren Duncan
All, I would like for there to be a simple and terse way for Perl 6 identifiers or symbols, including variable and subroutine and identifier names, to be able to be composed of any characters whatsoever, even whitespace, as it is possible to do in some other languages like SQL, and as it is

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Larry Wall
say $::You can already do that!; Larry

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Darren Duncan
At 3:28 PM -0800 2/7/06, Larry Wall wrote: say $::You can already do that!; Larry My mistake. When I read Synopsis 2 I had interpreted the text more narrowly than what I was looking for. So for now I retract my request. Pugs still doesn't implement what you indicated though, from my

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Larry Wall
On Tue, Feb 07, 2006 at 03:28:05PM -0800, Larry Wall wrote: : say $::You can already do that!; Or you can use a symbolic ref with a constant string: $::('x y'); The compiler knows it's a constant. And it's even implemented in Pugs. But my thinking on the :: form is that it derives from

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Larry Wall
On Tue, Feb 07, 2006 at 03:49:36PM -0800, Darren Duncan wrote: : At 3:28 PM -0800 2/7/06, Larry Wall wrote: : say $::You can already do that!; : Larry : : My mistake. When I read Synopsis 2 I had interpreted the text more : narrowly than what I was looking for. So for now I retract my :

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Larry Wall
On Wed, Feb 08, 2006 at 12:26:52AM +, Luke Palmer wrote: : On 2/7/06, Larry Wall [EMAIL PROTECTED] wrote: : $MY::{'x y'} : $MY::x y # same thing : MY::$x y # same thing : : Er, aren't we obscuring the meaning of a little bit here? I would : think that the

Re: tokenizer hints, supporting delimited identifiers or symbols

2006-02-07 Thread Larry Wall
On Tue, Feb 07, 2006 at 03:54:07PM -0800, Larry Wall wrote: : On Tue, Feb 07, 2006 at 03:28:05PM -0800, Larry Wall wrote: : : say $::You can already do that!; : : Or you can use a symbolic ref with a constant string: : : $::('x y'); : : The compiler knows it's a constant. And it's even