summaryrefslogtreecommitdiff
path: root/src/lstate.js
Commit message (Collapse)AuthorAge
* 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
|
* More accurate state and closure initBenoit Giannangeli2017-02-17
|
* Everything need to make luaL_newstate work, lua_pushnil testBenoit Giannangeli2017-02-15
|
* Implementing minimal path from main to luaV_execute of user scriptBenoit Giannangeli2017-02-15
|
* Better use of module to avoid cyclic dependencies issuesBenoit Giannangeli2017-02-13
|
* Fixed bad tailcall, _ENV is a closed upvalueBenoit Giannangeli2017-02-11
|
* UpvaluesBenoit Giannangeli2017-02-10
|
* callstatus, OP_LE, OP_JMP, tests use L.topBenoit Giannangeli2017-02-08
|
* First CallInfo expects LUA_MULTRET resultsBenoit Giannangeli2017-02-07
|
* postcall and precallBenoit Giannangeli2017-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.
* Fixed bad use of L.topBenoit Giannangeli2017-02-05
|