Commit Graph

145 Commits

Author SHA1 Message Date
797eb281cb vm.call(name, ...args) 2025-10-24 10:53:00 -07:00
91d3eb43e4 Call Reef closures inside native functions 2025-10-24 10:26:18 -07:00
eb4f103ba3 Merge pull request 'Varadic args are always last in javascript' (#3) from varadic-and-named into main
Reviewed-on: defunkt/ReefVM#3
2025-10-23 20:30:23 +00:00
995487f2d5 varadic args are always last in javascript 2025-10-23 11:15:02 -07:00
a885a59140 Merge pull request 'Make TRY_CALL work with native functions AND a debug helper' (#2) from TRY_CALL into main
Reviewed-on: defunkt/ReefVM#2
2025-10-21 01:53:39 +00:00
47f829fcad A 100% AI written debug function 2025-10-20 09:31:19 -07:00
7f4f73dd41 TRY_CALL recognizes native functions 2025-10-20 09:31:01 -07:00
fa55eb7170 @named in native functions 2025-10-17 14:05:12 -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
93eff53a76 just native, <function> 2025-10-17 12:39:14 -07:00
4d2ae1c9fe tmp change - LOAD_NATIVE 2025-10-17 12:35:38 -07:00
62f890e59d don't be cute 2025-10-17 12:13:28 -07:00
1a18a713d7 DOT_GET 2025-10-16 15:51:38 -07:00
b16351ac95 pass native functions to VM 2025-10-16 15:16:57 -07:00
23fcf05439 split up tests some 2025-10-16 14:35:24 -07:00
e5be82e75a regexp tests 2025-10-16 14:27:39 -07:00
dd9ec2a7d1 Merge pull request 'Add regex to reef' (#1) from regex into main
Reviewed-on: defunkt/ReefVM#1
2025-10-16 21:15:42 +00:00
fa7589293a Update bytecode.ts 2025-10-16 14:13:39 -07:00
1bc46045ba Update value.ts 2025-10-16 14:09:19 -07:00
2be87c381d Add test 2025-10-16 13:42:05 -07:00
f630d7934a Update value.ts 2025-10-16 13:04:38 -07:00
cabdc15253 Update index.ts 2025-10-16 10:25:53 -07:00
b7cc0fc064 Update value.ts 2025-10-16 09:55:10 -07:00
82d727cc74 Update value.ts 2025-10-16 09:54:48 -07:00
77f86ce829 Update value.ts 2025-10-16 09:53:59 -07:00
79f449bc6c Update value.ts 2025-10-16 09:53:38 -07:00
4a5618e900 Update value.ts 2025-10-16 09:53:05 -07:00
f3759c2259 Add regexes 2025-10-16 09:35:50 -07:00
0844e99d2d fix for using named positional args 2025-10-14 12:32:19 -07:00
Chris Wanstrath
4898a6bb5a failing function test 2025-10-14 12:23:24 -07:00
Chris Wanstrath
173fd28d6f simplify 2025-10-14 12:19:49 -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
81973541af Modern way to do exports (works with bun workspaces) 2025-10-10 15:33:30 -07:00
Chris Wanstrath
ae0fa40261 calm yourself 2025-10-10 14:28:38 -07:00
Chris Wanstrath
43842adc87 TRY_CALL 2025-10-10 14:21:43 -07:00
Chris Wanstrath
8975bb91bd fix validator 2025-10-10 14:02:49 -07:00
Chris Wanstrath
e1b45452f6 toJs => fromValue 2025-10-10 10:07:21 -07:00
0bb0af6c1e ok 2025-10-08 10:01:35 -07:00
80183653f4 ts is trying to narrow the type too hard 2025-10-08 10:01:06 -07:00
78923b3eff more natural native functions 2025-10-08 09:57:49 -07:00
146b0a2883 autocompleter 2025-10-07 22:01:22 -07:00
ec53a6420e add REPL 2025-10-07 22:01:18 -07:00
fd447abea8 TRY_LOAD opcode 2025-10-07 22:01:13 -07:00
Chris Wanstrath
27857bfae8 add emoji support 2025-10-07 16:18:44 -07:00
Chris Wanstrath
4e2869ebd9 remove old file 2025-10-07 12:57:47 -07:00
Chris Wanstrath
c4bd5219f8 adding a new opcode 2025-10-07 12:56:55 -07:00
Chris Wanstrath
060fa064fe add array bytecode API 2025-10-07 12:53:40 -07:00
Chris Wanstrath
3c97039faf ignore dev dir 2025-10-06 15:55:55 -07:00