mingodad
|
75b03f6d50
Added global function "getdefaultdelegate" and fix all other "getdelegate" exposed in SquiLu.
|
hace 13 años |
mingodad
|
8f80ca9b1d
Added new function "gettypetag", and expose more delegates.
|
hace 13 años |
mingodad
|
325272f49f
Small code cleanup.
|
hace 13 años |
mingodad
|
4bb28b62f4
Added a split function to string that uses a char as delimiter, the original split function that uses strtok was renamed to split_by_strtok.
|
hace 13 años |
mingodad
|
f889b29cc5
Add new function "atexithandler" to register a function to be called at scripting exit.
|
hace 13 años |
mingodad
|
b83a9aac54
Added method "empty" to array
|
hace 13 años |
mingodad
|
ad3e5f5c6c
Added two new api functions "sq_setfenv" and "sq_getfenv" the first sets a function environment with optionally cloning it, the second gets (push on stack) a function env with the option to push the roottable when the env is null.
|
hace 13 años |
mingodad
|
d3e269f179
Added new string function "match" with almost the same functionality as the Lua string.match except it do not return multiple values.
|
hace 13 años |
mingodad
|
ea9f897ddb
Added a "bsearch" method to array.
|
hace 13 años |
mingodad
|
6292263419
Add new api to push lasterror_stackinfo.
|
hace 13 años |
mingodad
|
7ab0496f93
Added new string functions:
|
hace 13 años |
mingodad
|
5477147187
Moved string functions from string lib to string delegate also add alias "size" for "len".
|
hace 13 años |
mingodad
|
8107e1ac97
Moved macro to header file and added a check to the value returned by sq_size.
|
hace 13 años |
mingodad
|
8c2ae4887e
Fixed a mistake of referencing the container in the wrong position in the stack on functions container_rawget and container_get
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
ec90a6c201
Added new function to strings replace that do not use regular expressions.
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
3f4c6ef785
Changed the functions added by me to gemetatable of str/class/number/array to use a call to sq_getdelegate.
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
585a4be4de
Expose getdelegate for string,array, class, numbers
|
hace 13 años |
mingodad
|
a7a6ba69e5
Added new array function "concat" similar to Lua table.concat this makes squirrel dependent on sqstdlib because it uses SQBlob.
|
hace 13 años |
mingodad
|
8954705b85
Added new function "str_from_chars" with the same functionality of Lua string.chars.
|
hace 13 años |
mingodad
|
b6c3870b09
Added two functions to help debug scripts getstacktop, get_last_error
|
hace 13 años |
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.
|
hace 13 años |
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.
|
hace 13 años |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
hace 13 años |