From a9fe6472d9e26030548a6882515be7ee47ab322f Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sat, 4 Jun 2022 22:07:31 +0200 Subject: [PATCH] remove old screencode syntax from docs --- docs/source/syntaxreference.rst | 2 +- docs/source/todo.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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?