thumbnail

Editing SML and XML

  with a text editor

You can write scripts with the script editors provided in TNTmips or in your favorite text editor. Following are a few text editors offering SML syntax highlighting.

VIM

Using VIM, your SML will be chromacoded to help readability as this sample from one of our sample scripts plainly shows. Additionally VIM is handy for editing VRML, HTML even C ! 

If you don't already have VIM and you edit SML you can get it here.

Installing the SML Configuration Files for VIM

  1. download the configs 
  2. unzip sml.vim and syntax.vim
  3. replace the sml.vim in syntax folder (usually c:\vim\vim61\syntax) with the one provided.
  4. If you have an older version of vim and don't want to upgrade it for some reason replace the default syntax.vim with ours. Vim 6.1 comes configured to recgonize files ending in .sml, but treat them as another language.

TextPadTextPad

TextPad (from Helios Software Solutions, www.textpad.com) is another general purpose editor well suited for use with SML and XML files.

UltraEdit

UltraEdit (from IDM Computer Solutions, www.ultraedit.com) is another general purpose editor well suited for use with SML and XML files.   There are versions of UltraEdit for French, German, Korean, and Spanish.

Hydra for Mac OS X 10.3 or higher

Hydra is a collaborative distributed text editor, combining the simplicity of TextEdit and the power of Rendezvous. Hydra features true simultaneous editing for multiple users allowing them to share documents on a local network (with Rendezvous) or on the internet.