35 Commits

Author SHA1 Message Date
61906b3c80 Format with clang 2021-11-09 19:41:10 +01:00
ee016636f7 Include binary compilation and execution in check target 2020-09-07 20:29:35 +02:00
4071dcc5a8 Support compiling to and running from binary files 2020-09-07 20:29:19 +02:00
52df0a0d52 Update wasm examples 2020-09-07 20:28:35 +02:00
f4cbe6c847 Ignore compiled wassembler binaries 2020-09-07 20:28:13 +02:00
96345ad6ba Compile to bytecode 2020-09-03 19:03:32 +02:00
473334c3db Refactor tokenization 2020-08-29 14:50:16 +02:00
71678b2ec6 Extract preprocessing from tokenizer 2020-08-29 11:25:10 +02:00
aebc1dd86d Improve syntax error reporting 2020-08-28 20:55:11 +02:00
593506a907 Introduce simple character literal 2020-08-28 20:55:11 +02:00
d396628310 Rename binary to wassembler 2020-05-30 12:22:22 +02:00
0286f25e8d Add DEFINE preprocessor directive 2020-05-30 12:21:50 +02:00
3bb2cc17e9 Use clipp for arg parsing 2020-05-30 11:09:00 +02:00
8b85e428f1 Remove declare and string types to prepare for preprocessor 2020-05-22 20:33:48 +02:00
e7a5cfa327 Refactor main.cpp functions into separate class 2020-05-22 20:33:17 +02:00
057a9411e6 Correct interrupt comments 2020-05-22 20:22:15 +02:00
e1008b43a6 Add string literals 2020-05-17 20:30:57 +02:00
fc2870ca74 Add string input interrupt from STDIN 2020-05-17 14:13:15 +02:00
2d820e7028 Update README 2020-05-17 13:29:05 +02:00
06de5290da Add STDIN interrupt and error handling for all interrupts 2020-05-17 13:28:59 +02:00
f8eaabfc55 Add exit operand 2020-05-16 12:17:10 +02:00
1ce75c3772 Rename example.wasm to test.wasm 2020-05-16 12:11:05 +02:00
f9c43f19e6 Add ret function 2020-05-16 12:10:17 +02:00
5d71a1316c Add hello world example 2020-05-16 11:54:55 +02:00
30252e5863 Improve runtime error handling 2020-05-16 11:54:49 +02:00
41fb08373c Add call operand 2020-05-16 11:22:47 +02:00
9337c95b09 Add missing interrupt 2 2019-11-24 11:35:54 +01:00
e237446676 Cleanup readme and add license for going public 2019-11-24 11:27:38 +01:00
25b65bab19 Add print string from memory interrupt 2019-11-24 11:03:37 +01:00
1148682324 Added direct memory access 2019-11-23 16:47:16 +01:00
22bb974a05 Memory added plus basic memory operations 2019-11-23 14:53:56 +01:00
99f616e1e4 Add seti and int operators 2019-11-23 12:21:14 +01:00
f0e00ff018 Add control flow operands 2019-11-21 18:38:02 +01:00
1bac553f4b Update design.md with all operands 2019-11-17 21:12:43 +01:00
b84557b3e1 Basic arithmetic and jump labels 2019-11-17 21:02:35 +01:00