I'm thinking about spreadsheets. Has anyone ever made a convincing interface for defining functions, using a spreadsheet interface?
(I am aware that you can define functions in most modern spreadsheets, but this requires you to go to a traditional coding interface. This is obviously cheating!)
I've always liked LoGlo's approach: https://loglo.app/2020-06-16
Rows share a stack, which allows naturally for defining a function across multiple cells.
👍 1
☝️ 3
w
wtaysom
04/08/2024, 3:10 PM
Loglo is like Forth and spreadsheets at the same time.
One thought is by default showing the formula (intension) and value (extension) of a cell at the same time.
Second thought is that we by default only allow one word (in the Forth sense) per cell.
Third thought. Should be able to hide/fold up intermediate cells.
Final thought. Then a definition is label for the formula used in some folded up cells. Using/copying the label doesn't relabel references like we're used to in spreadsheets, but also duplicates hidden/intermediate cells that we can unfold for viewing a trace.
Bonus. Treat formulas acting on multiple cells respectably.