TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Emacs + Vim + Haskell = Yi

40 点作者 critic大约 16 年前

3 条评论

jrockway大约 16 年前
Not quite. If you're a seasoned Emacs (or presumably Vim) user, you will know it's not Emacs or Vim within about five minutes. It is nicer than vi or mg, though, and it starts up really fast.<p>Yi does provide great facilities for implementing these features, however. Syntax highlighting is done by proper incremental parsing instead of flaky regexps. Emacs has tried this, but honestly, Emacs Lisp runs way too slowly for this to work. Yi seems to handle pretty big files with good performance, which is very nice to see. Hopefully "extensible" major modes are finally nearby. (If you've ever read cperl-mode.el, you'll see why regexps are a bad choice for implementing syntax highlighting.)<p>Although it is not my current editor of choice, I think Yi is a better "way forward" than continuing to let the C-based GNU Emacs platform live on. Emacs' great strength is the hundreds of thousands of lines of Lisp code it bundles. Emacs' weakness is that it wants to support that code forever, even though it makes modern features like concurrency impossible to implement. My plan is to add compartments to Yi that will emulate Emacs and run Emacs Lisp code. This will let you edit with simple.el's editing features, or check your mail in Gnus... without having the "real" Emacs around. Then, when you want more modern features, you can start porting the legacy Emacs Lisp code to run on Yi directly. This is better than the usual "let's reimplement emacs" plan of "let's throw away everything!". (This is why you are currently using GNU Emacs or XEmacs and not SXEmacs or the one written in CL. It's too hard to rewrite everything all at once.)
评论 #498091 未加载
评论 #498566 未加载
drsnyder大约 16 年前
The righteous editor!
schtog大约 16 年前
so can it run a repl?
评论 #498270 未加载