
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
- download the configs
- unzip sml.vim and syntax.vim
- replace the sml.vim in syntax
folder (usually
c:\vim\vim61\syntax ) with the one provided. - 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.
TextPad
TextPad (from Helios Software Solutions, www.textpad.com) is another general purpose editor well suited for use with SML and XML files.
-
Download SML config for TextPad
-
Download XML config for TextPad.
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.
- View Screenshot
-
Download SML taglist for UltraEdit
-
View Syntax Highlighting documentation for UltraEdit.
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.
- view screenshot