This commit is contained in:
Irmen de Jong 2021-01-05 02:17:51 +01:00
parent ee9f662016
commit 6fa7debee5
2 changed files with 2 additions and 7 deletions

View File

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

View File

@ -6,12 +6,6 @@
main {
sub start () {
uword mem
ubyte num_banks
num_banks = c64.MEMTOP2()
txt.print_ub(num_banks)
test_stack.test()