mingodad
|
cab23472ea
Added a port of Luasockets to SquiLu.
|
13 năm trước cách đây |
mingodad
|
122b25b04e
Add a new line only for stetic
|
13 năm trước cách đây |
mingodad
|
0e6d14367a
Forgot to increase line numbers after newline when parsing lua style literal strings
|
13 năm trước cách đây |
mingodad
|
f4aaf6bcd6
Commented the warning on ignored keywords (right now only "new").
|
13 năm trước cách đây |
mingodad
|
fb2bfb0292
Add 2 new api functions to make easy and less verbose write extensions
|
13 năm trước cách đây |
mingodad
|
e8fe33faab
Changed the format for print source and line on stack dumps so scite editor can recognize then
|
13 năm trước cách đây |
mingodad
|
a50075876f
Add new squirrel vm parameter to release hook functions
|
13 năm trước cách đây |
mingodad
|
6f591ab367
Add new squirrel vm parameter to release hook functions
|
13 năm trước cách đây |
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 năm trước cách đây |
mingodad
|
40d62ed700
Add a better management when we encounter a ']' that is not the real termination.
|
13 năm trước cách đây |
mingodad
|
c55856a790
Another corner case when found ']' that is not the real end termination.
|
13 năm trước cách đây |
mingodad
|
c1bdfe7919
Remove the modification on the compiler to prevent a identifier alone, Fagiano says that this is a language feature, for instance to have the side effect in case the _get method is implemented, also this modification makes the stack grow by one element all the time.
|
13 năm trước cách đây |
mingodad
|
174267debe
Hiding the vector that holds delayed release hooks, add a function to add delayed release hooks, add a flag to prevent loops when actually doing the delayed release hooks calls.
|
13 năm trước cách đây |
mingodad
|
aaa9e0b2df
Create a function "SQSharedState::CallDelayedReleaseHooks(SQVM *vm, int count)" to manage the delayed release hooks, call then on first in first out basis, modify userdata release to also join delayed release hooks.
|
13 năm trước cách đây |
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 năm trước cách đây |
mingodad
|
f5c2defb30
Fixed corner cases where like 'const char array[]= "string";' been interpreted as end of string, this implementation requires at least one '=' between brackets.
|
13 năm trước cách đây |
mingodad
|
e5bebadb45
Forgot to discard a newline if it follows the Lua literal delimiter.
|
13 năm trước cách đây |
mingodad
|
3eaf8b9cc7
Added Lua like string literal delimiters, nested is not implemented
|
13 năm trước cách đây |
mingodad
|
e9da3f5611
First try to fix bug in compiler that accepts identifiers alone silently.
|
13 năm trước cách đây |
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 năm trước cách đây |
mingodad
|
77aea3f62e
After added a new member to SQRegFunction that indicates if a method is static, forgot to commit the change on the new api function that uses it.
|
13 năm trước cách đây |
mingodad
|
d330fce5e3
Modified the new "write" method to accept variable number of parameters.
|
13 năm trước cách đây |
mingodad
|
0682b72199
Add new parameter to sq_pushnewclass to indicate if we want the new class left on top of the stack and fixed the logic inside this function.
|
13 năm trước cách đây |
mingodad
|
2f7a543579
Add new api function to push a new class with or without parent.
|
13 năm trước cách đây |
mingodad
|
b1f5622fa0
Add two new methods to SQBlob, memset and asString.
|
13 năm trước cách đây |
mingodad
|
542d2e16ee
Add a printf function that uses sq_getprintfunc to print the result of sqstd_format.
|
13 năm trước cách đây |
mingodad
|
2b9d6070ba
Add new token to lexer/compiler TK_IGNORE to ignore some keywords and make some C/C++ code be compiled, for the moment only "new" is ignored.
|
13 năm trước cách đây |
mingodad
|
de31c86920
A bit more work on this fltk port.
|
13 năm trước cách đây |
mingodad
|
a44ccf25e4
Changed the temporary storage of filename between iterations to be a instance member.
|
13 năm trước cách đây |
mingodad
|
84473274a3
Accept "->" C/C++ pointer notation as an alias for ".".
|
13 năm trước cách đây |