Commit Graph

47 Commits

Author SHA1 Message Date
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
Tarun Samanta
a86ac976b2 fix-Change // test_output! output to //! test_output(output) in input folder 2023-05-30 15:38:47 +05:30
Andrew Morris
ac868be23c Replace VsPointer with cached decoding 2023-05-26 17:50:35 +10:00
Andrew Morris
3cfe1a6527 Use .pretty() instead of defining Display as pretty version 2023-05-26 12:21:02 +10:00
Andrew Morris
f0ce1743e7 Integrate step limit into run() instead of separate method 2023-05-24 15:53:47 +10:00
Andrew Morris
745ebd03b7 Prefer relative paths in CLI output 2023-03-24 11:31:31 +11:00
Tarun Samanta
0adcd150ec Update test_inputs.rs 2023-03-23 18:54:47 +05:30
Tarun Samanta
4c0329729d Update test_inputs.rs 2023-03-23 18:53:41 +05:30
Tarun Samanta
cc5e103534 commit_2 2023-03-23 18:33:40 +05:30
Andrew Morris
79534a8d38 Enable testing exceptions with test_output 2023-03-21 11:23:05 +11:00
Andrew Morris
11b547db15 Set up frame steps for exceptions 2023-03-21 09:51:25 +11:00
Andrew Morris
e50ad6bf59 Use linked compilation in test_inputs.rs and add test 2023-03-09 15:38:03 +11:00
Andrew Morris
e2f41deb95 Use linked compilation with run command 2023-03-09 15:23:42 +11:00
Andrew Morris
32943bad1a New compile command using linking 2023-03-09 15:13:19 +11:00
Andrew Morris
c5b75b35de compile -> compile_module 2023-03-09 14:17:56 +11:00
Andrew Morris
5244987f89 Link modules for vstc compile (almost works) 2023-03-09 12:19:53 +11:00
Andrew Morris
5e95be162e wip gather and link 2023-03-08 22:29:58 +11:00
Andrew Morris
243e75f7ae clippy --fix 2023-03-08 15:07:51 +11:00
Andrew Morris
ff3b527c74 Test bytecode consistency when compiling via assembly 2023-03-07 08:19:29 +11:00
Andrew Morris
3565d2464f Bypass rendering and parsing assembly 2023-03-06 20:06:21 +11:00
Andrew Morris
7fe6b5639e Generate new-issue links for internal errors 2023-03-01 13:27:06 +11:00
Andrew Morris
bc1afa24c4 Add more tests 2023-02-28 15:28:06 +11:00
Andrew Morris
830b19b92c Start testing outputs 2023-02-28 15:08:03 +11:00
Andrew Morris
44759d16a8 Reorganize using workspaces 2023-02-27 12:35:37 +11:00