News for hackers. Stuff that matters.
Re:Design of a Vim-like text editor by spain on Friday January 02, 2015 @12:02PM (#8827477)
How about an embedded Lisp interpreter?
Re:Design of a Vim-like text editor by black_knight on Friday January 02, 2015 @02:11PM (#8828029)
I have come to favour the Acme[1] approach of having a virtual file system to interact with the editor, so that you can write compatible scripts in any language!

[1] http://research.swtch.com/acme

Re:Design of a Vim-like text editor by gnuvince on Friday January 02, 2015 @09:17PM (#8829657)
That sounds like a mighty good idea to me. Not a fan of the Acme interface, but the idea of exposing the editor API through the filesystem means that there is no war like Emacs Lisp vs Scheme in the Emacs world (an no people suggesting that we should switch to JavaScript): people will write plugins in any language they damn please, and they can even follow trends (Go this year, Rust next year, and OCaml from 2017 forth).
Re:Design of a Vim-like text editor by aidenn0 on Saturday January 03, 2015 @09:55AM (#8830847)
IIRC neovim exposes it via a socket which allows similar behavior.
Re:Design of a Vim-like text editor by agumonkey on Friday January 02, 2015 @12:31PM (#8827591)
At one point, REPL first editors (ipython notebooks, etc) will meet edition based IDE (them) in an essential cosmic spark and nothing will ever be the same ever again.
Re:Design of a Vim-like text editor by tinco on Friday January 02, 2015 @12:49PM (#8827679)
Isn't that LightTable? I think they discovered actually everything would remain largely the same.
Re:Design of a Vim-like text editor by agumonkey on Friday January 02, 2015 @01:21PM (#8827817)
Good point, how could I forgot LT...
Re:Design of a Vim-like text editor by mej10 on Friday January 02, 2015 @01:00PM (#8827738)
IntelliJ sort of has this for Scala. Scala Worksheets. They are more useful than a REPL, but not quite to iPython in terms of features (mainly because they aren't browser based). But they also have some advantages over iPython (like integrating many of the IDE features).
Re:Design of a Vim-like text editor by Fede_V on Friday January 02, 2015 @01:36PM (#8827879)
PyCharm now offers the ability to open iPython notebooks inside itself - which gives you the nice IDE goodies, plus the notebook goodies.

The downside of course is that Python is very dynamic - so IDEs are of relatively limited use.

Re:Design of a Vim-like text editor by mdaniel on Friday January 02, 2015 @06:24PM (#8829143)
The downside of course is that Python is very dynamic - so IDEs are of relatively limited use.

I am surprised to hear you say that with "PyCharm" being the first word in your comment. We have had very good experiences with PyCharm + reStructuredText annotations to help it when the return type or arg type is not inferable. Just like its IJ friend, PyCharm has caught quite a few bugs and helps the team edit Python and not text.

PyCharm's usage is not optional on my team; we tried the "use whatever text editor you want" approach and it turns out that people are not as good at memorizing the type signatures of a complicated codebase as computers are.

Re:Design of a Vim-like text editor by agumonkey on Friday January 02, 2015 @01:29PM (#8827856)
Yeah everybody is approaching the solution from their angle, I just wondered if there was a center.
Re:Design of a Vim-like text editor by UNIXgod on Friday January 02, 2015 @12:21PM (#8827551)
Sort of a lisp 1.5 with scheme style syntax. They could opt in within the rc file to allow users not interested to ignore it. Would be closer to the original vi then.
Re:Design of a Vim-like text editor by Crito on Friday January 02, 2015 @01:55PM (#8827959)
That's probably not in line with the suckless way.
Re:Design of a Vim-like text editor by UNIXgod on Friday January 02, 2015 @03:36PM (#8828394)
I curious their philosophy (less is more?). I used dwm for a bit and still use a personally hacked inspired from dwm console derived dvtm, also by Marc iirc. If their going towards UNIX philosophy concepts it will be nice to hack a post config to extend it with personal my schemes and nda|dfa regex engines. This looks like a nice project. Looking forward to watching it.
Re:Design of a Vim-like text editor by Crito on Friday January 02, 2015 @04:08PM (#8828559)
They actually have a philosophy page which explains it: http://suckless.org/philosophy

It basically boils down to minimalism (in general) with an emphasis on minimalist code instead of minimalist UX/UI (whenever the two conflict).

Re:Design of a Vim-like text editor by wtracy on Friday January 02, 2015 @12:35PM (#8827609)
Well, there is a vim mode for emacs.
Re:Design of a Vim-like text editor by UNIXgod on Friday January 02, 2015 @02:02PM (#8827981)
I grew up with the one which didn't have the letter 'm' in it. The lisp/scheme concept could be seen as an alternative to vim/script for embedding/extending where the opt-in was meant for posix ex/regex programmers as an alternative to non vi modality with recursive expression via either McCarthy or Kleene closures and styles of programming with or without /term(cap|info)/ databases.