srijan-paul / snap

An embeddable scripting language inspired by Lua.

Home Page:https://injuly.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support UTF-8 strings.

srijan-paul opened this issue · comments

Currently snap only supports ASCII strings (0-127 character range).
As a stretch goal, it would be good to have support for UTF-8 strings, wherein we can have a string object store a bool that specifies whether it has any higher code points to support faster indexing for simple ASCII strings.