From 5bb277cc67c7c3fa8fa3024f1ed3da81a71636e2 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 19 Mar 2017 19:36:49 +0000 Subject: Finished better expressions --- Notes.org | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'Notes.org') diff --git a/Notes.org b/Notes.org index d865313..509d913 100644 --- a/Notes.org +++ b/Notes.org @@ -3,7 +3,6 @@ #+AUTHOR: Yann Herklotz #+EMAIL: ymherklotz@gmail.com #+DESCRIPTION: These are notes about the Compiler project. -#+DATE: <2017-03-09 Thu> * Lexer @@ -134,15 +133,17 @@ Expressions like > or < or == etc.. **** TODO Add more statements - -***** TODO If statement +***** DONE If statement CLOCK: [2017-03-18 Sat 08:42]--[2017-03-18 Sat 09:57] => 1:15 - - - -***** TODO For statement -***** TODO While statement +***** DONE For statement +***** DONE While statement +***** TODO Do While statement **** DONE Fixing Seg fault 1 CLOCK: [2017-03-17 Fri 15:44]--[2017-03-17 Fri 16:00] => 0:16 Have to fix type assigment for declaration lists, need to make new pointers of the right type. +**** TODO Load more that 4 bytes into a variable. +**** TODO Fix expressions and temporary variables + + I have to store the temporary expression in normal registers. + -- cgit