aboutsummaryrefslogtreecommitdiff
path: root/src/lstate.js
Commit message (Collapse)AuthorAge
* src/lstate.js: Start id at 1; it's better if ids are never falsydaurnimator2018-02-28
|
* src/: Upvalues are now just TValues (possibly referencing on-stack)daurnimator2018-01-29
| | | | | | | | | | - Removes `Upval` class - closing over upvalues is now done by creating new on-stack TValue objects - No more `openupval` linked list With this fix, upvalues from collected coroutines will no longer keep other values alive Closes #44
* src/lstate.js: Use destructuring assignment for defs.jsdaurnimator2018-01-18
|
* src/lstate.js: Use api_incr_top instead of assertdaurnimator2018-01-18
|
* src/lobject.js: Give functions and objects idsdaurnimator2017-12-10
|
* Move jshint config to package.jsondaurnimator2017-08-18
|
* LUA_NUMTAGS is inside constant_typesdaurnimator2017-05-31
|
* Modify stack values up to L.top instead of replacingdaurnimator2017-05-27
|
* Keep api_incr_top macro contents distinctdaurnimator2017-05-27
| | | | | - Don't have postincrement in a previous expression - Fix a couple of places the assert was missing
* src/lstate.js: Move preinit_thread into lua_State constructordaurnimator2017-05-24
|
* src/lstate.js: Create lua_State given global_State (not vice-versa)daurnimator2017-05-24
|
* Revert "src/lstate.js: Remove useless luaE_freeCI"daurnimator2017-05-23
| | | | This reverts commit 6646bebd474b95a2d4cbb8558c0d1cb5b5353de0.
* Compare allowed stack indices to stack_lastdaurnimator2017-05-22
| | | | Not L.stack.length which is more equivalent to C's L->stacksize
* src/lstate.js: Remove useless luaE_freeCIdaurnimator2017-05-22
| | | | We don't keep around a pool of callinfo objects
* Fix lua_checkstack to check against LUAI_MAXSTACK. Adds luaD_growstack and ↵daurnimator2017-05-22
| | | | luaD_reallocstack
* Add facility for a user provided (state-global) native error handlerdaurnimator2017-05-15
|
* Rename .pcOff field to l_savedpcdaurnimator2017-05-12
|
* Rename CallInfo l_savedpc field to l_codedaurnimator2017-05-12
|
* Remove unused L.ciOff/L.nci fieldsdaurnimator2017-05-12
|
* src/lstate.js: Remove (unused) CallInfo constructor argumentsdaurnimator2017-05-12
|
* Move adhoc code into proper luaE_extendCIdaurnimator2017-05-12
|
* src/lstate.js: Expose luaE_freeCI and luaE_freethreaddaurnimator2017-05-12
|
* src/lstate.js: preinit doesn't need to initialise L.stack to an arraydaurnimator2017-05-12
|
* src/lstate.js: Implement freestack(), call from lua_closedaurnimator2017-05-12
| | | | Work towards https://github.com/giann/fengari/commit/354d659f577fc27969784400c8c1e6090756da7b#commitcomment-21975897
* ltm.TMS should be indexes into an arraydaurnimator2017-05-08
|
* Move string functions to centralised lstring.jsdaurnimator2017-05-08
|
* [test-suite] calls.jsBenoit Giannangeli2017-05-05
|
* Flatten CallInfo union memberdaurnimator2017-05-05
|
* Remove .twups fielddaurnimator2017-05-05
| | | | It's used to track threads that should be traversed by the GC to find upvalues
* Move .id field from TValue to values themselvesdaurnimator2017-05-03
|
* Refactor table implementationdaurnimator2017-05-03
|
* os.exitBenoit Giannangeli2017-04-28
|
* Remove unused string interning Mapdaurnimator2017-04-28
|
* lua_State shouldn't subclass TValuedaurnimator2017-04-28
|
* Add table construction functiondaurnimator2017-04-28
|
* Remove unused variablesdaurnimator2017-04-26
|
* All core files reference defs.js instead of lua.jsdaurnimator2017-04-26
|
* L.openupval was not set in luaF_closeBenoit Giannangeli2017-04-24
|
* No more Table, just TValue with table type and Map valueBenoit Giannangeli2017-04-18
|
* Table indexes are also starting at 1 internallyBenoit Giannangeli2017-04-13
| | | | Since we use a Map we don't have to care about indexes starting at 0
* Proper use of luaO_nilobjectBenoit Giannangeli2017-03-24
|
* lstate: Don't localise ldo.js fieldsdaurnimator2017-03-23
| | | | Doing so breaks due to circular dependencies
* No interning for nowBenoit Giannangeli2017-03-13
| | | | G.strt would have grown with each string
* String are represented by Array of 8-bit numbersBenoit Giannangeli2017-03-13
|
* string.charBenoit Giannangeli2017-03-06
|
* lstrlib, string.lenBenoit Giannangeli2017-03-05
|
* Bytecode generationBenoit Giannangeli2017-03-01
|
* coroutinesBenoit Giannangeli2017-02-23
|
* Tables are JS Maps, lua_nextBenoit Giannangeli2017-02-22
|
* Load std lib, can call printBenoit Giannangeli2017-02-17
|