ℙ𝕖𝕡 🙴 ℕ𝕠𝕞

home | documentation | examples | translators | download | blog | all blog posts

If you can use a boomerang, then don't use a bow and arrow. If you can use a stick, then dont use a boomerang. Australian wisdom

ideas for the ℙ𝕖𝕡/ℕ𝕠𝕞 system

A document of ideas of the ℙ𝕖𝕡 🙵 ℕ𝕠𝕞 system that may never be implemented. Often I find that new commands aren't necessary after all.

unicode and reading

Unicode doesn't actually define what is a 'character', instead it uses code points and combining marks (diacritics, underlines, etc). So the question of what the read command should do is a bit tricky. Should it read a byte, or a (utf8) code point or a grapheme cluster (the series of codepoints and combining marks that makes up a single visible character) ? Usually the answer is the last: A grapheme cluster, but not always.

So the read command could have several modes, and it could even read the data as a byte and treat it as 'binary'.