views:

591

answers:

3

I'm having to write a whole bunch of SML code this coming week so I was hoping if anyone knew:

  1. A good Standard ML IDE?
  2. Or a good text editor for Linux that has code-highlighting for SML? I know Geany and Gedit don't.

If you work with SML, what do you use?

+1  A: 

Well I use http://www.smlnj.org/doc/Emacs/sml-mode.html

Of course saying that Emacs is a possibility for editing a language kind of goes without saying.

This mode does have good support for code editing and compiling. For instance you can call the compiler and stepping through compiler errors via: M-x run-sml and C-x '

chollida
+1  A: 

GVim / Vim has syntax highlighting for SML. GEdit has syntax highlighting for OCaml whch has similar syntax. Was good enough for me. Ocaml is also a good pastebin choice for ML-based languages.

Wolfslack
The problem with vim's built in sml syntax highlighting, is that it's not very accurate for sml/nj. I was hoping maybe someone had .vim file for sml/nj
icco
+1  A: 

there is a plugin for eclipse available here: http://www.cs.unc.edu/~narain/projects/mldev/

coffeejunk