Igor Stasenko <[EMAIL PROTECTED]> writes:

> 
> hello stef,
> 
> recently i poked with scanner/parser and i wonder what possible
> literals/combinations are correct and what is not:
> 
> - a well known:
> 
> #word , #keyword(s) -- Symbolic literal
> #- #*  ... etc. Symbolic literal
> #( ...)  -- array literal
> 
> - now what about these:
> 
> #123 -- number, or '123' asSymbol?
> 
> ##( ... ) --- ??
> ##word  --- ??
> ##...  -- ???
> ###... --- ???
> 

Hehe

that reminds me
http://lists.squeakfoundation.org/pipermail/squeak-dev/2007-May/117145.html
http://lists.squeakfoundation.org/pipermail/squeak-dev/2007-May/117153.html

I see not all are fixed in old compiler.
Also note the discrepancy between parsing and printing
You might want to fix #isLiteralSymbol: too...


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to