Conversation
ba0fb47 to
777a26e
Compare
- Almost entirely compatible with PRLua under the C locale
- Minor differences in the handling of '%q';
- Invalid UTF8 is escaped rather than passed through
- math.mininteger is represented as `(-9223372036854775807-1)`
rather than `0x8000000000000000` due to parsing differences
in Piccolo.
- Supports a few extra specifiers:
- %b and %B for binary integers (C23)
- %F for uppercase floats
- %C for encoding a unicode codepoint as utf8
- %S for utf8-aware strings
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement
string.format. This is very messy in its current state and needs work to clean up the sequence part, but it works, and supports calling back to lua tostring metamethods.