From 385dd6fc23f128825e013caf556f42efc1611a28 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 3 Apr 2024 01:12:45 +0200 Subject: [PATCH] todos --- docs/source/todo.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index c0709bb74..b66ba801e 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -8,7 +8,6 @@ Future Things and Ideas ^^^^^^^^^^^^^^^^^^^^^^^ Compiler: -- IR: add TEST instruction to test memory content and set N/Z flags, without affecting any register. Replace all LOADM+CMPI #0 / LOAD #0+LOADM+CMP+BRANCH by this instruction - IR: implement missing operators in AssignmentGen (array shifts etc) - can we support signed % (remainder) somehow? - instead of copy-pasting inline asmsubs, make them into a 64tass macro and use that instead. @@ -43,9 +42,10 @@ Compiler: But all library code written in asm uses .proc already..... (textual search/replace when writing the actual asm?) Once new codegen is written that is based on the IR, this point is mostly moot anyway as that will have its own dead code removal on the IR level. - Zig-like try-based error handling where the V flag could indicate error condition? and/or BRK to jump into monitor on failure? (has to set BRK vector for that) But the V flag is also set on certain normal instructions +- Zig-like defer to execute a statement/anonymousscope at subroutine exit? - generate WASM to eventually run prog8 on a browser canvas? Use binaryen toolkit and/or my binaryen kotlin library? -- split words arrays all() -- split words arrays sort() +- implement split words arrays all() +- implement split words arrays sort() Libraries: