Commit graph

7 commits

Author SHA1 Message Date
ab279857fa Optimizer - Remove dead branches 2017-12-16 10:38:17 +01:00
12f9402c94 Optimizer - Working constant propagation
AST's replace function needed to be recursive
2017-12-14 07:39:38 +01:00
223dd1763d AST - Finished refactoring
(unless I forgot shit)
2017-12-14 07:29:39 +01:00
5f6eee238f Parser - Refactored AST nodes
AST nodes use the same storage structure, whatever their nature.
2017-12-13 21:44:50 +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
c465a38306 UI - Refactoring progress
(see previous log message)
2017-11-23 23:38:05 +01:00
05472b1c3a UI - Refactoring progress
(see previous log message)
2017-11-23 23:31:24 +01:00
Renamed from opast.cc (Browse further)