除了 Emacs 之外,还有什么好的 Lisp 编程编辑器吗?

发布于 2024-07-08 02:18:21 字数 1560 浏览 7 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(16

夏末 2024-07-15 02:18:22

使用DrScheme。 它具有您可能期望的所有标准键绑定。 这里是我使用它的笔记。 是的,它是为Scheme构建的,但也许它对你来说会很有效。

Use DrScheme. It has got all of the standard keybindings that you might expect. Here are my notes on using it. Yes, it is built for Scheme, but maybe it would work well for you.

瞄了个咪的 2024-07-15 02:18:22

尝试 LispIDE。 这有点初级,但可能会为您带来一些改善。

Try LispIDE. It's kind of rudimentary but may improve things a bit for you.

故笙诉离歌 2024-07-15 02:18:22

你想要使用的不仅仅是emacs,还有SLIME。 SLIME 可以让你连接到 Lisp REPL(运行 Swank 后端)。 您可以连接到服务器进程并开始与其交互。 看看 SLIME 主页

It's not just emacs you want to use, it's also SLIME. SLIME will let you connect to a Lisp REPL (running the Swank back-end). You can connect to a server process and start interacting with it. Take a look at the SLIME homepage

滥情哥ㄟ 2024-07-15 02:18:22

Zeus 程序员编辑器有一个可配置的语法突出显示器,因此应该可以将其配置为 Lisp 突出显示。

Zeus 甚至具有 Emacs 键盘模拟模式,并且完全可编写脚本,但不幸的是它不能在 Lisp 中编写脚本;)

已编辑:作为回应 Luís Oliveira 评论:他正在寻找 Lisp IDE。

Zeus 确实有项目/工作空间管理,编译器/链接器/工具支持、类浏览、代码完成、集成版本控制,就像很多 IDE 一样。

但 Zeus 不仅仅是一个 IDE,因为它提供了 IDE 的许多功能,而不依赖于任何一种特定语言,事实上就像 Emacs 一样。

The Zeus programmers editor has a configurable syntax highlighter so it should be possible to configure it for Lisp highlighting.

Zeus even has a Emacs keyboard emulation mode and is fully scriptable, but unfortunately it is not scriptable in Lisp ;)

Edited: In response Luís Oliveira comments: He's looking for a Lisp IDE.

Zeus does have project/workspace management, compiler/linker/tool support, class browsing, code completion, integrated version control, just like a lot of IDEs.

But Zeus is more than an IDE because it provides a lot of the functionality of an IDE without being tied to any one particular language, in fact just like Emacs.

空心空情空意 2024-07-15 02:18:22

除了 emacs 之外,我长期以来一直试图为我的方案代码找到一个好的编辑器,但即使使用 emacs tringer foubles,它仍然是最好的。 jEdit 是第二好的,但这有点像在说蛋糕、锯末和泥土之间的选择,锯末是第二好的。

具有 paredit 模式的 Emacs 只是拥有 s 表达式的结构化编辑。 添加高亮括号模式,效果会更好。

使用 emacs 的好处是,编辑器扩展语言是 lisp,所以这是学习 lisp 的好方法。

I tried for long to find a good editor for my scheme code besides emacs, but even with emacs tringer foubles, it was still the best. jEdit was the second best, but its kind of like saying that the choices between cake, sawdust and dirt, the sawdust was second best.

Emacs with paredit mode just owns for structured editing of s expressions. Add to that the highlight parens mode, and it gets even better.

The thing about using emacs, is that the editors extensions language is lisp, so it is a great way to learn lisp.

倒数 2024-07-15 02:18:22

看看这个问题

https://stackoverflow.com/questions/22850/getting-started-with- lisp

它提到的一件事是在 Eclipse 内部运行的 CUSP

另外,如果你正在做Scheme(你没有说你指的是哪个Lisp),我支持DrScheme的推荐。

Take a look at this question

https://stackoverflow.com/questions/22850/getting-started-with-lisp

One thing it mentions is CUSP which runs inside Eclipse.

Also if you are doing Scheme (you don't say which Lisp you are referring to), I second the recommendation of DrScheme.

拧巴小姐 2024-07-15 02:18:22

我怀疑几乎所有编写 LISP 程序的人都会使用 emacs。 如果您必须与真正的 LISP 程序员一起工作,您可能会将自己置于不利地位。

此外,一个好的程序员不应该被任何一个编辑器束缚。 了解如何在没有基于 Windows 的按键加速的情况下进行处理。

I suspect that nearly anyone that programs LISP will use emacs. You may be putting yourself at a disadvantage if you ever have to work with real LISP programmers.

Additionally, a good programmer should not be tied to any one editor. Learn to deal without Windows-based key acceleration.

如梦亦如幻 2024-07-15 02:18:22

除了已经提到的CUSP之外,还有ABLE,一个相对简单的 Lisp 编辑器,带有 REPL 集成和其他东西。 就我个人而言,我没有使用它的经验,因为我对 SLIME 很满意。

In addition to CUSP, which has been mentioned, there's also ABLE, a relatively simple Lisp editor with REPL integration and stuff. Personally, I don't have experience using it as I'm happy with SLIME.

心凉怎暖 2024-07-15 02:18:22

毫无疑问,我在这方面有点晚了,但是普通的旧 vi(1) --- 常规遗留 vi --- 工作得很好,有括号匹配和至少一些基本的 s-exp 东西。 设置您的 EXRC 以使用

:set ai lisp aw

它不是 SLIME,但它是某种东西。

I'm undoubtedly a little late on this, but plain old vi(1) --- regular legacy vi --- works quite well, with paren matching and at least some basic s-exp stuff. Set up your EXRC to use

:set ai lisp aw

It's not SLIME, but it's something.

又怨 2024-07-15 02:18:22

一些商业 Lisp 系统(Allegro CL、LispWorks、Corman CL)带有自己的编辑器。 通常,人们可以在特定于平台的键绑定和类似 Emacs 的键绑定之间进行选择。

Some commercial Lisp systems (Allegro CL, LispWorks, Corman CL) are coming with their own editors. Typically one can choose between platform specific keybindings and Emacs-like keybindings.

半暖夏伤 2024-07-15 02:18:22

如果您有 Mac,我会推荐 Aquamacs,它是 GNU-emacs 的初学者友好版本,因此具有 emacs 的所有功能,同时仍然提供“标准”复制粘贴、保存和其他功能,包括普通文件对话框和窗口。

If you have a Mac, I would recommend Aquamacs, which is a beginner-friendly version of GNU-emacs, and therefore has all the power of emacs, while still offering "standard" copy-paste, save and other features, including normal file dialogs and windows.

葵雨 2024-07-15 02:18:22

有人说,除了 emacs 之外,没有什么好的编辑器可以用于任何东西。 我确信您会在这里找到其中的一些(尽管我是 vim 粉丝)。

vim 宏语言是一种功能强大的宏语言,它可以让您运行外部程序(包括当前编辑缓冲区中的程序)。

但是,如果您习惯了 Notepad++,您可能会发现迁移到 vim 和迁移到 emacs 一样困难,所以也许您提出的解决方案是最好的解决方案。

There are those that say there are no good editors for anything, other than emacs. I'm sure you'll find a few of them here (although I'm a vim fan).

The vim macro language is a powerful one which can let you run external programs (including the one in the current edit buffer).

But, if you're used to Notepad++, you'll probably find it as hard to move to vim as you would to emacs, so maybe your proposed solution is the best one.

孤寂小茶 2024-07-15 02:18:22

尝试 McCLIM、newlisp

http://www.cliki.net/IDE

try McCLIM, newlisp

http://www.cliki.net/IDE

梦年海沫深 2024-07-15 02:18:22

另一件事 - Notepad++ 支持
LISP 语法着色,但它没有
有一个集成的 LISP 控制台,例如
emacs 可以。 就这样好吗?
有一个 Notepad++ 窗口和一个命令
线窗口打开,并排,并且
随时使用命令行
运行我的程序?

是的! 不过,请利用 ASD,并在进行更改后重新加载系统。

不要每次都重新启动您的映像。

不过,如果您想要 REPL 集成,请尝试 Eclipse/Cusp 或 Limp。

Another thing - Notepad++ supports
LISP syntax coloring, but it doesn't
have an integrated LISP console like
emacs does. Would it be fine to just
have a Notepad++ window and a Command
Line window open, side-by-side, and
use the command-line whenever I want
to run my program?

Yes! Take advantage of ASD though and just reload the system after making changes.

Don't restart your image every time.

Do try Eclipse/Cusp or Limp if you want REPL integration, though.

无声无音无过去 2024-07-15 02:18:22

Emacs 不再像以前那样怪异和不友好了。 根据您喜欢的平台,有两种现代的、更新的 Emacs 实现以及更熟悉的用户界面。

如果您是 Mac OS X 用户,更精致的是 Aquamacs

如果您更喜欢 Linux 或 Windows,那么还有 Xah Lee 的 ErgoEmacs

两者都是 FOSS,可以免费下载。

Emacs is not as weird and unfriendly as it once was. Depending on what platform you prefer, there are two modern, updated Emacs implementations with more familiar user interfaces.

If you are a Mac OS X user, the more polished is Aquamacs:

If you prefer Linux or Windows, then there is Xah Lee's ErgoEmacs:

Both are FOSS and free to download.

鹊巢 2024-07-15 02:18:21

首先,箭头键​​在 Emacs 上应该可以正常工作。 (Emacs 顽固分子会告诉您 Ctrl-f/b/p/n 更好,但您不必听他们的。)如果它们默认不起作用,则说明有问题。

最新版本的 Emacs 附带了 cua 模式,这将使所有其他常见快捷键(例如用于剪切-复制-粘贴的 Ctrl-x/c/v、用于选择的 Shift-箭头等)也可以工作。 如果默认情况下它们不起作用,请键入“Mx(大多数键盘上的 Alt-x)cua-mode”。

一般来说,如果您希望特定的击键调用某个功能,则键入 Mx global-set-key [hit Return] [击中击键] [键入函数名称],例如 Mx global-set-key RET [击中向下箭头]下一行RET。

Emacs 是由 Lisp 程序员为 Lisp 开发的,它是 Lisp 最好的编辑器,因为它几十年来一直是标准的 Lisp 编辑器,并且每一个改进的想法都得到了实现。

Firstly, the arrow keys should work just fine on Emacs. (Emacs die-hards will tell you Ctrl-f/b/p/n are preferable, but you don't have to listen to them.) If they don't work by default, something is wrong.

Recent versions of Emacs come with cua-mode, which will make all the other common shortcuts like Ctrl-x/c/v for cut-copy-paste, shift-arrows to select, and so on work as well. If they don't work by default, type "M-x (that's Alt-x on most keyboards) cua-mode".

In general, if you want a particular keystroke to invoke a certain function, then type M-x global-set-key [hit Return] [hit the keystroke] [type name of function], e.g. M-x global-set-key RET [hit the down arrow] next-line RET.

Emacs was made for Lisp by Lisp programmers, and it is the best editor for Lisp simply on account of having been the standard Lisp editor for decades and having every idea for improvement been implemented.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文