mingodad
|
b43f799998
On the implementation of string.gsub make checks on the result of sq_get to not go forward if it doesn't succeed.
|
13 gadi atpakaļ |
mingodad
|
1829e76e0f
Add a vector to SharedState where to store release hooks to be called when is safe to work with the vm, right now I'm calling it after calls to closures and whe finalizing the vm.
|
13 gadi atpakaļ |
mingodad
|
61e2976d78
Add new string function "find_lua" that uses the same code as in lua and has the same functionalities but uses a function to get the results.
|
13 gadi atpakaļ |
mingodad
|
3f4c6ef785
Changed the functions added by me to gemetatable of str/class/number/array to use a call to sq_getdelegate.
|
13 gadi atpakaļ |
mingodad
|
1142e5f27e
Added the my port of Lua regex and expose to strings as two new functions "gsub","gmatch" with near same functionality of string.gsub and string.gmatch from Lua.
|
13 gadi atpakaļ |
mingodad
|
585a4be4de
Expose getdelegate for string,array, class, numbers
|
13 gadi atpakaļ |
mingodad
|
a7a6ba69e5
Added new array function "concat" similar to Lua table.concat this makes squirrel dependent on sqstdlib because it uses SQBlob.
|
13 gadi atpakaļ |
mingodad
|
8954705b85
Added new function "str_from_chars" with the same functionality of Lua string.chars.
|
13 gadi atpakaļ |
mingodad
|
b6c3870b09
Added two functions to help debug scripts getstacktop, get_last_error
|
13 gadi atpakaļ |
mingodad
|
e0e098e406
Changed the print function to behave like the Lua print, accepting multiple parameters, printing then tab separated and adding a new line, the original print is now called "print1" because it only prints one element.
|
13 gadi atpakaļ |
mingodad
|
173b7280f7
Add the possibility to specify the numeric base of the string to be converted to integer, so now we can convert strings from base 2 to 36.
|
13 gadi atpakaļ |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
13 gadi atpakaļ |