From 99a81ce95d8d507e0b73959a180727e05573e6c9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 14 Apr 2024 02:34:40 +0630 Subject: Added todo to rewrite assembler in a different language --- todo.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/todo.org b/todo.org index 2fac332..4dd4016 100644 --- a/todo.org +++ b/todo.org @@ -33,6 +33,20 @@ A call should look something like this: $name 1 2 3 #+end_src and those tokens will be substituted literally in the macro body. +* TODO Write assembler in a different language :ASM: +While the runtime and base library needs to deal with only +binary, the assembler has to deal with string inputs and a larger +variety of bugs. As the base library is written in C, and is all that +is necessary to write a program that targets the virtual machine, we +could realistically use another language to write the assembler in via +FFI with minimal pain. + +Languages in the competition: ++ C++ ++ Rust ++ Python +* TODO Introduce error handling in base library :LIB: +There is a large variety of TODOs about errors * TODO Standard library :ASM:VM: I should start considering this and how a user may use it. Should it be an option in the VM and/or assembler binaries (i.e. a flag) or -- cgit v1.2.3-13-gbd6f