]> git.mdlowis.com Git - proto/obnc.git/commitdiff
push ast.c
authorMichael D. Lowis <mike.lowis@gentex.com>
Tue, 6 Jul 2021 01:41:27 +0000 (21:41 -0400)
committerMichael D. Lowis <mike.lowis@gentex.com>
Tue, 6 Jul 2021 01:41:27 +0000 (21:41 -0400)
cerise/src/ast.c

index a2f7ba71ee962d2fc0c6e211a606acfe57bd6c4a..673251322626a0c480b42c15bf1c870da02be906 100644 (file)
@@ -1,5 +1,15 @@
 #include <cerise.h>
 
+/* Optimizations to Perform:
+
+* Constant folding - (Constant expression evaluation)
+* Dead code elimination
+* Block coalescing
+*
+
+*/
+
+
 AstNode* ast_new(int type, AstNode* l0, AstNode* l1, AstNode* l2)
 {
     AstNode* node = calloc(1, sizeof(AstNode));