Skip to content

[Strings] string.is_usv_sequence #4783

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

Merged
merged 4 commits into from
Jul 8, 2022
Merged

[Strings] string.is_usv_sequence #4783

merged 4 commits into from
Jul 8, 2022

Conversation

kripken
Copy link
Member

@kripken kripken commented Jul 8, 2022

This implements it as a StringMeasure opcode. They do have the same number of
operands, same trapping behavior, and same return type. They both get a string and
do some inspection of it to return an i32. Perhaps the name could be StringInspect
or something like that, rather than StringMeasure..? But I think for now this might be
good enough, and the spec may change anyhow later.

@kripken kripken requested review from tlively and aheejin July 8, 2022 20:01
@kripken kripken merged commit fea11e9 into main Jul 8, 2022
@kripken kripken deleted the string.is_usv branch July 8, 2022 20:37
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.

2 participants