Oct. 10, 2008
3:38 p.m.
Igor Stasenko <siguctua@...> 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...