5

Are there any IDE's or editors that support Mercury besides emacs?

None
  • 3,875
  • 7
  • 43
  • 67

3 Answers3

6

Distributed with Mercury is a syntax highlighting file for vim. This is the only official editor support. See the vim directory in the compiler's source distribution.

People say that prolog-mode for Emacs also supports Mercury, I tried this and discovered that it didn't handle Mercury specific syntax at all, and therefore was no better than using any other emacs mode.

Personally I use vim with syntax highlighting.

Paul Bone
  • 802
  • 4
  • 9
0

We have recently released a simple plugin for eclipse to help editing Mercury files and using along Java projects. Please take a look at it if you have Mercury under Linux and meets your requirements. Any feedback is welcome. :)

You can find it here: http://kai.mercury.mind-era.com

Gábor Bakos
  • 8,982
  • 52
  • 35
  • 52
0

Codeblocks could probably be made to work with Mercury. It doesn't directly support syntax highlighting for this language but you can create a custom lexer for it. Getting codeblocks' build system to work with the mmc compiler is just a matter of tweaking the 'advanced options' under Compiler and debugger settings.

greatwolf
  • 20,287
  • 13
  • 71
  • 105
  • I looked at the page and it says the languages have to be supported by scintilla. And Mercury doesn't seem to be. – None Jun 20 '11 at 02:59