[Cuis-dev] Some questions on The Cuis Book & other questions

Ignacio Sniechowski 0800nacho at gmail.com
Thu Feb 23 02:10:41 PST 2023


Juan
Thanks for all clarifications, I remember that in the Cuis talk, there was
an intense debate over math symbols and Unicode if I'm not mistaken...
I will read the paper.
Thanks again

*Ignacio Sniechowski*



















On Wed, Feb 22, 2023 at 4:10 PM Juan Vuletich via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> On 2/22/2023 12:39 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Oops too late I already update the book (html updated, no the pdf build)
>
>
> https://cuis-smalltalk.github.io/TheCuisBook/Message-to-string-entities.html#index-Unicode
>
>
> https://cuis-smalltalk.github.io/TheCuisBook/String-_002d_002d-a-particular-collection.html#index-Unicode-2
>
>
> Le 22/02/2023 à 16:00, Hernán Wilkinson via Cuis-dev a écrit :
>
> If my memory does not fail me I remember talking with Juan about this
> behavior and the reason for copy to return the same object is because
> UnicodeString are immutable... but let's wait for Juan to confirm that.
>
> Yes, I remember that too.
>
> --
> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>
>
> Hi Folks,
>
> A few clarifications (some / most you all already figured out)
>
> - String literals containing only ASCII characters are instances of String
> - String literals containing any non-ASCII character are instances of
> UnicodeString
> - Both are correctly indexed. #at: works as expected. But the same
> UnicodeString can be encoded in various forms. See #asNFC, #asNFD,
> UnicodeString>>#=. This is just the way Unicode works.
> - String and UnicodeString are interchangeable and interoperable.
> Conversions are done automatically. You don't need to care, except for:
> - UnicodeString are immutable
>
> An important note is that we can make UnicodeString modifiable via
> #at:put: if we want. In most systems Unicode strings can not be modified.
> But in Cuis we can compute and store the new 'bytes', nil 'hash' and we are
> done. On one hand, the system works well with immutable strings. It is not
> really needed. On the other hand, making them modifiable improves
> compatibility with older code and tutorials, and other dialects. It is also
> a good example of Smalltalk "magic".
>
> Hilaire, after we make our minds wrt immutable or mutable UnicodeStrings,
> I'd like to rewrite those sections on the book. In last year's Smalltalks
> conference at Buenos Aires, I presented a short paper on Unicode in Cuis:
> https://openreview.net/pdf?id=c93fukpVINA . The main point I make is that
> most programmers usually don't need to know or care about the encoding used
> for Strings. They should only care about their behavior. So, I'd like to
> rewrite those parts in the same spirit.
>
> Thanks,
>
> --
> Juan Vuletichcuis.stgithub.com/jvuletichresearchgate.net/profile/Juan-Vuletichindependent.academia.edu/JuanVuletichpatents.justia.com/inventor/juan-manuel-vuletichlinkedin.com/in/juan-vuletich-75611b3twitter.com/JuanVuletich '
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230223/f44364b2/attachment.htm>


More information about the Cuis-dev mailing list