Commit Graph

78 Commits

Author SHA1 Message Date
Chris Wanstrath
e542070677 vm.set(), new VM(bytecode, globalVars) 2025-10-28 13:05:24 -07:00
97b6722a11 support roundtrip value conversions 2025-10-26 12:52:57 -07:00
e300946c48 throw real errors 2025-10-26 12:25:34 -07:00
bf6607d368 put builtin global functions into a higher scope 2025-10-26 08:53:51 -07:00
da61c1de50 isValue() 2025-10-26 08:24:58 -07:00
d359d6e27d even more 2025-10-25 20:34:30 -07:00
eb128ec831 share more 2025-10-25 20:27:38 -07:00
286d5ff943 slightly better error message 2025-10-25 20:07:10 -07:00
aa8ecb7cf6 VM constructor also accepts valueFunctions 2025-10-25 19:00:12 -07:00
bbdfcdb54a regexp is valid now 2025-10-25 15:53:07 -07:00
17d846b999 more repl support 2025-10-25 09:48:17 -07:00
1fb5effb0a add REPL support 2025-10-25 09:10:43 -07:00
937861e27b export OpCode 2025-10-25 08:22:50 -07:00
46829df28b TypeScriptFunction, more exports 2025-10-25 07:55:58 -07:00
e1e7cdf1ef vm.call() native functions too 2025-10-24 16:25:55 -07:00
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
995487f2d5 varadic args are always last in javascript 2025-10-23 11:15:02 -07: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
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
df9af925d3 STR_CONCAT #n 2025-10-14 12:14:27 -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
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
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