Commit Graph

1189 Commits

Author SHA1 Message Date
Andrew Morris
b6baaf7319 Fix overwriting state with undefined on exceptions 2024-03-01 10:10:19 +11:00
Andrew Morris
add823ca55 Fix test 2024-03-01 10:01:03 +11:00
Andrew Morris
14c4d3cb37 Workaround swc double line break bug 2024-02-29 19:22:22 +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
190591defa Compile jsx expressions 2024-02-29 14:54:11 +11:00
Andrew Morris
7915db4689 Add jsx instruction 2024-02-29 11:01:41 +11:00
Andrew Morris
e249776a10 Clear read cache 2024-02-29 10:04:13 +11:00
Andrew Morris
7368453a2e Use actor to avoid re-opening the db for every request 2024-02-28 18:36:42 +11:00
Andrew Morris
ea61799b5c Split out db_host 2024-02-28 12:07:28 +11:00
Andrew Morris
a540b8a02e Fix website build 2024-02-28 11:03:35 +11:00
Andrew Morris
2f68a96dcd It works! 2023-12-29 16:18:27 +11:00
Andrew Morris
82934f21f6 wip (why is it hard to get the body in actix-web?) 2023-12-29 15:31:51 +11:00
Andrew Morris
6949a52c9a Basic webserver with no request body 2023-12-29 14:36:49 +11:00
Andrew Morris
f38b5d331a wip: db host subcommand 2023-12-21 15:34:26 +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
299b986638 Update test 2023-12-18 15:18:17 +11:00
Andrew Morris
1c04e92753 Implement delete 2023-12-18 15:11:18 +11:00
Andrew Morris
8b2d880c6a Compile (but not run) delete expressions 2023-12-18 14:31:07 +11:00
Andrew Morris
62108d1a49 Implement void, add delete instruction 2023-12-18 13:47:10 +11:00
Andrew Morris
339e65788c Add failing test 2023-12-18 12:50:25 +11:00
Andrew Morris
36d0e376da Enable autofix 2023-12-18 12:46:30 +11:00
Andrew Morris
a1e1b484fc Use lines array, undefined means, stop, update example 2023-11-05 15:52:32 +10:00
Andrew Morris
eb4c1828f2 Provide screen dimensions 2023-11-05 15:12:32 +10:00
Andrew Morris
7e6e4b5540 Remove termion_test 2023-11-05 14:53:06 +10:00
Andrew Morris
e62898bcb6 Persist db changes for console apps 2023-11-05 14:50:39 +10:00
Andrew Morris
ad55b5acd2 Send arrow keys to app 2023-11-05 14:48:01 +10:00
Andrew Morris
0c1901b460 Start handling events 2023-11-05 14:32:01 +10:00
Andrew Morris
5d5ef2624b More console functionality 2023-11-05 14:08:20 +10:00
Andrew Morris
805ae75a09 More consistent exit handling 2023-11-05 11:37:49 +10:00
Andrew Morris
81c86e1728 wip: vstc console 2023-11-05 10:50:12 +10:00
Andrew Morris
edbd27d62e Implement interactive mode 2023-11-03 18:41:40 +10:00
Andrew Morris
746e44754b More inline formats 2023-11-03 08:51:14 +11:00
Andrew Morris
2f6be098c5 db_run_inline 2023-11-03 08:39:12 +11:00
Andrew Morris
9dee5505fb Avoid unnecessary tranasctions, fix ptr indirection 2023-11-02 23:25:07 +11:00
Andrew Morris
0c4ae6fd0b Implement StorageReader for Storage 2023-11-02 22:50:57 +11:00
Andrew Morris
fdb50bc432 storage_tx -> storage_io 2023-11-02 22:45:10 +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
3ca534588d Simplify StorageReader 2023-11-02 17:56:44 +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
86339f30cb Update help infos 2023-11-02 12:29:30 +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
a5e76355f7 Prefer str 2023-11-02 10:22:30 +11:00
Andrew Morris
92a52491ec Split out to_bytecode 2023-11-02 10:16:30 +11:00