mingodad
|
3f4c6ef785
Changed the functions added by me to gemetatable of str/class/number/array to use a call to sq_getdelegate.
|
13 years ago |
mingodad
|
15eaca35a5
Only refactored code of SQVM::FOREACH_OP and the editor wiped extra spaces that was in several places in the code.
|
13 years ago |
mingodad
|
bfc97f7edf
Added win32 targets
|
13 years ago |
mingodad
|
86e9e91820
Added new functions and moved math to a table called math like in Lua to don't pollute the global namespace.
|
13 years ago |
mingodad
|
d193ea26f1
Other ongoing modules to squirrel
|
13 years ago |
mingodad
|
c7768b16a7
An ongoing port of my Lua application server using mongoose httpd to squirrel
|
13 years ago |
mingodad
|
d741b7b403
Add some extensions to squirrel
|
13 years ago |
mingodad
|
f4d4659a3d
Added Codeblocks project for library and executable
|
13 years ago |
mingodad
|
13e20e7999
Add define to compile with NO_EXCEPTION_KEY_NOT_FOUND
|
13 years ago |
mingodad
|
020c5a401f
Added "%q" from Lua 5.2.1 to format.
|
13 years ago |
mingodad
|
b47560d93d
Modified version, author, copyright adding me
|
13 years ago |
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 years ago |
mingodad
|
585a4be4de
Expose getdelegate for string,array, class, numbers
|
13 years ago |
mingodad
|
a7a6ba69e5
Added new array function "concat" similar to Lua table.concat this makes squirrel dependent on sqstdlib because it uses SQBlob.
|
13 years ago |
mingodad
|
8954705b85
Added new function "str_from_chars" with the same functionality of Lua string.chars.
|
13 years ago |
mingodad
|
b6c3870b09
Added two functions to help debug scripts getstacktop, get_last_error
|
13 years ago |
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 years ago |
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 years ago |
mingodad
|
46a2b2c9c3
Added some new api functions and macros to easy writing native extensions.
|
13 years ago |
mingodad
|
1e5275be20
Added a new pattern like the lua "%bxy" but here it is "\mxy" where x and y are two distinct characters; such item matches strings that start with x, end with y, and where the x and y are balanced. This means that, if one reads the string from left to right, counting +1 for an x and -1 for a y, the ending y is the first y where the count reaches 0. For instance, the item \m() matches expressions with balanced parentheses.
|
13 years ago |
mingodad
|
fae9b56595
Refactored SQBlob to allow specify size and allocated separately.
|
13 years ago |
mingodad
|
b4cf950f47
Refactored the parsing of json tables to allow unquoted keys.
|
13 years ago |
mingodad
|
c461d9bd71
Refactored the some compiler functions splitting then to use that functionality alone.
|
13 years ago |
mingodad
|
63c28432f2
Add keyword "var" as an alias to "local" when declaring local variables.
|
13 years ago |
mingodad
|
cf8faa108a
Changed sq_throwerror to work like printf.
|
13 years ago |
mingodad
|
051a3e2de6
Only refactored declaration and assignment together, no functionality change.
|
13 years ago |
mingodad
|
2d343adbb6
Added conditional preprocessor NO_EXCEPTION_KEY_NOT_FOUND to sqvm.cpp to enable/disable throwing exceptions when a key is not found on tables.
|
13 years ago |
mingodad
|
872247a3d5
Commented out unused variables on sq.c
|
13 years ago |
mingodad
|
529270ee38
Add a clean target to main Makefile
|
13 years ago |
mingodad
|
09cfbe61ca
Start git repository for squilu, squirrel language enhanced with lua goods.
|
13 years ago |