Strings in Retro currently have a few issues.
I will be making changes to resolve these, but it will not be a quick process. Changing the strings model will break (to various degrees) backwards compatibility, so this is not something that'll be rushed.
My current plan:
I will introduce
s:store to update characters in a string. For the standard strings, this will be a thin layer over
store. For the new strings, these will be a little more involved.
us:(utf8 string) namespace for words operating on them.
This will involve updating the array words.
I will need to insert some indirection (to allow for things like
us:store to be used when updating arrays that contain utf8 data). This will also aid in allowing for arrays of byte or halfword data.
To be continued as feedback is gathered and work progresses