forked from ziglang/zig
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow utf-8 in character literals Char Unicode escape syntax. Validate zig as UTF-8. overhaul std.unicode Fully implemented in stage2. Closes: ziglang#2097 Closes: ziglang#2129 --- About the UTF-8 validation in stage1: This implementation is quite slow, but the stage automata it claims to represent is correct, and it has two features faster validators don't that would make the code in stage1 more complicated: * They don't provide the char point * They don't provide the index of the error (although this could be hacked in, but at more cost) I don't want to put that much optimization effort into stage1 and C code.
- Loading branch information
Showing
10 changed files
with
531 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.