Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More chars support #513

Merged
merged 3 commits into from
Nov 29, 2024
Merged

More chars support #513

merged 3 commits into from
Nov 29, 2024

Conversation

kengorab
Copy link
Owner

Now that the compiler can support Char literals, more features can be added including a chars iterator for strings.

Now that the compiler can support Char literals, more features can be
added including a chars iterator for strings.
The implementation of `CharsIterator` now also supports multi-byte UTF-8
decoding. I also added a `Char#bytes` method to convert the u32
representation of the character codepoint into the required number of
bytes for proper UTF-8 encoding.
@kengorab kengorab merged commit 5043b18 into master Nov 29, 2024
1 check passed
@kengorab kengorab deleted the chars-iterator branch November 29, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant