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
Added unicode identifier support for variable names, table indexing, goto labels, macro names and other syntax that can be possible via commit e61cce2.
The code
💬 =print
💬 'OK OK OK','god dammit',23
📡 =require'satellite'
will be compiled to:
local_ud83d_udcac=print_ud83d_udcac('OK OK OK', 'god dammit', 23)
local_ud83d_udce1=require('satellite')
And that will leave a problem when you are using unicode names for global variables:
global 🌛 ="moon"assert_G.🌛 == 🌛,"can not access this global variable with the unicode name"
compiles:
_ud83c_udf1b="moon"returnassert(_G["🌛"] ==_ud83c_udf1b, "can not access this global variable with the unicode name")
A request from Discord:
I wanna be able to do stuff like
in no way is this an incredibly important or helpful idea, but i would be happy to use it if it existed.
The text was updated successfully, but these errors were encountered: