[squeak-dev] The Trunk: Collections-cmm.1016.mcz
Chris Muller
asqueaker at gmail.com
Thu Jul 14 02:25:34 UTC 2022
Hi Levente,
Why limit the tokens to alphanumeric ones? Why am I not allowed to write
> the following?
>
> '{foo_bar}' format: ({ 'foo_bar' -> 1 })
>
I found a good way, Collections-cmm.1020. Thanks to CharacterSet, we can
have whatever additional characters with virtually no further performance
hit.
I included all of
_/-.,!@#$%^&*()[]=;:
It's everything except what's already used by format, ${, $}, and $\, and
no quotes, either.
- Chris
>
>
> Also, why do I get an error when I try this?
>
> '{0x1}{0x2}' format: ({ '0x1' -> 1. '0x2' -> 2 } as: Dictionary)
>
>
> Levente
>
>
> >
> > If this is still too much, let me know, I'll take it back to the
> original numerals-only version.
> >
> > Best,
> > Chris
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220713/e9e41da6/attachment.html>
More information about the Squeak-dev
mailing list
|