Commit Graph

16 Commits

Author SHA1 Message Date
2864c7be53 Minor refactoring, added OP_GETMETHOD
You can use ':' without invoking. So you can grab a method binding to an object and later call it. Also some GC bugs were fixed.

A new preprocessor macro (VM_DEBUG) has been added. Defining this macro will print each instruction thats being executed in the VM, as
well as print each call.
2021-01-16 15:40:58 -06:00
8cd0112c48 fixed __getter and __setter tables 2021-01-12 18:27:29 -06:00
ab86e19cfe Added ':' invoke operator
You're now forced to use ':' when calling a method on an object. Some of Lua's ideas really are just better in practice /shrug
2021-01-12 17:46:22 -06:00
ec3552a155 organized flags 2021-01-04 16:20:05 -06:00
7e9b61e018 minor refactor, fixed many warnings 2021-01-01 23:06:24 -06:00
f6aaeb3417 fixed typos 2020-12-19 13:32:43 -06:00
f8a062919f added cosmoM_addRoot & cosmoM_removeRoot 2020-12-07 15:53:23 -06:00
0745fd10a9 extended lexer, fixed table shrinking 2020-11-25 23:34:02 -06:00
85e7deae7b better support for OP_INCOBJECT 2020-11-20 14:50:43 -06:00
46b99ab390 minor refactoring, added inc and dec operators 2020-11-19 14:41:21 -06:00
7182f5ccd1 do GC before table array is allocated 2020-11-17 14:32:20 -06:00
1329b72fcd fixed GC bug 2020-11-17 03:10:55 -06:00
ffe4fc6930 disabled debug features by default 2020-11-12 17:02:12 -06:00
c42a72dfad Major refactoring, added classes, many bug fixes 2020-11-09 19:44:12 -06:00
fe93a0b715 better GC debugging, added base object for tables 2020-11-02 22:32:39 -06:00
2e1b745624 Initial commit 2020-10-28 00:16:30 -05:00