From 9dec565fb5b9a080d93776c35bea0f71e541187c Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Wed, 16 Oct 2019 21:57:14 -0400 Subject: Fix readme code gen description --- readme.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index facf81b..8454ccf 100644 --- a/readme.txt +++ b/readme.txt @@ -17,15 +17,15 @@ trees, and scope information will also be printed to stderr. Status ------ PC has a working frontend and an incomplete backend . PC currently can tokenize, -parse, and run semantic checks on source files. The code generation is currently -limited to: +parse, and run semantic checks on source files. The code generation only works +with integer variables and is currently limited to: - Output (write() calls) - Expressions - Function calls - Addition/Subtraction - Multiplication/Division - Negation - - Variable access (Not Arrays) + - Variable access (No Arrays, No Reals) - Statements - Assignment - Procedure calls @@ -36,6 +36,7 @@ Therefore the current To Do list for code generation is: - While loops (statement) - For loops (statement) - Array Access +- Real variables Other To Do's - Provide src/output files via flags. -- cgit v1.1