Commit graph

5 commits

Author SHA1 Message Date
12f9402c94 Optimizer - Working constant propagation
AST's replace function needed to be recursive
2017-12-14 07:39:38 +01:00
efa1b26150 Optimizer - Constant propagation for variables
* It doesn't work for function arguments at this point, but shouldn't be
too hard to implement that.
* Can't use it to its full potential mostly because I need to get rid of
the node-specific shit in the AST.
2017-12-12 18:30:41 +01:00
b6f9d06be0 Optimizer - Control flow graph construction 2017-12-03 18:35:56 +01:00
c7e4ccf67e Builder tool - Various, pre-constant propagation
+ Prepared flags for constant propagation
+ UI instructions removal in compiler
+ Various changes to test "demo"
2017-12-03 14:59:39 +01:00
64629560cc Moved test "demo" to separate directory 2017-12-03 10:23:37 +01:00