Commit Graph

24 Commits

Author SHA1 Message Date
641aa878bb Add UserData generic everywhere 2026-03-21 20:16:00 +02:00
8a50965f2e Update how result_or_metamethod-functions work 2026-03-21 15:38:35 +02:00
76fa290988 Fix __eq 2026-03-21 15:27:29 +02:00
c37682aa19 Update display impl for value 2026-03-21 15:21:52 +02:00
3360f14913 Make tables indexable via pointer value 2026-03-21 15:21:04 +02:00
10bc804a01 Make tables indexable 2026-03-21 15:17:16 +02:00
ce3ee7a273 Separate metamethod errors from meta-metamethod errors 2026-03-21 15:07:35 +02:00
1811b91922 Fix __newindex metamethod, test __call 2026-03-21 14:59:26 +02:00
71c11e87e5 Add __call metamethod 2026-03-21 14:56:06 +02:00
875cfc1220 Add __newindex metamethod 2026-03-21 14:50:24 +02:00
90c3b90065 Add __index metamethod 2026-03-21 14:44:25 +02:00
6937c76a86 Add From str to IndexableValue 2026-03-20 22:41:39 +02:00
b4918e7312 Add better error messages to metamethods 2026-03-20 21:32:01 +02:00
239fc9a0f8 Add all metamethods 2026-03-20 21:22:52 +02:00
c919f3a6ea Add rudamentary metatables 2026-03-20 21:04:24 +02:00
5c4dbacaa7 Add calling metamethods 2026-03-20 20:45:51 +02:00
232a729fe2 Add metatable to Tables 2026-03-20 20:25:17 +02:00
4ac41e7df1 Clean up some code 2026-03-20 20:12:18 +02:00
8fe3ffc8e0 Fix concat 2026-03-20 19:28:49 +02:00
68da93541d Add all operators to VM properly 2026-03-20 19:18:52 +02:00
260963f7cd Add _ENV-table as special case for the VM 2026-03-20 18:32:50 +02:00
f12f3b629b Make environment a true table 2026-03-20 18:27:04 +02:00
56943d612a Move Constant to Value 2026-03-20 18:17:31 +02:00
2710a43bb2 Move value to vm/value 2026-03-20 18:16:07 +02:00