Commit Graph

28 Commits

Author SHA1 Message Date
b2a6021fb8 require labels for JUMP opcodes to avoid compiler bugs 2025-11-09 22:18:10 -08:00
3e2e68b31f Passing NULL to a function triggers its default value 2025-11-08 10:53:38 -08:00
f439c25742 add TYPE opcode 2025-11-08 00:01:21 -08:00
15884ac239 add bitwise operators 2025-11-07 22:51:28 -08:00
4b2fd61554 SWAP opcode 2025-10-29 20:37:09 -07:00
c69b172c78 ADD: error checking 2025-10-29 16:03:26 -07:00
ba8376e2c3 dicts, too 2025-10-29 15:28:34 -07:00
956fd576f8 ADD concats arrays too 2025-10-29 15:25:37 -07:00
9618dd6414 ADD now concats strings, too 2025-10-29 15:20:28 -07:00
Chris Wanstrath
e542070677 vm.set(), new VM(bytecode, globalVars) 2025-10-28 13:05:24 -07:00
1cf14636ff add named args to native functions 2025-10-17 13:11:47 -07:00
fe7586a5fa simpler native functions 2025-10-17 12:48:16 -07:00
1a18a713d7 DOT_GET 2025-10-16 15:51:38 -07:00
Chris Wanstrath
df9af925d3 STR_CONCAT #n 2025-10-14 12:14:27 -07:00
82e7b181ec I think we need the #2 in there? 2025-10-10 15:33:41 -07:00
Chris Wanstrath
43842adc87 TRY_CALL 2025-10-10 14:21:43 -07:00
fd447abea8 TRY_LOAD opcode 2025-10-07 22:01:13 -07:00
ec2b1a9b22 test examples 2025-10-05 22:24:43 -07:00
0270424f9b update spec 2025-10-05 21:36:48 -07:00
0a7a3dcfdb update spec 2025-10-05 21:09:56 -07:00
db4f332472 variadic and named args 2025-10-05 21:07:36 -07:00
c0ef5f55eb no continue 2025-10-05 20:26:21 -07:00
0e387fcfe1 no continue, just JUMP 2025-10-05 20:22:03 -07:00
4608ec7b9e update bytecode text language 2025-10-05 18:37:06 -07:00
0a4e6ceef6 finally blocks 2025-10-05 17:59:02 -07:00
6f6ddcea89 ARRAY_PUSH 2025-10-05 15:32:49 -07:00
499584c5fe add... a lot 2025-10-05 15:21:51 -07:00
d6aec409f0 spec 2025-10-05 13:54:49 -07:00