This commit is contained in:
Irmen de Jong
2021-01-02 17:50:08 +01:00
parent edd3a22848
commit baf9dfb46c
4 changed files with 248 additions and 62 deletions

View File

@@ -2,6 +2,8 @@
TODO
====
- add syslib.rdtim16() function to wrap the RDTIM to read only the lower 16 bits of the jiffyclock - fix examples.
- move all str* builtin functions to a str library module
- 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 '_'