Proposal3: Make $_ a valid identifier character

Stephan Rudlof sr at evolgo.de
Sun May 28 19:26:19 UTC 2000


Stefan,

Stefan Matthias Aust wrote:
> 
> PROPOSAL
> 
> For better ANSI compatibility, I propose to allow _ (actually it's printed
> as <- with the default font in Squeak) in identifiers.
> 
<snipped>
> 
> Here's want I'd suggest:  A previously valid assignment
> 
> abc_abc
> 
> is declared illegal.  The assignment operator now must be to be surounded
> by spaces or other syntax characters.  So
> 
> abc_12
> 
> is now interpreted as
> 
> abc_ 12

Why not
	'abc_12' asSymbol
?

Stephan

> 
> (probably illegal) and not as
> 
> abc := 12
> 

<snipped>

-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3





More information about the Squeak-dev mailing list