Commit Graph

111 Commits (3b09a22e96a13d6dad37fb9bd828aedff77f29a6)

Author SHA1 Message Date
Dibyendu Majumdar 3b09a22e96 issue #204 Code reorg
3 years ago
Dibyendu Majumdar bf2f55eece issue #163 Do not generate TAILCALL opcode if a defer closure is in scope; back-ported from Lua 5.4.
4 years ago
Dibyendu Majumdar 062550b84d issue #196 backport generational GC from Lua 5.4
4 years ago
Dibyendu Majumdar b8af71583d issue #163 'defer' implementation now controlled via RAVI_DEFER_STATEMENT macro. This allows testing of performance with and without the 'defer' statement
4 years ago
Dibyendu Majumdar 76accd1930 Update copyright notices
4 years ago
Dibyendu Majumdar 51eeb4e8c2 issue #163 simplify defer statement and fix memory leak
4 years ago
Dibyendu Majumdar edce55b997 issue #163 Base must be protected as luaF_close can now reallocate stack due to invocation of deferred functions
4 years ago
Dibyendu Majumdar 9a0ced9620 issue #163 First attempt to implement a Go like defer statement
4 years ago
Dibyendu Majumdar 31f4e178ee issue #157 more opcode renaming
6 years ago
Dibyendu Majumdar fc6929aa58 issue #157 more opcode renaming
6 years ago
Dibyendu Majumdar d4d679bb3c issue #156
6 years ago
Dibyendu Majumdar 9f3043dcc9 reduce compiler noise (warnings)
6 years ago
Dibyendu Majumdar 471280ca3a tech debt compiler warnings
6 years ago
Dibyendu Majumdar a3fdf76103 issue #98 refactoring and start on value types
6 years ago
Dibyendu Majumdar f9793dc527 issue #136 added support for user defined type names to have '.' in them
6 years ago
Dibyendu Majumdar 64a6a2372b issue #146 Currently Ravi's code generator assumes that #operator returns an integer value, but if user has set a metamethod for __len the operator# might return a non-integer value. This issue came to light when testing lpeg, which redefines #operator to return userdata objects. We now try to only expect integer values when # is used in fornum loops, or applied to table or array. Additionally unless the target is an array, we also emit a TOINT opcode to validate at runtime that the value in integer type
6 years ago
Dibyendu Majumdar b2c6c8ebd4 fix a bug in issue #136 implementation and add experimental support for computed gotos in the VM
7 years ago
Dibyendu Majumdar c96483431f issue #136 more type checking
7 years ago
Dibyendu Majumdar 1e23abbbff issue #136 more type checking
7 years ago
Dibyendu Majumdar daf2b8bfe9 issue #136 wip
7 years ago
Dibyendu Majumdar 5e03430d7d issue #136 additional type assertions
7 years ago
Dibyendu Majumdar ac064238bd remove unused code
7 years ago
Dibyendu Majumdar 77e2f6268d issue #119
7 years ago
Dibyendu Majumdar 0f089b6b92 issue #119
7 years ago
Dibyendu Majumdar 46a2282f3f issue #111 Lua 5.3.3 bug fixes
8 years ago
Dibyendu Majumdar cd0150e08e issue #100
8 years ago
Dibyendu Majumdar e91538b54b issue #89 add support for 32-bit numbers
8 years ago
Dibyendu Majumdar 2213f866a6 issue #86 start new attempt to merge 5.3.3
8 years ago
Dibyendu Majumdar 25a5fb3c9e issue #86 merge reverted due to bug - to be fixed in the branch first
8 years ago
Dibyendu Majumdar 86a2adb4f7 issue #86: merge Lua 5.3.3
8 years ago
Dibyendu Majumdar 5dc495720f the previous change related to module sharing between functions appears to have introduced memory leak - caught by asan; also apply fixes discussed in Lua mailing list
8 years ago
Dibyendu Majumdar c47f132349 use new approach to locate OP_NEWTABLE when checking types of assignments to local variables
8 years ago
Dibyendu Majumdar 762ab319f5 issue #76 type assertions
9 years ago
Dibyendu Majumdar b23e0eab16 issue #76 type assertions
9 years ago
Dibyendu Majumdar aa453e0aae issue #76: work on type assertion
9 years ago
dibyendumajumdar 49b4f8840f merge 5.3.2 rc2
9 years ago
Dibyendu Majumdar 085f035917 issue #61 more tests
9 years ago
Dibyendu Majumdar d7a8aab035 issue #62 if table local is not initialized then raise error
9 years ago
Dibyendu Majumdar 7c037ec330 issue #62 if integer[] or number[] local is not initialized then raise error
9 years ago
Dibyendu Majumdar f04c5febd6 issue #60 JIT compile GETTABLE_S
9 years ago
Dibyendu Majumdar 55df8ea9cd issue #60 explore further optimization of table operations
9 years ago
Dibyendu Majumdar 8b4ca1648a fix issue #52 type determination of 'and' and 'or' operators
9 years ago
Dibyendu Majumdar b884681ee9 syntactic support for declaring additional Lua types
9 years ago
Dibyendu Majumdar 21b305b8be syntactic support for declaring additional Lua types
9 years ago
Dibyendu Majumdar 5491d88c1f refactor
9 years ago
Dibyendu Majumdar d80fe78b1c fix compilation error for forloop variant 1
9 years ago
Dibyendu Majumdar 71e651c05e remove a number of numeric op codes
9 years ago
Dibyendu Majumdar 3b237e9c7f refactor
9 years ago
Dibyendu Majumdar b48d665305 refactor
9 years ago
Dibyendu Majumdar 3632edec45 refactor and fix memory bug (root cause of intermittent test failures on Windows?)
9 years ago