3 ms·
I'm intrigued, but need to read through this a few times to get everything. One thing I don't understand is the dismissal of operator precedence for infix oper
by mikewarot 5y ago
I'm intrigued, but need to read through this a few times to get everything.
One thing I don't understand is the dismissal of operator precedence for infix operators. It seems to me that creates an unnecessary impedance mismatch for getting formulae entered into the computer.
Thanks for sharing.
- mikewarot 5y agoHaving read some more, and watched the 2018 video, I now understand that ditching operator precedence was a necessary sacrifice to make your interactive environment something that could be implemented in a reasonable timeframe.
- jonathanedwards 5y agoYeah, I've gotten a lot of pushback on that. One approach I've seen is to reject expressions that would violate standard precedence, and require extra parentheses.
- mikewarot 5y agolike lisp and forth, the moving of things to/from variables is removed from primacy, to good effect. being able to use a result without having to name it is a quite powerful tool. As with spreadsheets, the absolute or relative location can fill in as a address. Perhaps there should be some relative addressing for code, as you hinted ^ with spaces around it is the previous result.