Commit graph

154 commits

Author SHA1 Message Date
Sei Lisa
c2a30fb9ee Simplify const + nonconst + const and nonconst + const + const. 2014-08-19 19:45:47 +02:00
Sei Lisa
c2437b33e7 Optimize [] + nonlist as (list)nonlist.
And minor comment changes.
2014-08-17 16:31:46 +02:00
Sei Lisa
8e5166bb2e Move the constant folding code to lslfoldconst.py.
lsloptimizer remains as the "conductor" and option handler.

As a result, new options have been added to enable DCR and constant folding.
2014-08-13 14:19:58 +02:00
Sei Lisa
beea757a0a Fork (add a copy of) lsloptimizer.py as lslfoldconst.py.
This commit is just a copy, to hopefully help git track it. The changes come in the next commit.
2014-08-13 14:02:05 +02:00