You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
SoM has built-in unicode mapping in UnicodeMapper.cs.
This needs some refactoring.
First, the static definition should be moved to an external file
Second, the mapping is current char -> String. The .NET char holds one UTF16 code point, ideally the mapping should allow UTF32 code points rather than UTF16 since swift allows > 16 bit code points. See the definition of a swift identifier here.
Finally, there should be a command line option to allow user-selectable mappings from an input file.
Suggest -unicode-mapping:file which should be allowed multiple times and each subsequent one can override previous definitions.
Ok, correction we already have static data in the hard coded list, so adding the "load this xml and addrange it in", isn't too far from what we have already.
SoM has built-in unicode mapping in UnicodeMapper.cs.
This needs some refactoring.
First, the static definition should be moved to an external file
Second, the mapping is current
char -> String
. The .NET char holds one UTF16 code point, ideally the mapping should allow UTF32 code points rather than UTF16 since swift allows > 16 bit code points. See the definition of a swift identifier here.Finally, there should be a command line option to allow user-selectable mappings from an input file.
Suggest
-unicode-mapping:file
which should be allowed multiple times and each subsequent one can override previous definitions.File format? Why not XML.
The text was updated successfully, but these errors were encountered: