Added todo to rewrite assembler in a different language

This commit is contained in:
2024-04-14 02:34:40 +06:30
parent 38a24f172f
commit 99a81ce95d

View File

@@ -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