217 Commits

Author SHA1 Message Date
Andrew Morris
9b84429a9d Clippy fixes 2024-07-24 15:54:20 +09:00
Andrew Morris
9c6280c7fa as_any for StackFrameTrait 2024-07-19 20:25:57 +09:00
Andrew Morris
29c028ec6f Allow direct access to call_result 2024-07-19 14:06:05 +09:00
Andrew Morris
c7a57daa84 Use Any with StackFrameTrait 2024-07-19 11:50:03 +09:00
Andrew Morris
3a07337e46 Add Clone, Copy, Eq to VsType 2024-07-19 10:37:14 +09:00
Andrew Morris
4de719893e Panic if catch_exception is called incorrectly 2024-07-18 16:58:44 +09:00
Andrew Morris
00ec3c1046 Skip frames that can't catch exceptions without mutating them 2024-07-18 16:49:17 +09:00
Andrew Morris
c42c2f4e5b Publish more things 2024-07-17 17:11:33 +09:00
Andrew Morris
c356e287f5 Publish native_function, native_frame_function 2024-07-17 17:07:11 +09:00
Andrew Morris
7894bea70a Publish internal_error_builtin 2024-07-17 16:38:54 +09:00
Andrew Morris
f1fa9be0b6 Publish FirstStackFrame 2024-07-17 16:35:21 +09:00
Andrew Morris
552f3a426a Publish stack frame things 2024-07-17 16:31:58 +09:00
Andrew Morris
658b90ddd7 Publish BUILTIN_VALS 2024-07-17 16:25:27 +09:00
Andrew Morris
a35fd06fce Move some things into utils.rs 2024-07-17 15:09:39 +09:00
Andrew Morris
7fb6e8c241 Make unary op copyable 2024-07-17 12:26:21 +09:00
Andrew Morris
79f54c2027 Add PartialEq, Eq to op enums 2024-07-17 10:27:49 +09:00
Andrew Morris
357c31f117 Supply input val to override_unary_op 2024-07-17 10:12:34 +09:00
Andrew Morris
27115c3e24 Enable right side to override binary ops 2024-07-17 10:07:21 +09:00
Andrew Morris
731e34c99e Forward op overrides in Val 2024-07-17 09:55:34 +09:00
Andrew Morris
0bbf100eb2 cargo clippy --fix 2024-07-16 11:22:12 +09:00
Andrew Morris
e62cebbcb1 Add clone, debug to op enums 2024-07-16 11:18:47 +09:00
Andrew Morris
1adfacf00c Publish error and type_error builtins 2024-07-15 14:45:04 +09:00
Andrew Morris
01c41c5b5b Expose BinaryOp, UnaryOp 2024-07-15 13:01:47 +09:00
Andrew Morris
9a105c44c1 Enable op overrides 2024-07-15 12:58:02 +09:00
Andrew Morris
f866fb1c7f Fix unicode rendering, handle checked attribute, string escaping, array rendering 2024-03-01 14:45:50 +11:00
Andrew Morris
131ebcc0f9 Implement special behavior for style attribute 2024-03-01 12:03:21 +11:00
Andrew Morris
06735e26b0 Add jsx example to playground 2024-03-01 11:18:00 +11:00
Andrew Morris
7cb9e7d720 Implement jsx responses 2024-03-01 10:28:23 +11:00
Andrew Morris
4cb49dc81c Fix nested jsx pretty printing 2024-02-29 19:03:56 +11:00
Andrew Morris
30c5a52de7 Implement jsx instruction 2024-02-29 17:54:11 +11:00
Andrew Morris
7915db4689 Add jsx instruction 2024-02-29 11:01:41 +11:00
Andrew Morris
6949a52c9a Basic webserver with no request body 2023-12-29 14:36:49 +11:00
Andrew Morris
b21da6f556 Implement read cache for bytecode 2023-12-21 13:55:03 +11:00
Andrew Morris
63798c49cd Implement read cache for Val 2023-12-21 12:58:43 +11:00
Andrew Morris
1c04e92753 Implement delete 2023-12-18 15:11:18 +11:00
Andrew Morris
62108d1a49 Implement void, add delete instruction 2023-12-18 13:47:10 +11:00
Andrew Morris
5d5ef2624b More console functionality 2023-11-05 14:08:20 +10:00
Andrew Morris
9dee5505fb Avoid unnecessary tranasctions, fix ptr indirection 2023-11-02 23:25:07 +11:00
Andrew Morris
28d2f73084 Remove unused lifetime parameters 2023-11-02 22:41:58 +11:00
Andrew Morris
89a7b3d842 GenericError 2023-11-02 22:35:18 +11:00
Andrew Morris
09aca51a9f Rename StorageTx -> StorageReader 2023-11-02 17:40:19 +11:00
Andrew Morris
3f70148110 Remove unnecessary option wrapper for object prototype 2023-11-02 15:13:58 +11:00
Andrew Morris
b778359e8b Non-mut storage operations 2023-11-02 14:07:41 +11:00
Andrew Morris
e9b55b2bca db_call (doesn't work yet) 2023-11-02 12:39:33 +11:00
Andrew Morris
e7c4d680a4 db_new apparently works (untested) 2023-11-02 12:23:40 +11:00
Andrew Morris
32358b2dd6 Simplify vm.run 2023-11-02 11:36:25 +11:00
Andrew Morris
537fd0800f Use StorageAutoPtr to make VsStoragePtr work 2023-11-01 17:05:25 +11:00
Andrew Morris
4868b5929c Simplify StorageEntryReader+Writer 2023-11-01 11:41:42 +11:00
Andrew Morris
e578385b26 Fix most storage unwraps 2023-11-01 10:50:02 +11:00
Andrew Morris
23fb576fd2 StorageError 2023-11-01 10:08:55 +11:00