Commit Graph

11 Commits

Author SHA1 Message Date
7c5d2f6b65 minor CTable refactoring 2023-08-25 19:57:16 -05:00
6056f8eb5b added clang-format 2023-02-09 12:32:48 -06:00
3890c9dd1e Refactored cosmoO_equals
This sets up room for the '__equal' metamethod to be added

- cosmoO_equals now requires the state to be passed
- cosmoV_equals now requires the state to be passed
- cosmoT_get now requires the state to be passed
2021-02-19 17:04:23 -06:00
c510c9aebf Minor table refactor, added cosmoV_compileString and loadstring() to baselib
cosmoV_compileString is recommended since it'll push the result (<error> or <closure>) onto the stack.

also, fixed some GC-related bugs, so yay!
2021-01-10 14:38:53 -06:00
f0b666f623 better README 2021-01-08 23:53:02 -06:00
c5bd0c2478 More performant OP_GETOBJECT & OP_SETOBJECT
constant indexes are now embedded in the instruction
2021-01-07 17:19:17 -06:00
7e9b61e018 minor refactor, fixed many warnings 2021-01-01 23:06:24 -06:00
08c640cd58 added # operator, improved error messages 2020-11-30 12:32:04 -06:00
46b99ab390 minor refactoring, added inc and dec operators 2020-11-19 14:41:21 -06:00
1329b72fcd fixed GC bug 2020-11-17 03:10:55 -06:00
2e1b745624 Initial commit 2020-10-28 00:16:30 -05:00