Open
Description
Tokenizer
- add pass to check input files are valid as utf-8
- add util function to check XID_Start/XID_Continue to libcpp
- identifiers
- lifetime label
- raw identifiers
- string literal
- char literal
- Unicode esccape
\uxxxx
- loop label
- not implemented yet
- parse whitespaces
- normalize identifiers (including labels) to NFC
- normalize function: Unicode Normalization of Identifiers #2379
- use it during tokenization: Normalize all identifiers to NFC #2489
Parser
- check for
crate_name
attributes- https://doc.rust-lang.org/reference/crates-and-source-files.html#the-crate_name-attribute
- Unicode Alphabetic
- Unicode Numeric (search with
Nl;
(decimal digits),Nd;
(letter-like numeric), orNo;
(other numeric) ) - is_numeric and is_alphabetic functions is added via
- Modify checker
Backend
- punycode (v0 mangling)
Others
- linter
- Fix
#[no_mangle]
- Fix legacy name manglling
TODOs
need more tests!
Metadata
Metadata
Assignees
Labels
No labels