寻找OCaml IDE [英] Looking for 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.
- 已安装IDEA,添加了OCamL插件 - >不起作用
- 安装eclipse ODT插件 - >无法启动甚至配置OCamL编译器 - 太复杂了
- 甚至尝试过NetBeans插件很久以前但是甚至无法处理它。
所以,现在,我正在使用ocamlc -omain .exemain.ml来自命令shell和不同的光编辑器。我不使用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:
- 改进的语法着色
- 自动完成标识符( experimental )
- 浏览标识符:显示类型和注释,转到定义,在备用定义和语义grep之间循环;
- 严格保留语义,本地和整个程序重构:
- 重命名标识符和编译单元
- 打开消除和参考简化
- Improved syntax coloring
- Auto-completion of identifiers (experimental)
- Browsing of identifiers: show type and comment, go to definition, cycle between alternate definitions, and semantic grep;
- Strictly semantic-preserving, local and whole-program refactoring:
- renaming identifiers and compilation units
- open elimination and reference simplification
网站上有一些屏幕截图。第一个候选版本从昨天开始。
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屋!