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
let symbol =
['+''-''*''/''\\''^''~''=''<''>''!''?''@''#''$''%''&''|'':''`''.''\'']
let letter = ['a'-'z''A'-'Z']
let idchar = letter | digit |'_'| symbol
let name = idchar+let id ='$' name
| id as s { VAR s }
Currently I can only write ascii letters in the wat syntax, (local $var).
It is a bit awkward to encode other utf8 letters in the wat syntax,
so people can write (local $你好).
It is a bit worse in the current situation, since no escaping syntax supported so
we have to do some magic encoding here
The text was updated successfully, but these errors were encountered:
Yes, this is as spec'ed in the standard, and it is rather intentional that program text (outside strings and comments) is limited to plain ASCII. Unicode identifiers are a can of worms, as explained in the other issue.
According to the reference interpreter
Currently I can only write ascii letters in the wat syntax,
(local $var)
.It is a bit awkward to encode other utf8 letters in the wat syntax,
so people can write
(local $你好)
.It is a bit worse in the current situation, since no escaping syntax supported so
we have to do some magic encoding here
The text was updated successfully, but these errors were encountered: