piccolo icon indicating copy to clipboard operation
piccolo copied to clipboard

initial impl of string.lower,rep,reverse,upper

Open Jengamon opened this issue 1 year ago • 2 comments

I have initial sketch of string.lower, string.rep, string.reverse, and string.upper.

Jengamon avatar Apr 28 '24 01:04 Jengamon

~~These would work "logically" under the utf8 table, but PUC-Lua has none of these functions there, so it's an open question as to where these should go.~~ implementation changed to always treat strings as byte arrays!

Jengamon avatar Apr 28 '24 02:04 Jengamon

~~string.rep is charging 1 fuel per repetition currently.~~ string.rep impl was removed

Jengamon avatar May 07 '24 02:05 Jengamon

Thank you, merged!

kyren avatar Jun 16 '24 00:06 kyren