Commit Graph

62 Commits

Author SHA1 Message Date
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
b58f848a65 convert native exceptions to shrimp exceptions 2025-10-29 15:07:59 -07:00
030eb74871 mark functions as raw=true to deal with Value directly 2025-10-29 13:10:05 -07:00
052f989e82 fix nested globals 2025-10-28 22:59:51 -07:00
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
d50b143c9d cough cough 2025-10-26 12:27:02 -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
17d846b999 more repl support 2025-10-25 09:48:17 -07:00
1fb5effb0a add REPL support 2025-10-25 09:10:43 -07:00
e1e7cdf1ef vm.call() native functions too 2025-10-24 16:25:55 -07:00
f79fea33c5 more native named arg tests 2025-10-24 11:00:02 -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
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
4d2ae1c9fe tmp change - LOAD_NATIVE 2025-10-17 12:35:38 -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
2be87c381d Add test 2025-10-16 13:42:05 -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
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
0bb0af6c1e ok 2025-10-08 10:01:35 -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
060fa064fe add array bytecode API 2025-10-07 12:53:40 -07:00
c848ee0216 validator! 2025-10-06 09:55:30 -07:00
078fc37a02 no kwargs 2025-10-05 22:34:07 -07:00
d8e97c0f20 test examples 2025-10-05 22:24:46 -07:00
ec2b1a9b22 test examples 2025-10-05 22:24:43 -07:00
8c187a89aa examples 2025-10-05 21:29:30 -07:00
db4f332472 variadic and named args 2025-10-05 21:07:36 -07:00
e75d119ba8 rest args 2025-10-05 20:52:48 -07:00
f18e014d3e named 2025-10-05 20:43:17 -07:00
0e387fcfe1 no continue, just JUMP 2025-10-05 20:22:03 -07:00
8754afb536 BREAK 2025-10-05 20:08:00 -07:00
4b3c9e8bfc update tests 2025-10-05 19:56:56 -07:00
8198c555ac add MAKE_FUNCTION to bytecode text format 2025-10-05 19:50:01 -07:00
45e4c29df4 tail calls 2025-10-05 19:07:28 -07:00