From d8074eb09891a048fd1960ae69697f02360a7b2c Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Sat, 12 Aug 2017 15:24:15 -0400 Subject: [PATCH] Added some todos --- transformation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/transformation.py b/transformation.py index 0249890..34710bf 100644 --- a/transformation.py +++ b/transformation.py @@ -65,6 +65,7 @@ CFunctionCallExpression = collections.namedtuple( ], ) +# TODO We are currently not changing variables, just preventing them from being accessed. CSymbolAssignmentStatement = collections.namedtuple( 'CSymbolAssignmentStatement', [ @@ -121,6 +122,8 @@ CFunctionDeclaration = collections.namedtuple( ], ) +# TODO If a function definition doesn't end with an expression, we have issues currently because we try to return statement. +# TODO Closures currently wrap entire defining environment, even symbols that are not used, which makes garbage collection ineffective. CFunctionDefinition = collections.namedtuple( 'CFunctionDefinition', [ -- 2.20.1