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 година |
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 година |
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 година |
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
|
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 година |
mingodad
|
e5bebadb45
Forgot to discard a newline if it follows the Lua literal delimiter.
|
пре 13 година |
mingodad
|
3eaf8b9cc7
Added Lua like string literal delimiters, nested is not implemented
|
пре 13 година |
mingodad
|
e9da3f5611
First try to fix bug in compiler that accepts identifiers alone silently.
|
пре 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
|
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 година |
mingodad
|
d330fce5e3
Modified the new "write" method to accept variable number of parameters.
|
пре 13 година |
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 година |
mingodad
|
2f7a543579
Add new api function to push a new class with or without parent.
|
пре 13 година |
mingodad
|
b1f5622fa0
Add two new methods to SQBlob, memset and asString.
|
пре 13 година |
mingodad
|
542d2e16ee
Add a printf function that uses sq_getprintfunc to print the result of sqstd_format.
|
пре 13 година |
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 година |
mingodad
|
de31c86920
A bit more work on this fltk port.
|
пре 13 година |
mingodad
|
a44ccf25e4
Changed the temporary storage of filename between iterations to be a instance member.
|
пре 13 година |
mingodad
|
84473274a3
Accept "->" C/C++ pointer notation as an alias for ".".
|
пре 13 година |
mingodad
|
b170a57626
Added new member to SQRegFunction a bool to indicate if the function should be registered as static.
|
пре 13 година |
mingodad
|
33edfb4eef
Eliminate double call to GetScratchPad on sq_aux_invalidtype.
|
пре 13 година |
mingodad
|
f5c497854d
Add another conditional preproccessor to test new modules.
|
пре 13 година |
mingodad
|
3f65a4b6f9
Added missing include file for windows after include the "sleep" function.
|
пре 13 година |
mingodad
|
343ca7e2f2
Corrected a bug introduced by refactoring the compiler function "Expect", using a token paramter instead of "_token" in the new "GetTokenObject".
|
пре 13 година |
mingodad
|
c896328c7e
Added entry for zeromq3 module
|
пре 13 година |
mingodad
|
4c75543a79
Initial module of zeromq3
|
пре 13 година |
mingodad
|
9e76f048fe
Add an entry to zeromq3 module
|
пре 13 година |
mingodad
|
d9ccdf8e63
Added a port of math.random from Lua 5.1.5 to Squirrel
|
пре 13 година |
mingodad
|
2c9837f1f9
Add function sleep(n seconds)
|
пре 13 година |
mingodad
|
f5ebd88244
Split macro SQ_GET_INSTANCE to allow to specify stack position and var name.
|
пре 13 година |