Commit Graph

105 Commits (76accd1930841bcfa4fcbc031f2672432c3ee042)

Author SHA1 Message Date
Dibyendu Majumdar 76accd1930 Update copyright notices
4 years ago
Dibyendu Majumdar 99d9fcbdd2 issue #98 make the normal parser consistent with the new typechecker
5 years ago
Dibyendu Majumdar b2120b97cc issue #98 implement type checks for binary operators
5 years ago
Dibyendu Majumdar 08157b102c issue #157 rename bytecodes
6 years ago
Dibyendu Majumdar 5e552ab4a7 issue #157 more renaming of bytecodes
6 years ago
Dibyendu Majumdar 489e118012 issue #157 more renaming of bytecodes
6 years ago
Dibyendu Majumdar 21028d833b issue #157 more renaming of op codes
6 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 7041827d53 issue #157 rename the array get/set op codes
6 years ago
Dibyendu Majumdar eec9a49414 issue #157: rename GETTABLE_SK and SETTABLE_SK opcodes
6 years ago
Dibyendu Majumdar d4d679bb3c issue #156
6 years ago
Dibyendu Majumdar ef66365b5d issue #148 fix bad code gen for OP_RAVI_SELF_S
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 e740cc73cc issue #136 allow nil to be assigned
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 d3f821c59a issue #136 wip
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 03485223ed change GETTABLE_I to work on objects that may not be tables
7 years ago
Dibyendu Majumdar 1728f0bded missed opportunity to specialize a GETTABUP operation
7 years ago
Dibyendu Majumdar 20e29c68cf issue #127 IDIV applied on doubles does not yield integer values
7 years ago
Dibyendu Majumdar 3470206d93 issue #127 IDIV operation should cause result type to be marked as integer type when type checking
7 years ago
Dibyendu Majumdar 77e2f6268d issue #119
7 years ago
Dibyendu Majumdar 0f089b6b92 issue #119
7 years ago
Dibyendu Majumdar 9c13946790 bytecode reference
8 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 b48a0965e4 issue #100 generate calls to specialized functions for string keys when operand of OP_SELF is known to be a short string
8 years ago
Dibyendu Majumdar 9895f2879c initial work on issue #100
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 762ab319f5 issue #76 type assertions
9 years ago
Dibyendu Majumdar b23e0eab16 issue #76 type assertions
9 years ago
Dibyendu Majumdar a2781d079c issue #76 type assertions
9 years ago
Dibyendu Majumdar 38f25882b6 issue #76 type assertion work in progress
9 years ago
Dibyendu Majumdar 63608c2c54 issue #76 work in progress
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 852cfee3da issue #71 add specialised bytecode for method calls when type is table and key is short string
9 years ago
Dibyendu Majumdar 1d750895bf issue #64 bnot_i issue on win32
9 years ago
Dibyendu Majumdar 7db1eee15b issue #60 improve parsing of table get access with short strings
9 years ago
Dibyendu Majumdar 085f035917 issue #61 more tests
9 years ago
Dibyendu Majumdar c4c8dad5b5 issue #61 fix bug in compilation
9 years ago
Dibyendu Majumdar f04c5febd6 issue #60 JIT compile GETTABLE_S
9 years ago
Dibyendu Majumdar 1362b6dc6d issue #60 more work on implementing specialized bytecode for table get/set
9 years ago
Dibyendu Majumdar 55df8ea9cd issue #60 explore further optimization of table operations
9 years ago