aboutsummaryrefslogtreecommitdiff
path: root/src/lobject.js
Commit message (Collapse)AuthorAge
* src/: Use .subarray instead of .slice (optimisation)daurnimator2017-12-13
|
* Use Uint8Array to back stringsdaurnimator2017-12-13
|
* Introduce defs.string_of to create string from bytesdaurnimator2017-12-13
|
* src/lobject.js: Build string in js rather than appending to lua stringdaurnimator2017-12-13
|
* src/: Use to_luastring more often instead of manually creating arraysdaurnimator2017-12-13
|
* src/: Have luaO_str2num fill in passed TValue and return lengthdaurnimator2017-12-12
|
* src/lobject.js: Have luaO_pushvfstring respect null as terminator for %sdaurnimator2017-12-12
|
* src/{llex,lobject}.js: Fix luaO_utf8esc/luaO_utf8desc confusiondaurnimator2017-12-11
|
* Merge branch 'object-ids'daurnimator2017-12-10
|\
| * src/lobject.js: Add undefined as pointer form of void 0daurnimator2017-12-10
| |
| * src/lobject.js: Give functions and objects idsdaurnimator2017-12-10
| |
| * src/lobject.js: Add ids in the form of JS constructors for primitivesdaurnimator2017-12-10
| |
* | src/: Fix some linter complaintsdaurnimator2017-12-10
|/
* src/lobject.js: Add try/catch around to_jsstring call in number coercionsdaurnimator2017-11-12
|
* Removed incorrect use of llimits.MAX/MIN_INTBenoit Giannangeli2017-11-09
| | | | llimit.js is renamed to llimits.js
* Move jshint config to package.jsondaurnimator2017-08-18
|
* src/lobject.js: Remove .slice operations from lua_strx2numberdaurnimator2017-06-01
|
* src/lobject.js: Remove .slice operations from l_str2intdaurnimator2017-06-01
|
* long source chunkid must be truncated from the endBenoit Giannangeli2017-05-31
|
* src/lfunc.js: Give UpVals an id fielddaurnimator2017-05-29
| | | | | This way they have an id when printed via %p. e.g. `debug.upvalueid(function() print() end, 1)`
* luaO_tostring should modify TValuedaurnimator2017-05-29
|
* Merge remote-tracking branch 'daurnimator/stack-modification-work' into ↵Benoit Giannangeli2017-05-28
|\ | | | | | | test-suite
| * Modify stack values up to L.top instead of replacingdaurnimator2017-05-27
| |
| * src/lobject.js: Introduce TValue.set*value for missing typesdaurnimator2017-05-27
| |
| * Introduce chgfltvalue and chgivaluedaurnimator2017-05-27
| |
| * Introduce setsvalue2sdaurnimator2017-05-27
| |
| * Introduce setobj2sdaurnimator2017-05-27
| |
| * Introduce setobjs2sdaurnimator2017-05-27
| |
* | luaT_trybinTM in luaO_arith needs a stack indexBenoit Giannangeli2017-05-27
|/
* src/lobject.js: don't convert operands to numbers if first branch failsdaurnimator2017-05-24
|
* Implement %p specifier in luaO_pushvfstringdaurnimator2017-05-24
| | | | Move hacks out of luaL_tolstring
* Give userdata objects a classdaurnimator2017-05-24
| | | | This way their type can be checked via `instanceof`
* src/lobject.js: Don't assume LUA_COMPAT_FLOATSTRINGdaurnimator2017-05-23
|
* Add luaD_inctop calls where appropriatedaurnimator2017-05-23
|
* Introduce luaO_tostringdaurnimator2017-05-23
|
* Add luaD_checkstack callsdaurnimator2017-05-22
|
* src/lobject.js: MAXBY10 should be lower integer bounddaurnimator2017-05-22
|
* Use Math.imul when multiplying integersdaurnimator2017-05-22
|
* src/lobject.js: Fix luaO_chunkid to actually return a short source namedaurnimator2017-05-21
|
* src/lobject.js: missing semicolondaurnimator2017-05-21
|
* src/lobject.js: parseFloat ignores trailing junk, validate with regex firstdaurnimator2017-05-21
|
* src/lobject.js: our lua_strx2number returns null on failuredaurnimator2017-05-21
|
* src/lobject.js: Check that there is no trailing junk from lua_strx2numberdaurnimator2017-05-21
| | | | Also stop adding trailing null byte in llex.js
* Centralise integer mod and div operations to luaV_mod and luaV_divdaurnimator2017-05-21
|
* Use same mod operator behaviour from both lvm.js and lobject.jsdaurnimator2017-05-21
|
* shifts have different semantics to JS, use add luaV_shiftldaurnimator2017-05-21
|
* src/lobject.js: l_str2int - keep numbers in representable rangedaurnimator2017-05-21
|
* Use >>> instead of >>Benoit Giannangeli2017-05-20
|
* src/lobject.js: Fix floating point mod operationdaurnimator2017-05-18
| | | | Closes #54
* src/lobject.js: IDIV is floor divisiondaurnimator2017-05-16
|