mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
todos
This commit is contained in:
parent
9af4168ae2
commit
385dd6fc23
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user