Hi everybody,
I have made a project for teaching math expressions It is like a super spreadsheet, You can build any expression and see the result for any part and of course for the expression itself.
Using watchers for the variables: expr (the expression )and res (the expression with the result )you can see the corresponding math notation. (Just extra parenthesis are not removed.).
The expression is built using Holders. Each holder must have three items left part, operator, right part. In the operators, you have the result of the operation.
Left and right parts can be either a number or an expression.
That's all play with it .
Some scripts are written in smallTalk since two primitives are missing as tiles:
1.- The number of objects in a holder: self costume submorphs size
2.- The , to concatenate strings.
Best Regards
P-A Dreyfuss.
squeakland@lists.squeakfoundation.org