From 35aa954be8bea06970195e20c2a65cd6264a14ae Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Fri, 12 Apr 2019 01:06:46 +0200 Subject: [PATCH] doc --- docs/source/syntaxreference.rst | 7 ------- docs/source/todo.rst | 8 +++++--- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/source/syntaxreference.rst b/docs/source/syntaxreference.rst index ab011e8b2..b80d99ba0 100644 --- a/docs/source/syntaxreference.rst +++ b/docs/source/syntaxreference.rst @@ -282,13 +282,6 @@ of something with an operand starting with 1 or 0, you'll have to add a space in - You can force a byte value into a word value by adding the ``.w`` datatype suffix to the number: ``$2a.w`` is equivalent to ``$002a``. -.. todo:: - - omit the array size in the var decl if an initialization array is given? - - **@todo pointers/addresses? (as opposed to normal WORDs)** - - Data type conversion ^^^^^^^^^^^^^^^^^^^^ Many type conversions are possible by just writing ``as `` at the end of an expression, diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 3f73f5d80..7f422b021 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -5,7 +5,7 @@ TODO Memory Block Operations integrated in language? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -@todo list,string memory block operations? +list,string memory block operations? - list operations (whole list, individual element) operations: set, get, copy (from another list with the same length), shift-N(left,right), rotate-N(left,right) @@ -15,7 +15,7 @@ Memory Block Operations integrated in language? - strings: identical operations as on lists. -these should call (or emit inline) optimized pieces of assembly code, so they run as fast as possible +these should call optimized pieces of assembly code, so they run as fast as possible For now, we have the ``memcopy``, ``memset`` and ``strlen`` builtin functions. @@ -74,5 +74,7 @@ of values together (and use it multiple times). Something like:: Misc ^^^^ -- are there any other missing instructions in the code generator? +- replace ``memory`` keyword in vardecls by just ``&`` - implement %asmbinary +- make the array size optional in the var decl if an initialization array is given +- are there any other missing instructions in the code generator?