Is there any Forth, that properly handles unicode strings, by which I mean, that it has sensible string length, substring and such functions or some standard library that has them? Basically all the usual stuff one needs. I tried to use GForth a while ago, but how to use strings properly was a mystery. I don't want to have to code all string functionality myself. Well, neither do I know how, nor do I want to. I guess I would have to study other languages' implementations and some standard documents or so for that, when actually I am doing another project. A gigantic rabbithole that would be. Afaik there is more planned in the 1.0 release of GForth.
Reading line after line from a file was also difficult. I could not figure out, how to clear the storage used for the previous line properly. When I read a shorter line after a longer line, the storage would still contain the longer part of the longer line after the content of the shorter line. Perhaps there is a Forth that makes this easy?
But it also needs to support that library, FFL, so that I have useful data types, and don't need to roll my own arrays or something ...
Maybe my design philosophy is fundamentally different from what is needed for Forth?
Reading line after line from a file was also difficult. I could not figure out, how to clear the storage used for the previous line properly. When I read a shorter line after a longer line, the storage would still contain the longer part of the longer line after the content of the shorter line. Perhaps there is a Forth that makes this easy?
But it also needs to support that library, FFL, so that I have useful data types, and don't need to roll my own arrays or something ...
Maybe my design philosophy is fundamentally different from what is needed for Forth?