From 6fa7debee57cb5388283f32e395e1107abdf72de Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Tue, 5 Jan 2021 02:17:51 +0100 Subject: [PATCH] todo --- docs/source/todo.rst | 3 ++- examples/test.p8 | 6 ------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 94dbd5acb..693c3982e 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -2,7 +2,8 @@ TODO ==== -- move all str* builtin functions to a str library module +- move all str* builtin functions to a strings library module, mem* to the sys module. update docs. +- can we get rid of the --longOptionName command line options and only keep the short versions? https://github.com/Kotlin/kotlinx-cli/issues/50 - detect variables that are written but never read - mark those as unused too and remove them, such as uword unused = memory("unused222", 20) - also remove the memory slab allocation - hoist all variable declarations up to the subroutine scope *before* even the constant folding takes place (to avoid undefined symbol errors when referring to a variable from another nested scope in the subroutine) - make it possible to use cpu opcodes such as 'nop' as variable names by prefixing all asm vars with something such as '_' diff --git a/examples/test.p8 b/examples/test.p8 index 696c5ca55..590dcd7b3 100644 --- a/examples/test.p8 +++ b/examples/test.p8 @@ -6,12 +6,6 @@ main { sub start () { - uword mem - ubyte num_banks - - num_banks = c64.MEMTOP2() - txt.print_ub(num_banks) - test_stack.test()