sponsor Vim development Vim logo Vim Book Ad

Mercury compiler support : Ftplugin, syntax and supplemental plugin for Mercury compiler

 script karma  Rating 4/1, Downloaded by 652  Comments, bugs, improvements  Vim wiki

created by
Sergey Khorev
 
script type
utility
 
description
This is a set of Vim plugins to simplify work with Mercury language compiler
(http://www.mercury.csse.unimelb.edu.au)
Native Mercury installer for Windows can be found here:
http://code.google.com/p/winmercury

Filetype plugin is a modified version of ftplugin from officical Mercury distribution. Syntax plugin is a copy of official plugin

mercury_commands plugin provides convenience commands for Mercury compiler:

:Mmc [arg1]... - Invoke compiler (mmc), using current file when no arguments passed.
:Mmake [arg1]... - Invoke mmake (mmake.bat on Windows).
:Mmerr - Show last output from :Mmc or :Mmake.
:Mmod name [interface_imports]
:Mmod name {interfaceimports} [implementation_imports] - Insert module template, interface_imports and implementation_imports are comma-separated lists of modules.
:Mmain name [interface_imports]
:Mmain name {interfaceimports} [implementation_imports] - Insert module template containing the `main' predicate

I am not actively using and developing it anymore. Feel free to fork it on https://bitbucket.org/khorser/vim-mercury or https://github.com/khorser/vim-mercury
 
install details
It is packed as a Vimball, so do steps below:
vim Mercury.vba
:so %
:q
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Mercury.vba 1.0 2010-01-07 7.0 Sergey Khorev Initial upload
ip used for rating: 52.15.112.69

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github