Commit Graph

3 Commits

Author SHA1 Message Date
Thomas Lamb 6a6b41411c switch from ->* to <= in expression decomposer
<= chosen arbitrarily from comparison operators, but any of <=, >=, <, >
have the same precedence.

This now allows expressions containing any of *, /, %, +, -, << and >>
to be used on the LHS.

No tests broke, and the corresponding originally failing test in
[tricky] was expanded and added to the main suite.
2014-08-06 03:25:56 -07:00
Phil Nash 10801c2876 Folded ExpressionResultBuilder into ResultBuilder
(even more SRP violations!)
2014-05-29 07:50:19 +01:00
Phil Nash 9438a03d5b Big assertion capture refactoring.
- moved as much logic out of the macros as possible
- moved most logic into new ResultBuilder class, which wraps ExpressionResultBuilder (may take it over next), subsumes ResultAction and also takes place of ExpressionDecomposer.

This introduces many SRP violations - but all in the name of minimising macro logic!
2014-05-28 18:53:01 +01:00