projects
/
fur
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51b6cd6
)
Added some todos
author
David Kerkeslager
<kerkeslager@gmail.com>
Sat, 12 Aug 2017 19:24:15 +0000
(15:24 -0400)
committer
David Kerkeslager
<kerkeslager@gmail.com>
Sat, 12 Aug 2017 19:24:15 +0000
(15:24 -0400)
transformation.py
patch
|
blob
|
history
diff --git
a/transformation.py
b/transformation.py
index
0249890
..
34710bf
100644
(file)
--- 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',
[
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',
[
CFunctionDefinition = collections.namedtuple(
'CFunctionDefinition',
[