mingodad
|
b83a9aac54
Added method "empty" to array
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
mingodad
|
d3e269f179
Added new string function "match" with almost the same functionality as the Lua string.match except it do not return multiple values.
|
há 13 anos atrás |
mingodad
|
ea9f897ddb
Added a "bsearch" method to array.
|
há 13 anos atrás |
mingodad
|
6292263419
Add new api to push lasterror_stackinfo.
|
há 13 anos atrás |
mingodad
|
7ab0496f93
Added new string functions:
|
há 13 anos atrás |
mingodad
|
5477147187
Moved string functions from string lib to string delegate also add alias "size" for "len".
|
há 13 anos atrás |
mingodad
|
8107e1ac97
Moved macro to header file and added a check to the value returned by sq_size.
|
há 13 anos atrás |
mingodad
|
8c2ae4887e
Fixed a mistake of referencing the container in the wrong position in the stack on functions container_rawget and container_get
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
mingodad
|
ec90a6c201
Added new function to strings replace that do not use regular expressions.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
mingodad
|
3f4c6ef785
Changed the functions added by me to gemetatable of str/class/number/array to use a call to sq_getdelegate.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
mingodad
|
585a4be4de
Expose getdelegate for string,array, class, numbers
|
há 13 anos atrás |
mingodad
|
a7a6ba69e5
Added new array function "concat" similar to Lua table.concat this makes squirrel dependent on sqstdlib because it uses SQBlob.
|
há 13 anos atrás |
mingodad
|
8954705b85
Added new function "str_from_chars" with the same functionality of Lua string.chars.
|
há 13 anos atrás |
mingodad
|
b6c3870b09
Added two functions to help debug scripts getstacktop, get_last_error
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
há 13 anos atrás |