News for hackers. Stuff that matters.
Re:Emacs Is Not Enough by lenkite on Saturday January 14, 2023 @08:03AM (#34380000)
Basically, when you say 'structural editing', do you mean making a a parse tree for every kind of input and having a modal command language that permits traversal and editing of that parse tree. Like what sapling https://github.com/kneasle/sapling is attempting to do ?
Re:Emacs Is Not Enough by some-mthfka on Saturday January 14, 2023 @08:12AM (#34380058)
Nope. Parsing isn't even necessary for most things I want to do. Moreover, I don't really care for trees: any objects, any structures, any source can be used. There will be a common interface for it (like jump to the next semantic unit or search a lisp object). But any object can have it's own programmatic interface, and not all objects need to implement all of the interface (e.g. a read-only object).

I have expounded the point about structural editing (tangentially) on some other comments here, in this top-level thread (unless you want to read the article [1]).

[1] https://project-mage.org/the-power-of-structure