Mercury compiler support : Ftplugin, syntax and supplemental plugin for Mercury compiler
| script karma |
Rating 4/1,
Downloaded by 811 |
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
|
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.208
|