The random object generator was producing equations that used with unary operators as binary operators. Previously the unary operators were stored in the same node of the abstract syntax tree as binary equations with VoidExpr as the first argument. But a while ago I changed the AST so unary operators now have their own node. So I just made unary and binary operators separate data types and since they have their own node, it was easy to do that now.
The random object generator was producing equations that used with unary operators as binary operators. Previously the unary operators were stored in the same node of the abstract syntax tree as binary equations with VoidExpr as the first argument. But a while ago I changed the AST so unary operators now have their own node. So I just made unary and binary operators separate data types and since they have their own node, it was easy to do that now.
Modified to match the recent changes to the abstract syntax tree. "Dao.Object.Binary" is just too far out of date, I will need to re-write most of it.
This project is approaching "critical mass." It is getting easier to fix bugs and add new features.