Pygments is a generic syntax highlighter. Here is a lexer for highlighting Standard ML.
-
sml_lexer — Provides highlighting of keywords, special constants, and (nested) comments.
Install and use
-
Checkout all files and install as a Pygments plugin.
$ svn co svn://mlton.org/mlton/trunk/ide/pygments pygments $ cd pygments $ python setup.py install
-
Invoke pygmentize with -l sml.
Feedback
Comments and suggestions should be directed to MatthewFluet.