diff --git a/docs/source/syntaxreference.rst b/docs/source/syntaxreference.rst index 29cc1569d..5283460b2 100644 --- a/docs/source/syntaxreference.rst +++ b/docs/source/syntaxreference.rst @@ -299,7 +299,7 @@ Prog8 supports the following data types: type identifier type storage size example var declaration and literal value =============== ======================= ================= ========================================= ``byte`` signed byte 1 byte = 8 bits ``byte myvar = -22`` -``ubyte`` unsigned byte 1 byte = 8 bits ``ubyte myvar = $8f``, ``ubyte c = 'a'``, ``ubyte c2 = @'a'`` +``ubyte`` unsigned byte 1 byte = 8 bits ``ubyte myvar = $8f``, ``ubyte c = 'a'`` -- boolean 1 byte = 8 bits ``byte myvar = true`` or ``byte myvar == false`` The true and false are actually just aliases for the byte values 1 and 0. diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 591c78f19..a7c77c161 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -3,6 +3,8 @@ TODO For next release ^^^^^^^^^^^^^^^^ +- fix natt's bugs +- optimize pointervar indexing codegen: make them work as subroutine paramers - optimize pointervar indexing codegen: writing (all sorts of things) - pipe operator: (targets other than 'Virtual'): allow non-unary function calls in the pipe that specify the other argument(s) in the calls. Already working for VM target. - add McCarthy evaluation to shortcircuit and/or expressions. First do ifs by splitting them up? Then do expressions that compute a value?