Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | src/lfunc.js: Use destructuring assignment for defs.js | daurnimator | 2018-01-18 |
| | |||
* | src/lfunc.js: Use lua_assert instead of assert | daurnimator | 2018-01-18 |
| | |||
* | Move jshint config to package.json | daurnimator | 2017-08-18 |
| | |||
* | Fix some jshint warnings | daurnimator | 2017-05-29 |
| | |||
* | src/lfunc.js: Give UpVals an id field | daurnimator | 2017-05-29 |
| | | | | | This way they have an id when printed via %p. e.g. `debug.upvalueid(function() print() end, 1)` | ||
* | Have lua closures point to directly to their upvalues on stack | daurnimator | 2017-05-29 |
| | |||
* | src/lfunc.js: Fix luaF_findupval, it needs to insert the upvalue into ↵ | daurnimator | 2017-05-16 |
| | | | | correct place in linked list, not the start | ||
* | .is_vararg should be a boolean | daurnimator | 2017-05-12 |
| | |||
* | Introduce a TString class | daurnimator | 2017-05-08 |
| | |||
* | src/lfunc.js: Give Protos an id field | daurnimator | 2017-05-08 |
| | |||
* | Renamed findupval to luaF_findupval | Benoit Giannangeli | 2017-05-05 |
| | |||
* | L.openupval list was not linked correctly | Benoit Giannangeli | 2017-05-05 |
| | |||
* | Simplify UpVal structure | daurnimator | 2017-05-05 |
| | | | | | | | No longer follows C api as closely (it is the way it is because C has unions) Instead, have a flat object. Also remove the 'setval' method, as it wasn't used from all call-sites and couldn't be extended to them (setval's body only worked with source TValue on a stack) | ||
* | An open upvalue already knows which lua_State it comes from | daurnimator | 2017-05-05 |
| | |||
* | src/lfunc.js: Setting a closed upvalue should change a TValue, not create a ↵ | daurnimator | 2017-05-05 |
| | | | | new one | ||
* | src/lfunc: Move refcount initialisation into constructor | daurnimator | 2017-05-05 |
| | |||
* | Remove .twups field | daurnimator | 2017-05-05 |
| | | | | It's used to track threads that should be traversed by the GC to find upvalues | ||
* | Use lfunc from lundump.js | daurnimator | 2017-05-02 |
| | |||
* | src/lfunc.js: Pass arguments to LClosure constructor | daurnimator | 2017-05-02 |
| | |||
* | L.openupval was not set in luaF_close | Benoit Giannangeli | 2017-04-24 |
| | |||
* | Handle when no upvalue found | Benoit Giannangeli | 2017-04-23 |
| | |||
* | Fixed bad UpVal.setVal | Benoit Giannangeli | 2017-04-14 |
| | | | | | We were making the upval point to the slot of the stack from which the value to set was | ||
* | [Strings] ldebug.js, ldo.js, lfunc.js | Benoit Giannangeli | 2017-03-13 |
| | |||
* | Loading tests (binary/text) | Benoit Giannangeli | 2017-03-01 |
| | |||
* | Bytecode generation | Benoit Giannangeli | 2017-03-01 |
| | |||
* | Basic lexing tests | Benoit Giannangeli | 2017-02-27 |
| | |||
* | coroutine.running, upvalue need to be attached to their thread | Benoit Giannangeli | 2017-02-23 |
| | |||
* | luaG_ functions | Benoit Giannangeli | 2017-02-21 |
| | |||
* | Fixed UpVal.setval so that it update v index and v value on the stack | Benoit Giannangeli | 2017-02-17 |
| | |||
* | More accurate state and closure init | Benoit Giannangeli | 2017-02-17 |
| | |||
* | Implementing minimal path from main to luaV_execute of user script | Benoit Giannangeli | 2017-02-15 |
| | |||
* | Better use of module to avoid cyclic dependencies issues | Benoit Giannangeli | 2017-02-13 |
| | |||
* | JSHint | Benoit Giannangeli | 2017-02-13 |
| | |||
* | TFORCALL, TFORLOOP, luaD_call, tag methods | Benoit Giannangeli | 2017-02-12 |
| | |||
* | No more LuaVM class, moved functions around | Benoit Giannangeli | 2017-02-11 |
| | |||
* | UpVal closing | Benoit Giannangeli | 2017-02-11 |
| | |||
* | Upvalues | Benoit Giannangeli | 2017-02-10 |
| | |||
* | postcall and precall | Benoit Giannangeli | 2017-02-06 |
| | | | | | | In the tests, we just look at the last n elements of the stack to check our results. This is because the executed script itself doesn't expect any result, so we did not put results at L.top. | ||
* | RETURN follow lua's source more accurately | Benoit Giannangeli | 2017-02-06 |
| | |||
* | CLOSURE, CALL | Benoit Giannangeli | 2017-02-04 |
| | |||
* | readHeader | Benoit Giannangeli | 2017-02-02 |