by rtpg · 5y ago · 0 comments
Like OK, cool, I get an email and I can middle-click it there to run it instead of.... I guess opening a text file and putting it there and hitting enter?
Not to mention that limiting yourself to text really limits how far this metaphor can go.
I do realize that there's limitations of the time, and that for the time it would be way better than, say, Win 3.1. Just like.... it feels like an evolutional dead-end (compared to say, Smalltalk-y OS's whose concepts have lived on in things like browser dev tools and SFDC' Apex environments).
I don't mean to yuck too much on anyone's yum, just feels like there are better ideas out there at this point.
Sounds like the opposite.
Similarly you could imagine files/documents/etc be represented as elements of rich text.
This is _not_ an easy problem however! As an example, if I had a document referring to `~/.emacs`, it could be:
- the path on the system of the author's machine
- the path on the system of the reader's machine
- the content of the file on the author's machine
- the content of the file on the reader's machine
- A sort of lisp data structure based on the content of the file on (author or reader's machine)
Basically you enter in to the "reference or value" problem on many things. Text doesn't have this problem because it has no solution to the value problem, for the most part, apart from like embedding a base64 blob into your text.
But hey, if you're building an entire OS anyways, and you have some rich text primitives, you could imagine having that in the base libraries and setting up some COM-like primitives all over and work from there.
I mean this is basically Word, at this point. But a programmer-y version of Word would be interesting from my perspective.
Another good example is TempleOS where you can render graphics into the cli and interact with them.
Lisp and Smalltalk did it first. :)
In Genera, any output to a repl window was not dead text; it was a live and mouse-sensitive reference to the actual object in memory. You could mouse on it to get a dynamically-generated menu of operations supported by the pointed-to value, or call functions on it, or whatever.
In Sk8 you could grab an arbitrary widget anywhere on the screen and drop it on a MessageBox window to obtain a named variable referring to it. You could then operate on it in a manner similar to that described above.
Maybe with the new revival project it can be relieved again.