Commit Graph

  • ae82029f0d Invalidate releases when optimizer inserts registers main Andrew Morris 2024-07-25 11:27:07 +09:00
  • 77882f0d0a Add failing test Andrew Morris 2024-07-24 15:58:30 +09:00
  • 9b84429a9d Clippy fixes Andrew Morris 2024-07-24 15:54:20 +09:00
  • 9c6280c7fa as_any for StackFrameTrait Andrew Morris 2024-07-19 20:25:57 +09:00
  • 29c028ec6f Allow direct access to call_result Andrew Morris 2024-07-19 14:06:05 +09:00
  • c7a57daa84 Use Any with StackFrameTrait Andrew Morris 2024-07-19 11:50:03 +09:00
  • 3a07337e46 Add Clone, Copy, Eq to VsType Andrew Morris 2024-07-19 10:37:14 +09:00
  • 4de719893e Panic if catch_exception is called incorrectly Andrew Morris 2024-07-18 16:58:44 +09:00
  • 00ec3c1046 Skip frames that can't catch exceptions without mutating them Andrew Morris 2024-07-18 16:49:17 +09:00
  • c42c2f4e5b Publish more things Andrew Morris 2024-07-17 17:11:33 +09:00
  • c356e287f5 Publish native_function, native_frame_function Andrew Morris 2024-07-17 17:07:11 +09:00
  • 7894bea70a Publish internal_error_builtin Andrew Morris 2024-07-17 16:38:54 +09:00
  • f1fa9be0b6 Publish FirstStackFrame Andrew Morris 2024-07-17 16:35:21 +09:00
  • 552f3a426a Publish stack frame things Andrew Morris 2024-07-17 16:31:58 +09:00
  • 658b90ddd7 Publish BUILTIN_VALS Andrew Morris 2024-07-17 16:25:27 +09:00
  • a35fd06fce Move some things into utils.rs Andrew Morris 2024-07-17 15:09:39 +09:00
  • 7fb6e8c241 Make unary op copyable Andrew Morris 2024-07-17 12:26:21 +09:00
  • 79f54c2027 Add PartialEq, Eq to op enums Andrew Morris 2024-07-17 10:27:49 +09:00
  • 357c31f117 Supply input val to override_unary_op Andrew Morris 2024-07-17 10:12:34 +09:00
  • 27115c3e24 Enable right side to override binary ops Andrew Morris 2024-07-17 10:07:21 +09:00
  • 731e34c99e Forward op overrides in Val Andrew Morris 2024-07-17 09:55:34 +09:00
  • 0bbf100eb2 cargo clippy --fix Andrew Morris 2024-07-16 11:22:12 +09:00
  • e62cebbcb1 Add clone, debug to op enums Andrew Morris 2024-07-16 11:18:47 +09:00
  • 1adfacf00c Publish error and type_error builtins Andrew Morris 2024-07-15 14:45:04 +09:00
  • 01c41c5b5b Expose BinaryOp, UnaryOp Andrew Morris 2024-07-15 13:01:47 +09:00
  • 9a105c44c1 Enable op overrides Andrew Morris 2024-07-15 12:58:02 +09:00
  • ea9e16b4cb Ignore vsdb files when testing Andrew Morris 2024-03-01 15:27:16 +11:00
  • 38ec6cc6d9 Add todoApp Andrew Morris 2024-03-01 15:23:19 +11:00
  • f866fb1c7f Fix unicode rendering, handle checked attribute, string escaping, array rendering Andrew Morris 2024-03-01 14:45:50 +11:00
  • 6d83ec2079 Fix get_span_text unicode bug Andrew Morris 2024-03-01 12:19:12 +11:00
  • 131ebcc0f9 Implement special behavior for style attribute Andrew Morris 2024-03-01 12:03:21 +11:00
  • 5765983351 Render jsx output Andrew Morris 2024-03-01 11:33:04 +11:00
  • 06735e26b0 Add jsx example to playground Andrew Morris 2024-03-01 11:18:00 +11:00
  • 7cb9e7d720 Implement jsx responses Andrew Morris 2024-03-01 10:28:23 +11:00
  • b6baaf7319 Fix overwriting state with undefined on exceptions Andrew Morris 2024-03-01 10:10:19 +11:00
  • add823ca55 Fix test Andrew Morris 2024-03-01 10:01:03 +11:00
  • 14c4d3cb37 Workaround swc double line break bug Andrew Morris 2024-02-29 19:22:22 +11:00
  • 4cb49dc81c Fix nested jsx pretty printing Andrew Morris 2024-02-29 19:03:56 +11:00
  • 30c5a52de7 Implement jsx instruction Andrew Morris 2024-02-29 17:54:11 +11:00
  • 190591defa Compile jsx expressions Andrew Morris 2024-02-29 14:54:11 +11:00
  • 7915db4689 Add jsx instruction Andrew Morris 2024-02-29 11:01:41 +11:00
  • e249776a10 Clear read cache Andrew Morris 2024-02-29 10:04:13 +11:00
  • 7368453a2e Use actor to avoid re-opening the db for every request Andrew Morris 2024-02-28 18:36:42 +11:00
  • ea61799b5c Split out db_host Andrew Morris 2024-02-28 12:07:28 +11:00
  • a540b8a02e Fix website build Andrew Morris 2024-02-28 11:03:35 +11:00
  • 2f68a96dcd It works! Andrew Morris 2023-12-29 16:18:27 +11:00
  • 82934f21f6 wip (why is it hard to get the body in actix-web?) Andrew Morris 2023-12-29 15:31:51 +11:00
  • 6949a52c9a Basic webserver with no request body Andrew Morris 2023-12-29 14:36:49 +11:00
  • f38b5d331a wip: db host subcommand Andrew Morris 2023-12-21 15:34:26 +11:00
  • b21da6f556 Implement read cache for bytecode Andrew Morris 2023-12-21 13:55:03 +11:00
  • 63798c49cd Implement read cache for Val Andrew Morris 2023-12-21 12:58:43 +11:00
  • 299b986638 Update test Andrew Morris 2023-12-18 15:18:17 +11:00
  • 1c04e92753 Implement delete Andrew Morris 2023-12-18 15:11:18 +11:00
  • 8b2d880c6a Compile (but not run) delete expressions Andrew Morris 2023-12-18 14:31:07 +11:00
  • 62108d1a49 Implement void, add delete instruction Andrew Morris 2023-12-18 13:47:10 +11:00
  • 339e65788c Add failing test Andrew Morris 2023-12-18 12:50:25 +11:00
  • 36d0e376da Enable autofix Andrew Morris 2023-12-18 12:46:30 +11:00
  • a1e1b484fc Use lines array, undefined means, stop, update example Andrew Morris 2023-11-05 15:52:32 +10:00
  • eb4c1828f2 Provide screen dimensions Andrew Morris 2023-11-05 15:12:32 +10:00
  • 7e6e4b5540 Remove termion_test Andrew Morris 2023-11-05 14:53:06 +10:00
  • e62898bcb6 Persist db changes for console apps Andrew Morris 2023-11-05 14:50:39 +10:00
  • ad55b5acd2 Send arrow keys to app Andrew Morris 2023-11-05 14:48:01 +10:00
  • 0c1901b460 Start handling events Andrew Morris 2023-11-05 14:32:01 +10:00
  • 5d5ef2624b More console functionality Andrew Morris 2023-11-05 14:08:20 +10:00
  • 805ae75a09 More consistent exit handling Andrew Morris 2023-11-05 11:37:49 +10:00
  • 81c86e1728 wip: vstc console Andrew Morris 2023-11-05 10:50:12 +10:00
  • edbd27d62e Implement interactive mode Andrew Morris 2023-11-03 18:41:40 +10:00
  • 746e44754b More inline formats Andrew Morris 2023-11-03 08:51:14 +11:00
  • 2f6be098c5 db_run_inline Andrew Morris 2023-11-03 08:39:12 +11:00
  • 9dee5505fb Avoid unnecessary tranasctions, fix ptr indirection Andrew Morris 2023-11-02 23:25:07 +11:00
  • 0c4ae6fd0b Implement StorageReader for Storage Andrew Morris 2023-11-02 22:50:57 +11:00
  • fdb50bc432 storage_tx -> storage_io Andrew Morris 2023-11-02 22:45:10 +11:00
  • 28d2f73084 Remove unused lifetime parameters Andrew Morris 2023-11-02 22:41:58 +11:00
  • 89a7b3d842 GenericError Andrew Morris 2023-11-02 22:35:18 +11:00
  • 3ca534588d Simplify StorageReader Andrew Morris 2023-11-02 17:56:44 +11:00
  • 09aca51a9f Rename StorageTx -> StorageReader Andrew Morris 2023-11-02 17:40:19 +11:00
  • 3f70148110 Remove unnecessary option wrapper for object prototype Andrew Morris 2023-11-02 15:13:58 +11:00
  • b778359e8b Non-mut storage operations Andrew Morris 2023-11-02 14:07:41 +11:00
  • e9b55b2bca db_call (doesn't work yet) Andrew Morris 2023-11-02 12:39:33 +11:00
  • 86339f30cb Update help infos Andrew Morris 2023-11-02 12:29:30 +11:00
  • e7c4d680a4 db_new apparently works (untested) Andrew Morris 2023-11-02 12:23:40 +11:00
  • 32358b2dd6 Simplify vm.run Andrew Morris 2023-11-02 11:36:25 +11:00
  • a5e76355f7 Prefer str Andrew Morris 2023-11-02 10:22:30 +11:00
  • 92a52491ec Split out to_bytecode Andrew Morris 2023-11-02 10:16:30 +11:00
  • e09ecc107a db_new stub Andrew Morris 2023-11-02 10:16:22 +11:00
  • 0fee317aaf Stubs for db subcommands Andrew Morris 2023-11-02 10:04:12 +11:00
  • df16ceccf0 db_command stub Andrew Morris 2023-11-02 09:18:28 +11:00
  • 9770b383b2 Simplify main fn Andrew Morris 2023-11-02 09:15:52 +11:00
  • 537fd0800f Use StorageAutoPtr to make VsStoragePtr work Andrew Morris 2023-11-01 17:05:25 +11:00
  • 350fa65d54 StorageAutoPtr Andrew Morris 2023-11-01 16:50:44 +11:00
  • e454708744 Storage.get Andrew Morris 2023-11-01 15:53:59 +11:00
  • 4868b5929c Simplify StorageEntryReader+Writer Andrew Morris 2023-11-01 11:41:42 +11:00
  • e578385b26 Fix most storage unwraps Andrew Morris 2023-11-01 10:50:02 +11:00
  • 23fb576fd2 StorageError Andrew Morris 2023-11-01 10:08:55 +11:00
  • 9ca409d57e Just use Box<Error> for now Andrew Morris 2023-11-01 08:36:22 +11:00
  • d1eee2229d InTransactionError -> InTxError Andrew Morris 2023-10-31 16:21:52 +11:00
  • b2f523a83c Handle -> Tx Andrew Morris 2023-10-31 16:17:19 +11:00
  • 44802a1843 Move the StorageEntity method types into the StorageEntity trait itself so that you don't need to implement for all types Andrew Morris 2023-10-31 12:55:56 +11:00
  • 00776c212c Move StorageOps inside StorageBackendHandle Andrew Morris 2023-10-31 12:15:55 +11:00
  • 2d47b39ece Write most vals to storage Andrew Morris 2023-10-31 11:54:24 +11:00