Closed LuoZijun closed 6 years ago
Hey! You can try the above snippet in http://maciej.codes/ratel-wasm/ and see that it works.
It's not really correct, the lexer reads any sequence of non-ASCII bytes as identifiers, so technically any set of unicode characters not separated by permitted ASCII in identifiers, will produce an identifier token. To be really compliant with the specs we would have to make sure that the unicode we accept as identifiers are letter characters (the rewrite branch as it is checks it for the first character).
I'm so sorry for that, i will close this.
Hi, the parser is not ready for parse unicode, right ?
The
master
branch:The
rewrite
branch:JavaScript Unicode Name Example: