73 Commits

Author SHA1 Message Date
Andrew Morris
9b84429a9d Clippy fixes 2024-07-24 15:54:20 +09:00
Andrew Morris
0bbf100eb2 cargo clippy --fix 2024-07-16 11:22:12 +09:00
Andrew Morris
ea9e16b4cb Ignore vsdb files when testing 2024-03-01 15:27:16 +11:00
Andrew Morris
f866fb1c7f Fix unicode rendering, handle checked attribute, string escaping, array rendering 2024-03-01 14:45:50 +11:00
Andrew Morris
7cb9e7d720 Implement jsx responses 2024-03-01 10:28:23 +11:00
Andrew Morris
b6baaf7319 Fix overwriting state with undefined on exceptions 2024-03-01 10:10:19 +11:00
Andrew Morris
30c5a52de7 Implement jsx instruction 2024-02-29 17:54:11 +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
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
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
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
Andrew Morris
e09ecc107a db_new stub 2023-11-02 10:16:22 +11:00
Andrew Morris
0fee317aaf Stubs for db subcommands 2023-11-02 10:04:12 +11:00
Andrew Morris
df16ceccf0 db_command stub 2023-11-02 09:18:28 +11:00
Andrew Morris
9770b383b2 Simplify main fn 2023-11-02 09:15:52 +11:00
Andrew Morris
2f9eee0a2b Add console.log, avoid printing undefined result 2023-08-22 09:29:11 +10:00
Andrew Morris
f541a81f96 Structured formatting 2023-08-16 14:38:24 +10:00
Andrew Morris
e81eb6d1e2 Fix clippy issues 2023-07-24 10:38:46 +10:00
Andrew Morris
581965e01b Make clippy a happy chappy 2023-07-07 16:08:28 +10:00
Andrew Morris
12d83fad18 Still emit assembly even if there are errors 2023-07-06 20:12:06 +10:00
Andrew Morris
34d6a21aab Rc<String> -> Rc<str> 2023-07-06 17:25:24 +10:00
Andrew Morris
6e1be5a929 Add Empty and Comment options to FnLine 2023-06-22 15:54:00 +10:00
Andrew Morris
2edab0ce63 Fix missing test_output dir 2023-06-22 14:59:49 +10:00
Andrew Morris
108d896cd4 Write assembly to test_output when testing 2023-06-22 14:21:31 +10:00
Andrew Morris
ed91e6ae64 Improve test output 2023-06-22 13:15:26 +10:00
Andrew Morris
7e85130aa7 Include trailing newline in out.vsm 2023-05-31 14:52:31 +10:00
Andrew Morris
6f77ab2806 Match new test_output format 2023-05-31 12:28:26 +10:00
Andrew Morris
d6098f632b Merge remote-tracking branch 'voltrevo/main' into tarun_samanta/#7 2023-05-31 12:06:07 +10:00