Take a look at the E editor, it marries Vim's exceedingly efficient editing language with semantically meaningful text objects.
http://en.wikipedia.org/wiki/E_Text_Editor
(The website seems to be down, which is a shame)
Or if you have days to burn, emacs+paredit+evil can russtle quite a few jimmies if you take the time to define some custom keybindings for it.
The significant development there is to efficiently work with ASTs for the different languages. Maybe the only reason that kind of implementation isn't shared is because it is typically rolled into commercial IDEs rather than being opened up and exposed in a way that is accessible to existing editors.
Ah, nevermind. I totally misread your comment. Not deleting my comment for the link to the Paredit video.
Paredit would be a step in that direction: http://emacsrocks.com/e14.html
I also recall editors of old having that functionality (Zmacs?).
Paredit is super great, indeed. Lisp is perfect for this sort of thing.
Re:The language of Vim
by stcredzero on Thursday March 28, 2013 @02:35PM
(#5456762)
I think that's genius! Languages have parallel syntax structures in common, more often than anything else!
so have I got a deal for you :) Anyway, my recently published "nestgrid" framework is precisely that (among other possible uses). A mix of xml editor, spreadsheet, direct manipulation of objects ui, and all around cool thing; flash demo included. See http://nestgrid.wordpress.com/nestgrid-paper/
EDIT: fixed url as per @nocman's advice.
You muffed the URL -- here's the one that works
http://nestgrid.wordpress.com/nestgrid-paper/
:-D
(Of course, Vim does have text objects, which are fantastic - one of the chief reasons I use Vim. But they have limitations; I think you can go a lot further.)