more Fun with Keywords
nicolas cellier
ncellier at ifrance.com
Wed May 23 01:32:17 UTC 2007
Still some exercizes for the Old and NewCompiler team:
Tell which expression Squeak would compile and which not:
Compiler evaluate: '#:'.
Compiler evaluate: '#::'.
Compiler evaluate: '#x:y'.
Compiler evaluate: '#:x1'.
Compiler evaluate: '#:1x'.
Compiler evaluate: '#x:1'.
Compiler evaluate: '#x::'.
Also try to print:
#'x:1'.
Nicolas
More information about the Squeak-dev
mailing list
|