mingodad
|
7ab0496f93
Added new string functions:
|
13 лет назад |
mingodad
|
5477147187
Moved string functions from string lib to string delegate also add alias "size" for "len".
|
13 лет назад |
mingodad
|
8107e1ac97
Moved macro to header file and added a check to the value returned by sq_size.
|
13 лет назад |
mingodad
|
8c2ae4887e
Fixed a mistake of referencing the container in the wrong position in the stack on functions container_rawget and container_get
|
13 лет назад |
mingodad
|
2b3881c277
Added 2 new functions to string "startswith" and "endswith", also changed find lua to accept only the pattern matching to make it easy to use when we only need to know if the match exists.
|
13 лет назад |
mingodad
|
ded4631ac8
Add new function to string delegate find_close_quote will find a single quote on a string starting at the given start point default to 0, any adjacent double quotes are skipped.
|
13 лет назад |
mingodad
|
ec90a6c201
Added new function to strings replace that do not use regular expressions.
|
13 лет назад |
mingodad
|
3ce65dde6a
Added a new container function "get" that accepts a default parameter to return in case of key not found, rawget was extended to accept a default parameter as well.
|
13 лет назад |
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 лет назад |
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 лет назад |
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 лет назад |
mingodad
|
3f4c6ef785
Changed the functions added by me to gemetatable of str/class/number/array to use a call to sq_getdelegate.
|
13 лет назад |
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 лет назад |
mingodad
|
585a4be4de
Expose getdelegate for string,array, class, numbers
|
13 лет назад |
mingodad
|
a7a6ba69e5
Added new array function "concat" similar to Lua table.concat this makes squirrel dependent on sqstdlib because it uses SQBlob.
|
13 лет назад |
mingodad
|
8954705b85
Added new function "str_from_chars" with the same functionality of Lua string.chars.
|
13 лет назад |
mingodad
|
b6c3870b09
Added two functions to help debug scripts getstacktop, get_last_error
|
13 лет назад |
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 лет назад |
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 лет назад |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
13 лет назад |