4 ms·
I feel that a lispy language on the ipad should not be text-based, but tree-based: you create and manipulate the tree structure using the touch interface. For
by hasenj 16y ago
I feel that a lispy language on the ipad should not be text-based, but tree-based: you create and manipulate the tree structure using the touch interface.
For example, you touch, and that creates a node.
o
Then you can type something inside that node. Then you drag lines out of it, and you create child nodes, and so on.
o-------o
\
\
o
The node doesn't have to be a circle, it could be a long rectangle with atoms inside
[ ____ ______ ______ ]
You can drag out an atom to turn it into another node
[ _____ ______ ______ ]
|
|
|
|
[ ___ ___ ]
- riobard 16y agoThis sounds great! The touch interface is really suitable for drawing tree graphs like these.
- GrooveStomp 16y agoI completely agree. I was thinking about this some days ago, with regards to writing a Lisp-like macro system in a new language, and this idea of graphically manipulating ASTs came to mind.
- vito 16y agoSomething like this?: http://lispgamesdev.blogspot.com/2010/12/iosketch-progress-report.html http://lispgamesdev.blogspot.com/2010/12/iosketch-progress-r...
- andreyf 16y agoCould this be done in a 3D environment, with pinch to zoom in/out to see a view without the details of the AST?