On 23/11/16 21:35, Soni L. wrote:
[...]
It's usually called "someone else".
https://github.com/SoniEx2/Stuff/blob/master/lua/String.lua
Thanks, but I was rather hoping for something that didn't involve so
much interpreted Lua; it's not that I'm worried about the size, but
performance is important here.
And I don't have LPEG.
I'm tending towards the compile-and-execute method right now, actually.
It's ugly, but it's also a reasonably trusted environment, and it would
let me combine it with some other code (for parsing numbers and booleans).