寻找 OCaml IDE [英] Looking for OCaml IDE

查看:15
本文介绍了寻找 OCaml IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢 F#,但有时我需要一些轻量级和跨平台的东西,而且肯定不需要 .NET.我多次尝试使用 OCamL,但似乎无法启动它.

I like F# but sometimes I need something light and cross-platform and without .NET for sure. I tried to use OCamL many times but seems like I just can't start it.

  1. 安装了 IDEA,添加了 OCamL 插件 -> 不起作用
  2. 已安装 eclipse ODT 插件 -> 甚至无法启动配置 OCamL 编译器 - 太复杂了
  3. 很久以前就尝试过 NetBeans 插件,但还是无法处理.

所以,现在,我在命令 shell 和不同的灯光编辑器中使用 ocamlc -o "main.exe" "main.ml".我不使用 Vim 或 Emacs,我使用的是 nano,而且我有使用全功能 IDE 的习惯.

So, for now, I'm using ocamlc -o "main.exe" "main.ml" from the command shell and different light editors. I don't use Vim or Emacs, I'm using nano and I have a habit of usage full-featured IDEs.

我找到了各种文档(这看起来是最好的开始http://caml.inria.fr/pub/docs/oreilly-book/html/index.html 对我来说)但在寻找一些特定的类似 sqlite 访问的东西时仍然感到困惑.发现这个: http://neugierig.org/software/ocaml/sqlite/ 奇怪api 注释,没有示例.而且我发现的所有关于 IDE 使用的文档都已过时或不起作用.

I found various documentation (this is looking like the best to start http://caml.inria.fr/pub/docs/oreilly-book/html/index.html for me) but still being confusing when looking for something a bit specific alike sqlite access. found this: http://neugierig.org/software/ocaml/sqlite/ with strange api annotation and no examples. And all the documentation about IDE usage I found are outdated or doesn't work.

加法子问题:有人告诉我不要使用 OCamL,它对于库支持低的学生来说是一种死语言,而且似乎快要死了,改用 python 或 ruby​​".但我喜欢 OCamL 的美丽.我想试一试.告诉我今天将 OCamL 用于生产代码是否正常?

Addition subquestion: some people told me "don't use OCamL, it's a dead language for students with low libraries support and seems like dying, use python or ruby instead". But I like the beauty of OCamL. I want to give it a try. Tell me if that is normal to use OCamL for production code today?

谢谢.

推荐答案

TypeRex,OCaml 的新开发环境.以下是 TypeRex 功能的总结:

There is TypeRex, a new development environment for OCaml. Here is a summary of TypeRex features:

  • 改进的语法着色
  • 标识符的自动补全(实验性)
  • 浏览标识符:显示类型和注释、转到定义、在替代定义之间循环以及语义 grep;
  • 严格保留语义、局部和整个程序的重构:
    • 重命名标识符和编译单元
    • 开放式消除和引用简化

    网站上有一些屏幕截图.自昨天以来,第一个候选版本已经发布.

    There are some screenshots available on the website. The first release candidate is out since yesterday.

    编辑:第一个版本 (v1.0) 现已发布 :-)

    EDIT: The first release (v1.0) is out now :-)

    这篇关于寻找 OCaml IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆