OCaml 是否有增强的解释器 toploop?

发布于 2024-08-13 10:14:25 字数 174 浏览 1 评论 0原文

Python 有 IPython .. OCaml 有类似的东西吗?

我非常希望有命令历史记录,尽管其他功能也很好。我读过,我可以通过在 Emacs 中运行它来获取命令历史记录,但我不使用 Emacs..

Python has IPython.. does OCaml have anything similar?

I'd very much like to have command history, although other features would be nice too. I've read that I could get command history by running it in Emacs, but I don't use Emacs..

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

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

发布评论

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

评论(4

欢你一世 2024-08-20 10:14:26

rlwrap 为您提供 readline 功能(历史记录、编辑命令等)。另外,Findlib 添加了一些功能,请参阅quickstart 例如。

rlwrap gives you readline features (history, editing commands, etc). Also, Findlib adds some functionality, see the quickstart for examples.

分開簡單 2024-08-20 10:14:26

utop!它具有自动完成功能,与 emacs 兼容等等。

There's utop! It has autocompletion, is emacs compatible and so on.

洒一地阳光 2024-08-20 10:14:26

ledit ocamlledit 结合使用。

Use ledit ocaml with ledit.

别在捏我脸啦 2024-08-20 10:14:26

您还可以使用在线toplevel

You can also use the online toplevel.

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