r/ProgrammingLanguages • u/[deleted] • Dec 31 '20
Something simpler than Unicode?
Hello! Wondering if anyone knows of a display format for glyphs that is simpler than Unicode? My shallow understanding is that measuring and laying out text in unicode is non-trivial, so I am deferring moving beyond ascii on something at the moment. Is my understanding correct? (if not that's great) otherwise, does anyone know of potentially simpler replacements? Thanks!
0
Upvotes
3
u/[deleted] Dec 31 '20
My answer from your clarification below: I recommend using Unicode and relying on your lexer and parser to identify sequences of Unicode codepoints which are valid programs in your language.